-
-
Save David-B55/d19ee077f087a2cd7f4a to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="UTF-8"?> | |
<rspec xmlns="https://github.com/fp7-ofelia/ocf/blob/ocf.rspecs/openflow/schemas/request.xsd" | |
xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" | |
xmlns:openflow="http://www.geni.net/resources/rspec/ext/openflow/3" | |
xs:schemaLocation="http://www.geni.net/resources/rspec/3 | |
https://github.com/fp7-ofelia/ocf/blob/ocf.rspecs/openflow/schemas/request.xsd | |
http://www.geni.net/resources/rspec/3/request.xsd | |
http://www.geni.net/resources/rspec/ext/openflow/3 | |
http://www.geni.net/resources/rspec/ext/openflow/3/of-resv.xsd" | |
type="request"> | |
<openflow:sliver email="d.butterworth@lancaster.ac.uk" description="MEVDDS-SimpleOF"> | |
<openflow:controller url="tcp:10.216.12.43:6633" type="primary"/> | |
<openflow:group name="fs1"> | |
<openflow:datapath component_id="urn:publicid:IDN+openflow:i2cat.ofam+datapath+00:10:00:00:00:00:00:01" component_manager_id="urn:publicid:IDN+openflow:i2cat.ofam+cm" dpid="00:10:00:00:00:00:00:01"> | |
<openflow:port num="4" name="GBE0/4"/> | |
<openflow:port num="12" name="GBE0/12"/> | |
</openflow:datapath> | |
<openflow:datapath component_id="urn:publicid:IDN+openflow:i2cat.ofam+datapath+00:10:00:00:00:00:00:04" component_manager_id="urn:publicid:IDN+openflow:i2cat.ofam+cm" dpid="00:10:00:00:00:00:00:04"> | |
<openflow:port num="1" name="GBE0/1"/> | |
<openflow:port num="12" name="GBE0/12"/> | |
</openflow:datapath> | |
</openflow:group> | |
<openflow:match> | |
<openflow:use-group name="fs1" /> | |
<openflow:packet> | |
<openflow:dl_type value="0x800" /> | |
</openflow:packet> | |
</openflow:match> | |
</openflow:sliver> | |
</rspec> |
14:51:16 INFO omni: Substituting AM nickname i2catOF with URL https://137.222.204.27:5005/xmlrpc/sfa/, URN urn:publicid:IDN+openflow:i2cat:ofam+authority+cm | |
14:51:18 WARNING omni: Slice urn:publicid:IDN+wall2.ilabt.iminds.be+slice+mevdds expires in <= 3 hours | |
14:51:18 INFO omni: Slice urn:publicid:IDN+wall2.ilabt.iminds.be+slice+mevdds expires on 2014-08-08 14:53:50 UTC | |
14:51:18 INFO omni: Status of Slice urn:publicid:IDN+wall2.ilabt.iminds.be+slice+mevdds: | |
14:51:19 INFO omni: Slice urn:publicid:IDN+wall2.ilabt.iminds.be+slice+mevdds at AM https://137.222.204.27:5005/xmlrpc/sfa/ has overall SliverStatus: ready | |
14:51:19 INFO omni: Sliver status for Slice urn:publicid:IDN+wall2.ilabt.iminds.be+slice+mevdds at AM URL https://137.222.204.27:5005/xmlrpc/sfa/ | |
14:51:19 INFO omni: { | |
"geni_status": "ready", | |
"geni_urn": "urn:publicid:IDN+wall2.ilabt.iminds.be+slice+mevdds", | |
"geni_resources": [ | |
{ | |
"granted_flowspaces": [] | |
} | |
] | |
} | |
14:51:19 INFO omni: ------------------------------------------------------------ | |
14:51:19 INFO omni: Completed sliverstatus: |
<?xml version="1.0" encoding="UTF-8"?> | |
<!-- Rodoreda + March don't appear to work atm --> | |
<RSpec type="SFA" expires="2015-02-18T11:21:29Z" generated="2013-02-18T10:21:29Z"> | |
<network name="vt_ocf" slice=""> | |
<node component_manager_id="urn:publicid:IDN+i2cat:vtam+cm" component_id="urn:publicid:IDN+i2cat:vtam+node+Verdaguer" exclusive="false" component_name="urn:publicid:IDN+i2cat:vtam+node+Verdaguer"> | |
<sliver> | |
<name>ofcontr</name> | |
<uuid>ofcontr</uuid> | |
<project-id>mevdds</project-id> | |
<slice-id>testOF01</slice-id> | |
<slice-name>MEVDDS-SimpleOF</slice-name> | |
<operating-system-type>GNU/Linux</operating-system-type> | |
<operating-system-version>7.0</operating-system-version> | |
<operating-system-distribution>Debian</operating-system-distribution> | |
<server-id>Verdaguer</server-id> | |
<hd-setup-type>file-image</hd-setup-type> | |
<hd-origin-path>default/test/wheezy</hd-origin-path> | |
<virtualization-setup-type>paravirtualization</virtualization-setup-type> | |
<memory-mb>1024</memory-mb> | |
</sliver> | |
</node> | |
<node component_manager_id="urn:publicid:IDN+i2cat:vtam+cm" component_id="urn:publicid:IDN+i2cat:vtam+node+Verdaguer" exclusive="false" component_name="urn:publicid:IDN+i2cat:vtam+node+Verdaguer"> | |
<sliver> | |
<name>nodeC0</name> | |
<uuid>nodeC0</uuid> | |
<project-id>mevdds</project-id> | |
<slice-id>testOF01</slice-id> | |
<slice-name>MEVDDS-SimpleOF</slice-name> | |
<operating-system-type>GNU/Linux</operating-system-type> | |
<operating-system-version>7.0</operating-system-version> | |
<operating-system-distribution>Debian</operating-system-distribution> | |
<server-id>Verdaguer</server-id> | |
<hd-setup-type>file-image</hd-setup-type> | |
<hd-origin-path>default/test/wheezy</hd-origin-path> | |
<virtualization-setup-type>paravirtualization</virtualization-setup-type> | |
<memory-mb>1024</memory-mb> | |
</sliver> | |
</node> | |
<node component_manager_id="urn:publicid:IDN+i2cat:vtam+cm" component_id="urn:publicid:IDN+i2cat:vtam+node+Verdaguer" exclusive="false" component_name="urn:publicid:IDN+i2cat:vtam+node+Verdaguer"> | |
<sliver> | |
<name>nodeC1</name> | |
<uuid>nodeC1</uuid> | |
<project-id>mevdds</project-id> | |
<slice-id>testOF01</slice-id> | |
<slice-name>MEVDDS-SimpleOF</slice-name> | |
<operating-system-type>GNU/Linux</operating-system-type> | |
<operating-system-version>7.0</operating-system-version> | |
<operating-system-distribution>Debian</operating-system-distribution> | |
<server-id>Verdaguer</server-id> | |
<hd-setup-type>file-image</hd-setup-type> | |
<hd-origin-path>default/test/wheezy</hd-origin-path> | |
<virtualization-setup-type>paravirtualization</virtualization-setup-type> | |
<memory-mb>1024</memory-mb> | |
</sliver> | |
</node> | |
</network> | |
</RSpec> |
14:47:41 INFO omni: Substituting AM nickname ubrisOF with URL https://137.222.204.27:3626/sfa/2/, URN urn:publicid:IDN+openflow:univbris:ofam+authority+cm | |
14:47:43 WARNING omni: Slice urn:publicid:IDN+wall2.ilabt.iminds.be+slice+mevdds expires in <= 3 hours | |
14:47:43 INFO omni: Slice urn:publicid:IDN+wall2.ilabt.iminds.be+slice+mevdds expires on 2014-08-08 14:53:50 UTC | |
14:47:43 INFO omni: Status of Slice urn:publicid:IDN+wall2.ilabt.iminds.be+slice+mevdds: | |
14:47:43 INFO omni: Sliver status for Slice urn:publicid:IDN+wall2.ilabt.iminds.be+slice+mevdds at AM URL https://137.222.204.27:3626/sfa/2/ | |
14:47:43 INFO omni: { | |
"status": "Approved", | |
"slice_urn": "urn:publicid:IDN+wall2.ilabt.iminds.be+slice+mevdds", | |
"description": "MEVDDS-SimpleOF", | |
"created": "2014-08-08 13:10:55.961311+00:00", | |
"expires": "2014-08-08 14:53:50+00:00", | |
"sliver_urn": "urn:publicid:IDN+wall2.ilabt.iminds.be+slice+mevdds:bec618c9-dbeb-4c98-8109-8c1732c7a2de" | |
} | |
14:47:43 INFO omni: ------------------------------------------------------------ | |
14:47:43 INFO omni: Completed sliverstatus: |
Hi Matthew,
There are no errors on the request and the OF RSpecs are almost OK. Let me explain the workflow a little in order to clarify how the OF slices request work.
-
First of all, you need a controller. For this you can use a vwall VM, an i2CAT VTAM VM or a UNIVBRIS VTAM VM. I see that in the RSpec you set an IP from i2CAT, so this seems OK.
-
After that, you have to request a FS. This means you must specify:
- the ports of the switches you want
- which OpenFlow headers you want to filter for your FS (e.g. packet type).
At i2CAT the VLAN field is mandatory. I don't see this field in the request RSpec, thus you are requesting the whole VLAN range (0-4095), which implies collisions with other existing slices at i2CAT.
-
The third step is to approve the FS you requested, which must be done by us. Every time a new flowspace is requested we receive an alert, however we did not receive anything for your requests, so thank you for the feedback :)
When you call sliver status you only retrieve the approved FlowSpaces, not the requested ones. That's why you don't see anything after calling this method.
Please try to request again the FS with the VLAN field (find an example of how to do this below) and notify us so we can approve your FS.
Do not hesitate to contact us via mail until the problems are solved, for this or any other problem.
EXAMPLE OF REQUEST RSPEC (The controller and The VLAN may change)
<?xml version="1.0" encoding="UTF-8"?>
<rspec xmlns="https://github.com/fp7-ofelia/ocf/blob/ocf.rspecs/openflow/schemas/request.xsd"
xmlns:xs="http://www.w3.org/2001/XMLSchema-instance"
xmlns:openflow="http://www.geni.net/resources/rspec/ext/openflow/3"
xs:schemaLocation="http://www.geni.net/resources/rspec/3
https://github.com/fp7-ofelia/ocf/blob/ocf.rspecs/openflow/schemas/request.xsd
http://www.geni.net/resources/rspec/3/request.xsd
http://www.geni.net/resources/rspec/ext/openflow/3
http://www.geni.net/resources/rspec/ext/openflow/3/of-resv.xsd"
type="request">
<openflow:sliver email="d.butterworth@lancaster.ac.uk" description="MEVDDS-SimpleOF">
<openflow:controller url="tcp:192.168.12.13:6633" type="primary"/>
<openflow:group name="fs1">
<openflow:datapath component_id="urn:publicid:IDN+openflow:i2cat.ofam+datapath+00:10:00:00:00:00:00:01" component_manager_id="urn:publicid:IDN+openflow:i2cat.ofam+cm" dpid="00:10:00:00:00:00:00:01">
<openflow:port num="4" name="GBE0/4"/>
<openflow:port num="12" name="GBE0/12"/>
</openflow:datapath>
<openflow:datapath component_id="urn:publicid:IDN+openflow:i2cat.ofam+datapath+00:10:00:00:00:00:00:04" component_manager_id="urn:publicid:IDN+openflow:i2cat.ofam+cm" dpid="00:10:00:00:00:00:00:04">
<openflow:port num="1" name="GBE0/1"/>
<openflow:port num="12" name="GBE0/12"/>
</openflow:datapath>
</openflow:group>
<openflow:match>
<openflow:use-group name="fs1" />
<openflow:packet>
<openflow:dl_type value="0x800" />
<openflow:dl_vlan value="767"/>
</openflow:packet>
</openflow:match>
</openflow:sliver>
</rspec>
11:58:40 ERROR omni.protogeni: Call for Check AM properties at https://137.222.204.27:5001/xmlrpc/sfa/ failed. Server says: <Fault 1: "<type 'exceptions.TypeError'>:GetVersion() takes no arguments (1 given)">
11:58:40 ERROR omni: AM https://137.222.204.27:5001/xmlrpc/sfa/ failed getversion (empty): <Fault 1: "<type 'exceptions.TypeError'>:GetVersion() takes no arguments (1 given)">
AM https://137.222.204.27:5001/xmlrpc/sfa/ failed getversion (empty): <Fault 1: "<type 'exceptions.TypeError'>:GetVersion() takes no arguments (1 given)">
$ omni2.4 createsliver mevdds -a i2catVM i2catVM.rspec
11:46:35 INFO omni: Loading agg_nick_cache file '/home/david/.gcf/agg_nick_cache'
11:46:35 INFO omni: Loading config file /home/david/.gcf/omni_config
11:46:35 INFO omni: Using control framework pg
11:46:35 INFO omni: Substituting AM nickname i2catVM with URL https://137.222.204.27:5001/xmlrpc/sfa/, URN urn:publicid:IDN+i2catvtam+authority+cm
11:46:37 INFO omni: Slice urn:publicid:IDN+wall2.ilabt.iminds.be+slice+mevdds expires within 1 day on 2014-08-20 16:00:00 UTC
11:46:37 INFO omni: Creating sliver(s) from rspec file i2catVM.rspec for slice urn:publicid:IDN+wall2.ilabt.iminds.be+slice+mevdds
11:46:41 ERROR omni.protogeni: Call for Create Sliver urn:publicid:IDN+wall2.ilabt.iminds.be+slice+mevdds at https://137.222.204.27:5001/xmlrpc/sfa/ failed. Server says: <Fault 1: "<type 'exceptions.AttributeError'>:ldapManager instance has no attribute 'addModifyProjectUsers'">
11:46:41 WARNING omni: Failed CreateSliver for slice mevdds at https://137.222.204.27:5001/xmlrpc/sfa/. <Fault 1: "<type 'exceptions.AttributeError'>:ldapManager instance has no attribute 'addModifyProjectUsers'"> (missing result)
11:46:41 INFO omni: ------------------------------------------------------------
11:46:41 INFO omni: Completed createsliver:
Args: createsliver mevdds i2catVM.rspec
Result Summary: Failed CreateSliver for slice mevdds at https://137.222.204.27:5001/xmlrpc/sfa/. <Fault 1: "<type 'exceptions.AttributeError'>:ldapManager instance has no attribute 'addModifyProjectUsers'"> (missing result)
11:46:41 INFO omni: ============================================================
Feel free to get in touch with me directly at m.broadbent@lancaster.ac.uk, or drop a comment on here.