- 13 Jul, 2009 1 commit
-
-
Gary Wong authored
and ignore remote (i.e. mismatched URN) nodes, just as was done with UUIDs.
-
- 10 Jul, 2009 1 commit
-
-
Gary Wong authored
-
- 09 Jul, 2009 1 commit
-
-
Leigh B. Stoller authored
1. Allow use of the shared nodes via the "exclusive" tag in the rspec. 2. Switch to using the mapper in GetTicket() and in RedeemTicket() as per this email I sent: * GetTicket(): New rspec comes in and I build a virtual topology as I parse the rspec. Basically, virt_nodes and virt_lans table entries, which are stored into the DB. The rspec can include wildcards or specific nodes; I use the "fixed" slot of the virt_nodes table. Note that I am not yet handling fixed ifaces. Nice thing about this is that all of the show exp tools work. I run the (new) mapper on it in "solution" mode. This does two things; wildcards are mapped, and 2) it verifies that the rspec is mappable on the local hardware. Solution mode does not actually change the DB, but rather it spits out an XML file that I parse (note, we eventually will pass the rspec through, but I am not ready for that yet). I then allocate the nodes to the holding area, update the rspec, create a ticket, and return it. * RedeemTicket(): I run the new mapper again, only this time in real mode with -update. This is basically a redo of the run above since all the nodes are reserved already, but the DB is actually filled out this time. I then create the slivers and such. The other difference is that instead of creating the vlans by hand, I can now run snmpit -t to do the work for me. Ditto for tear down with snmpit -r. Another bonus is that I can add (missing) IP addressess during the initial rspec parse, and the nodes now boot and have their interfaces configured. Virtual interfaces too, including the ones inside of virtual nodes. * All of the above works with shared nodes too: "<rspec xmlns=\"http://protogeni.net/resources/rspec/0.1\"> " +\ " <node virtual_id=\"geni1\" "+\ " virtualization_type=\"emulab-vnode\" " +\ " virtualization_subtype=\"emulab-openvz\" " +\ " exclusive=\"0\"> " +\ " <interface virtual_id=\"virt0\"/> " +\ " </node>" +\ " <node virtual_id=\"geni2\" "+\ " virtualization_type=\"emulab-vnode\" " +\ " virtualization_subtype=\"emulab-openvz\" " +\ " exclusive=\"0\"> " +\ " <interface virtual_id=\"virt0\"/> " +\ " </node>" +\ " <link virtual_id=\"link0\"> " +\ " <interface_ref " +\ " virtual_interface_id=\"virt0\" " +\ " virtual_node_id=\"geni1\" " +\ " /> " +\ " <interface_ref " +\ " virtual_interface_id=\"virt0\" " +\ " virtual_node_id=\"geni2\" " +\ " /> " +\ " </link> " +\ "</rspec>" The shared nodes boot, and you can ping on the experimental networks. Caveats: * UpdateTicket and UpdateSliver need work as per the mail I sent the other day about the state of the sliver between the ticket and the sliver operations. * Collocation specifications are ignored since we do not have any way to specify this to assign when wildcards are used. Rob, I am wondering if assign has any tricks we can take advantage of. * Still need to commit all the snmpit changes and get that hooked into the CM.
-
- 19 Jun, 2009 1 commit
-
-
Gary Wong authored
used in the database, for backward compatibility.
-
- 05 Jun, 2009 1 commit
-
- 28 Mar, 2009 2 commits
-
-
Leigh B. Stoller authored
-
Leigh B. Stoller authored
to ticket when there were no links in the rspec. 3) Print the rspec out only when there is an error redeeming it, to reduce the amount of email. 4) Fix check in updatesliver that looks for existing links; was tearing them down cause the test was wrong.
-
- 26 Mar, 2009 2 commits
-
-
Gary Wong authored
-
Leigh B. Stoller authored
test/tuntest.py wrt putting the sliver_uuid into the rspecs. Added "hostname" to host resolve. Added check for "protogeni_exclude" attribute when filling a wildcarded uuid.
-
- 18 Mar, 2009 1 commit
-
-
Leigh B. Stoller authored
support. Can even create multiple jailed nodes on the same physical node. Sorry, no sharing of physical nodes yet (between slices). Also no link support yet; coming later. The syntax is an extension of the current hack syntax: " <node uuid=\"" + node_uuid + "\" " +\ " nickname=\"geni1\" "+\ " phys_nickname=\"geni1\" "+\ " virtualization_type=\"emulab-vnode\" " +\ " virtualization_subtype=\"emulab-jail\"> " +\ " </node>" This only works on sites that already can do jails.
-
- 04 Mar, 2009 1 commit
-
-
Leigh B. Stoller authored
to the Geni Public License at http://www.geni.net/docs/GENIPubLic.pdf, whose expansion at this time is: ----- Permission is hereby granted, free of charge, to any person obtaining a copy of this software and/or hardware specification (the "Work") to deal in the Work without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Work, and to permit persons to whom the Work is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Work. THE WORK IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE WORK OR THE USE OR OTHER DEALINGS IN THE WORK.
-
- 02 Mar, 2009 2 commits
-
-
Leigh B. Stoller authored
its really a hugely stripped down Emulab boss install, using a very short version of install/boss-install to get a few things into place. I refactored a few things in both the protogeni code and the Emulab code, and whacked a bunch of makefiles and configure stuff. The result is that we only need to install about 10-12 files from the Emulab code, plus the protogeni code. Quite manageable, if you don't mind that it requires FreeBSD 6.X ... Still, I think it satisfies the requirement that we have a packaged clearinghouse that can be run standalone from a running Emulab site.
-
Gary Wong authored
meaningfully delegate a subset of available privileges, so that the delegate is permitted to invoke only a restricted set of operations.
-
- 19 Feb, 2009 1 commit
-
-
Leigh B. Stoller authored
slivers and tickets. There is no way to look into these tables yet. Need to do something about a web interface to Geni before too long.
-
- 10 Feb, 2009 1 commit
-
-
Leigh B. Stoller authored
-
- 30 Jan, 2009 1 commit
-
-
Leigh B. Stoller authored
-
- 29 Jan, 2009 1 commit
-
-
Leigh B. Stoller authored
allow you to find out the status of your sliver. As you can guess, one takes a sliver credential and the other takes the slice credential. See the test scripts test/slicestatus.py and test/slicestatus.py. Both calls return the same thing. In pythonese: {'status': 'notready', 'details': {'de9803c2-773e-102b-8eb4-001143e453fe': 'notready'} } The 'status' is a summary of the entire aggregate; if all nodes are ISUP then the status is 'ready' The details is an array of the status of each sliver, indexed by the sliver uuid. Probably need to define a better set of status indicators, but this is the one that was bothering me the most.
-
- 28 Jan, 2009 1 commit
-
-
Leigh B. Stoller authored
listusage script gets the list of CMs from the clearinghouse DB, and calls the ListUsage() method on each one. The return is a list of slices (gids) and for each slice, a list of slivers that represent nodes. Currently just for debugging other CMs, but eventually will be used to populate the clearinghouse DB with an informational snapshot of the federation.
-
- 23 Jan, 2009 1 commit
-
-
Leigh B. Stoller authored
code. Also, as a debugging aid, if you request a ticket for a slice, and that slice already has a ticket, delete the ticket and generate a new one.
-
- 08 Dec, 2008 2 commits
-
-
Leigh B. Stoller authored
-
Leigh B. Stoller authored
-
- 04 Dec, 2008 1 commit
-
-
Leigh B. Stoller authored
You can now wildcard the node uuid and abd interface name in links: <node uuid="*" nickname="geni1" virtualization_type="emulab-vnode"> </node> <node uuid="*" nickname="geni2" virtualization_type="emulab-vnode"> </node> <link name="link0" nickname="link0"> <linkendpoints nickname="destination_interface" iface_name="*" node_nickname="geni1" node_uuid="*" /> <linkendpoints nickname="source_interface" iface_name="*" node_nickname="geni2" node_uuid="*" /> </link> So after the nodes are allocated, fill in the rest of the details in the link part, including finding interfaces. The rspec is updated for returned ticket. The same approach can used for tunnel testing, but in that case you allocate tickets to get the nodes, dig out the uuids, and then do an UpdateSliver(), adding the tunnel specs.
-
- 18 Nov, 2008 1 commit
-
-
Leigh B. Stoller authored
-
- 11 Nov, 2008 1 commit
-
-
Leigh B. Stoller authored
-
- 30 Oct, 2008 1 commit
-
-
Leigh B. Stoller authored
-
- 27 Oct, 2008 1 commit
-
-
Leigh B. Stoller authored
-
- 16 Oct, 2008 1 commit
-
-
Leigh B. Stoller authored
-
- 02 Oct, 2008 1 commit
-
-
Leigh B. Stoller authored
Lots of corner cases that I am ignoring and recovery from errors is just as crude. See xmlrpc/client.py ...
-
- 25 Sep, 2008 1 commit
-
-
Leigh B. Stoller authored
working program agents! Yippie.
-
- 18 Sep, 2008 1 commit
-
-
Leigh B. Stoller authored
vlans.
-
- 13 Sep, 2008 1 commit
-
-
Leigh B. Stoller authored
Checkpoint working swapin of experiments using multiple federated nodes with vlans between them. Now I need to figure out how to swap the experiment out
-
- 08 Sep, 2008 1 commit
-
-
Leigh B. Stoller authored
-
- 03 Sep, 2008 1 commit
-
-
Leigh B. Stoller authored
-
- 22 Aug, 2008 1 commit
-
-
Leigh B. Stoller authored
-
- 15 Aug, 2008 1 commit
-
-
Leigh B. Stoller authored
-
- 14 Aug, 2008 1 commit
-
-
Leigh B. Stoller authored
program protogeni/xmlrpc/client.py ... it is much easier to get a simple python client running on your desktop then a perl client. Only package you need to install is M2Crypto, which is easy. Perl needs about 10 packages installed to xmlrpc over ssl. Sheesh.
-
- 12 Aug, 2008 1 commit
-
-
Leigh B. Stoller authored
-
- 31 Jul, 2008 1 commit
-
-
Leigh B. Stoller authored
-
- 20 Jun, 2008 1 commit
-
-
Leigh B. Stoller authored
completely raw links; just a vlan between two interfaces. No traffic shaping or anything like that.
-
- 17 Jun, 2008 1 commit
-
-
Leigh B. Stoller authored
-