Experimental Control Tools for ORCA Control Framework Anirban
![Experimental Control Tools for ORCA Control Framework Anirban Mandal Renaissance Computing Institute (RENCI) Experimental Control Tools for ORCA Control Framework Anirban Mandal Renaissance Computing Institute (RENCI)](https://slidetodoc.com/presentation_image_h2/d3eceb2be05f8443e2f46f877649a31d/image-1.jpg)
Experimental Control Tools for ORCA Control Framework Anirban Mandal Renaissance Computing Institute (RENCI)
![Overview ORCA Framework Broker request ticket Experiment control tools / Users XML – RPC Overview ORCA Framework Broker request ticket Experiment control tools / Users XML – RPC](http://slidetodoc.com/presentation_image_h2/d3eceb2be05f8443e2f46f877649a31d/image-2.jpg)
Overview ORCA Framework Broker request ticket Experiment control tools / Users XML – RPC calls Slice Manager (SM) delegate redeem lease Authority/AM
![XML-RPC Controller • Goal: Provide an XML-RPC interface to ORCA for experiment control tools XML-RPC Controller • Goal: Provide an XML-RPC interface to ORCA for experiment control tools](http://slidetodoc.com/presentation_image_h2/d3eceb2be05f8443e2f46f877649a31d/image-3.jpg)
XML-RPC Controller • Goal: Provide an XML-RPC interface to ORCA for experiment control tools and external users + Interoperability • Tools/users would use this interface to • • — — — discover available resources instantiate experiment slivers check the status of the instantiated slivers renew the lease for existing slivers destroy and shutdown slivers Controller exposes a GENI-AM API like xml-rpc interface to users Caveats — Can’t support Rspec yet — Converter from/to NDL to/from RSpec to be integrated in near future — Credential management missing, authorization is through the ORCA portal running the xml-rpc controller
![Interface Details 0. Get. Version () ORCA Framework 1. List. Resources () 2. Advertisement Interface Details 0. Get. Version () ORCA Framework 1. List. Resources () 2. Advertisement](http://slidetodoc.com/presentation_image_h2/d3eceb2be05f8443e2f46f877649a31d/image-4.jpg)
Interface Details 0. Get. Version () ORCA Framework 1. List. Resources () 2. Advertisement NDL 3. create. Sliver (Request NDL) 4. Manifest handle - slice. ID Experiment control tools / Users X M L 5. sliver. Status (slice. ID) - 6. Manifest sliver details and status R P C 7. renew. Sliver (slice. ID, time) 8. delete. Sliver (slice. ID) 9. Shut. Down (slice. ID) Slice Manager (SM)
![Example Run – List. Resources() bash-3. 2$ python List. Resources. py Querying ORCA xml-rpc Example Run – List. Resources() bash-3. 2$ python List. Resources. py Querying ORCA xml-rpc](http://slidetodoc.com/presentation_image_h2/d3eceb2be05f8443e2f46f877649a31d/image-5.jpg)
Example Run – List. Resources() bash-3. 2$ python List. Resources. py Querying ORCA xml-rpc server for available resources. . . Advertisement RSpec/NDL of available resources <rdf: RDF xmlns: rdf=http: //www. w 3. org/1999/02/22 -rdf-syntax-ns# … <rdf: Description rdf: about="http: //geniorca. renci. org/owl/mass. rdf#UMass/Domain/Network. Service/1"> … <rdf: Description rdf: about="http: //geni-orca. renci. org/owl/ben 6509. rdf#Duke/Cisco/6509/Ten. Gigabit. Ethernet/g. B/1/ethernet"> … <rdf: Description rdf: about="https: //geniorca. renci. org/owl/renci. Net. rdf#Renci. Net/Juniper/3200/Gigabit. Ethernet/g. B/1/ethernet"> … <rdf: Description rdf: about="http: //geniorca. renci. org/owl/rencivmsite. rdf#Renci. VMSite/Domain/Switching. Matrix"> … </rdf: RDF>
![Example Run – create. Sliver() bash-3. 2$ python create. Sliver. py Contacting ORCA xml-rpc Example Run – create. Sliver() bash-3. 2$ python create. Sliver. py Contacting ORCA xml-rpc](http://slidetodoc.com/presentation_image_h2/d3eceb2be05f8443e2f46f877649a31d/image-6.jpg)
Example Run – create. Sliver() bash-3. 2$ python create. Sliver. py Contacting ORCA xml-rpc server for creating the sliver. . . Request NDL. . <? xml version="1. 0"? > <!DOCTYPE rdf: RDF [ <!ENTITY owl "http: //www. w 3. org/2002/07/owl#" > … ]> <rdf: RDF xmlns="http: //geni-orca. renci. org/owl/id. Request 4. rdf#" … <!-- http: //geni-orca. renci. org/owl/mass. rdf#UMass/Vise/Testbed --> … <!-- https: //geni-orca. renci. org/owl/uncvmsite. rdf#UNC/Euca --> … </rdf: RDF> <!-- Generated by the OWL API (version 2. 2. 1. 1101) http: //owlapi. sourceforge. net --> …
![Example Run – create. Sliver() bash-3. 2$ python create. Sliver. py Contacting ORCA xml-rpc Example Run – create. Sliver() bash-3. 2$ python create. Sliver. py Contacting ORCA xml-rpc](http://slidetodoc.com/presentation_image_h2/d3eceb2be05f8443e2f46f877649a31d/image-7.jpg)
Example Run – create. Sliver() bash-3. 2$ python create. Sliver. py Contacting ORCA xml-rpc server for creating the sliver. . . Request NDL. . [Prints the request NDL here] Request id: 399422 c 1 -99 ca-4 d 16 -8383 -a 5 aa 94 dd 2 c 50 [ Slice UID: f 7 ddd 977 -dc 01 -426 d-9 f 46 -f 9 db 356 ca 0 ee | Reservation UID: 1 d 12 ae 0 d-6705 -4 c 87 a 602 -83 e 9 f 74 b 28 c 2 | Resource Type: unc. vm | Resource Units: 2 ] [ Slice UID: f 7 ddd 977 -dc 01 -426 d-9 f 46 -f 9 db 356 ca 0 ee | Reservation UID: f 6 e 545 fb-82 be-4 b 7 dae 9 b-a 9 f 7259 f 6202 | Resource Type: starlight. vlan | Resource Units: 1 ] [ Slice UID: f 7 ddd 977 -dc 01 -426 d-9 f 46 -f 9 db 356 ca 0 ee | Reservation UID: 7 c 0 d 95 f 5 -0 b 2 b-43608248 -c 3 d 89 b 662 d 32 | Resource Type: unc. vlan | Resource Units: 1 ] [ Slice UID: f 7 ddd 977 -dc 01 -426 d-9 f 46 -f 9 db 356 ca 0 ee | Reservation UID: 6175 d 86 a-d 074 -4 bf 88 b 9 f-3 c 546666 db 3 a | Resource Type: vise. testbed | Resource Units: 1 ] [ Slice UID: f 7 ddd 977 -dc 01 -426 d-9 f 46 -f 9 db 356 ca 0 ee | Reservation UID: 7 b 1 b 8 edb-eca 2 -4318823 f-36 ad 3 d 682256 | Resource Type: nlr. vlan | Resource Units: 1 ] [ Slice UID: f 7 ddd 977 -dc 01 -426 d-9 f 46 -f 9 db 356 ca 0 ee | Reservation UID: dcc 2 aeb 6 -8900 -4 e 50 a 788 -22109 d 9 bec 48 | Resource Type: ben. vlan | Resource Units: 1 ] User uses the Slice UID to operate on the sliver
![Example Run – sliver. Status() bash-3. 2$ python sliver. Status. py Querying ORCA xml-rpc Example Run – sliver. Status() bash-3. 2$ python sliver. Status. py Querying ORCA xml-rpc](http://slidetodoc.com/presentation_image_h2/d3eceb2be05f8443e2f46f877649a31d/image-8.jpg)
Example Run – sliver. Status() bash-3. 2$ python sliver. Status. py Querying ORCA xml-rpc server for status of the sliver. . . ******************************* [ Reservation UID: 1 d 12 ae 0 d-6705 -4 c 87 -a 602 -83 e 9 f 74 b 28 c 2 | Resource | Status: Ticketed ] [ Manifest properties: Undetermined ] ******************************* [ Reservation UID: f 6 e 545 fb-82 be-4 b 7 d-ae 9 b-a 9 f 7259 f 6202 | Resource Units: 1 | Status: Ticketed ] [ Manifest properties: Undetermined ] ******************************* [ Reservation UID: 7 c 0 d 95 f 5 -0 b 2 b-4360 -8248 -c 3 d 89 b 662 d 32 | Resource 1 | Status: Active ] [ Manifest properties: … {unit. vlan. tag = 17} ] ******************************* [ Reservation UID: 6175 d 86 a-d 074 -4 bf 8 -8 b 9 f-3 c 546666 db 3 a | Resource Units: 1 | Status: Active ] [ Manifest properties: … ] ******************************* [ Reservation UID: 7 b 1 b 8 edb-eca 2 -4318 -823 f-36 ad 3 d 682256 | Resource 1 | Status: Active ] [ Manifest properties: … ] ******************************* [ Reservation UID: dcc 2 aeb 6 -8900 -4 e 50 -a 788 -22109 d 9 bec 48 | Resource 1 | Status: Ticketed ] [ Manifest properties: Undetermined ] Overall Sliver Status: pending Type: unc. vm | Units: 2 Type: starlight. vlan | Type: unc. vlan | Units: Type: vise. testbed | Type: nlr. vlan | Units: Type: ben. vlan | Units:
![Example Run – sliver. Status() bash-3. 2$ python sliver. Status. py Querying ORCA xml-rpc Example Run – sliver. Status() bash-3. 2$ python sliver. Status. py Querying ORCA xml-rpc](http://slidetodoc.com/presentation_image_h2/d3eceb2be05f8443e2f46f877649a31d/image-9.jpg)
Example Run – sliver. Status() bash-3. 2$ python sliver. Status. py Querying ORCA xml-rpc server for status of the sliver. . . ******************************* [ Reservation UID: 1 d 12 ae 0 d-6705 -4 c 87 -a 602 -83 e 9 f 74 b 28 c 2 | Resource | Status: Active ] … [Manifest properties here] ******************************* [ Reservation UID: f 6 e 545 fb-82 be-4 b 7 d-ae 9 b-a 9 f 7259 f 6202 | Resource Units: 1 | Status: Active ] … [Manifest properties here] ******************************* [ Reservation UID: 7 c 0 d 95 f 5 -0 b 2 b-4360 -8248 -c 3 d 89 b 662 d 32 | Resource 1 | Status: Active ] … [Manifest properties here] ******************************* [ Reservation UID: 6175 d 86 a-d 074 -4 bf 8 -8 b 9 f-3 c 546666 db 3 a | Resource Units: 1 | Status: Active ] … [Manifest properties here] ******************************* [ Reservation UID: 7 b 1 b 8 edb-eca 2 -4318 -823 f-36 ad 3 d 682256 | Resource 1 | Status: Active ] … [Manifest properties here] ******************************* [ Reservation UID: dcc 2 aeb 6 -8900 -4 e 50 -a 788 -22109 d 9 bec 48 | Resource 1 | Status: Active ] Overall Sliver Status: ready Type: unc. vm | Units: 2 Type: starlight. vlan | Type: unc. vlan | Units: Type: vise. testbed | Type: nlr. vlan | Units: Type: ben. vlan | Units:
![Example Run – delete. Sliver() bash-3. 2$ python delete. Sliver. py Contacting ORCA xml-rpc Example Run – delete. Sliver() bash-3. 2$ python delete. Sliver. py Contacting ORCA xml-rpc](http://slidetodoc.com/presentation_image_h2/d3eceb2be05f8443e2f46f877649a31d/image-10.jpg)
Example Run – delete. Sliver() bash-3. 2$ python delete. Sliver. py Contacting ORCA xml-rpc server to delete the sliver. . . True bash-3. 2$ python sliver. Status. py Querying ORCA xml-rpc server for status of the sliver. . . ******************************* [ Reservation UID: 1 d 12 ae 0 d-6705 -4 c 87 -a 602 -83 e 9 f 74 b 28 c 2 | Resource Type: unc. vm | Units: 2 | Status: Close. Wait ] … ******************************* [ Reservation UID: dcc 2 aeb 6 -8900 -4 e 50 -a 788 -22109 d 9 bec 48 | Resource Type: ben. vlan | Units: 1 | Status: Close. Wait ] … Overall Sliver Status: pending bash-3. 2$ python sliver. Status. py Querying ORCA xml-rpc server for status of the sliver. . . There are no reservations in the slice with slice. Id = f 7 ddd 977 -dc 01 -426 d-9 f 46 -f 9 db 356 ca 0 ee
![Questions Thank you. . 11 Questions Thank you. . 11](http://slidetodoc.com/presentation_image_h2/d3eceb2be05f8443e2f46f877649a31d/image-11.jpg)
Questions Thank you. . 11
- Slides: 11