Changes between Version 5 and Version 6 of orca-with-omni

Show
Ignore:
Timestamp:
07/22/11 10:48:15 (8 years ago)
Author:
ibaldin (IP: 152.54.9.21)
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • orca-with-omni

    v5 v6  
    4141Created slice with Name ilia-slice-07-22, URN urn:publicid:IDN+emulab.net+slice+my-slice-07-22 
    4242}}} 
     43 * Create an RSpec for your slice (see [http://www.protogeni.net/trac/protogeni/wiki/RSpec2 PG RSpec v2 documentation]):  
     44{{{ 
     45<?xml version="1.0" encoding="UTF-8"?> 
     46<rspec xmlns="http://www.protogeni.net/resources/rspec/2" 
     47       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
     48       xsi:schemaLocation="http://www.protogeni.net/resources/rspec/2 http://www.protogeni.net/resources/rspec/2/request.xsd" 
     49       type="request" > 
     50  <node client_id="my-node" 
     51        exclusive="true"> 
     52    <sliver_type name="raw-pc" /> 
     53  </node> 
     54</rspec> 
     55}}} 
     56 * Create a sliver in ORCA for this slice (note that when run on a real substrate you will get back IP addresses and port numbers to ssh into; these examples are run against an emulated aggregate) 
     57{{{ 
     58./src/omni.py -c omni_pg_config -f pg -a https://some.host.name:11443/orca/xmlrpc -n createsliver my-slice-07-22 node-request.rspec2  
     59INFO:omni:Loading config file omni_pg_config 
     60INFO:omni:Using control framework pg 
     61Enter PEM pass phrase: 
     62Enter PEM pass phrase: 
     63Enter PEM pass phrase: 
     64Enter PEM pass phrase: 
     65Asked https://some.host.name:11443/orca/xmlrpc to reserve resources. Result: Request id: 6adb19b9-0d9d-49c3-a1cd-a6d259b2fb47 
     66[   Slice UID: 5206d28e-ba3f-4865-b7ef-1c77bfe53b0e | Reservation UID: af1987d0-a66a-4345-ac71-e288e31e2774 | Resource Type: unc.vm | Resource Units: 1 ]  
     67}}} 
     68 * Delete a sliver 
     69{{{ 
     70./src/omni.py -c omni_pg_config -f pg -a https://some.host.name:11443/orca/xmlrpc -n deletesliver ilia-slice-07-22  
     71INFO:omni:Loading config file omni_pg_config 
     72INFO:omni:Using control framework pg 
     73Enter PEM pass phrase: 
     74Enter PEM pass phrase: 
     75Enter PEM pass phrase: 
     76Enter PEM pass phrase: 
     77Deleted sliver urn:publicid:IDN+emulab.net+slice+ilia-slice-07-22 on unspecified_AM_URN at https://some.host.name:11443/orca/xmlrpc 
     78}}}