- 30 Aug, 2012 4 commits
-
-
Leigh B Stoller authored
image_metadata.php will return an Emulab style image descriptor in XML format. A remote emulab, given an image URL, will grab this XML description and use it to create a local descriptor. Inside the descriptor is an additional URL that is used to download ndz file. The dumpdescriptor script is now web accessible, and takes a new -e (export) option that adds the extra URL and other bits that are needed to import the descriptor and the image. On the Show Image page, show the metadata URL, which is suitable for using in an NS file or an rspec (when that code is committed).
-
Leigh B Stoller authored
Derive type list from underlying image.
-
Leigh B Stoller authored
-
Gary Wong authored
Right now, the only addresses it knows are allocated are anything assigned in the interfaces table with a "ctrl" role, and anything in the dynamic pool in the virt_node_public_addr table. (And the reserved network and broadcast addresses.) This needs to be extended to anything else we know about! By default, the output is supposed to be easy to parse and simply displays the first available address. More than one available address can be requested with the "-n" option (e.g. "-n 10" will show the first ten unallocated addresses). "-n 0" will show every free address on the subnet. The "-a" option (meant more for human consumption) also describes allocated addresses. For instance, "ctrladdr -a -n 0" will show every address on the control net, and what it's used for (if anything). "-r" will compress ranges of consecutive free addresses onto a single line. To test whether a particular address is in use, invoke it as (e.g.) "ctrladdr -t 155.98.36.1". This will give an exit code of 0 if the address is available, and 1 if used. Any other options are ignored if "-t" is specified.
-
- 29 Aug, 2012 15 commits
-
-
Leigh B Stoller authored
-
Leigh B Stoller authored
shared nodes (where the user does not have an account and so must ssh in as root).
-
Leigh B Stoller authored
-
Leigh B Stoller authored
-
Leigh B Stoller authored
-
Leigh B Stoller authored
fetching images.
-
Leigh B Stoller authored
-
Leigh B Stoller authored
-
Mike Hibler authored
Now it only remains in the collective memory of Leigh and I. That will keep it alive for another 5 minutes or so...
-
Leigh B Stoller authored
-
Mike Hibler authored
Just use the non-per-experiment entries in switch_stacks rather than looking for nodes involved in "trunks". The latter doesn't capture our layer1 switch.
-
Leigh B Stoller authored
-
Leigh B Stoller authored
an explicit_request attribute in the node_type_attributes table for a type, and the topology explicitly requests that type, add a desire to the vtop file call $type-explicit:1.0. An equivalent feature added by ptopgen will result in those nodes not being allocated unless explicitly requested.
-
Leigh B Stoller authored
-
Mike Hibler authored
In the master server, recognize "sharedhost" as a valid proxy node so that shared vnode host nodes can upload and download images on behalf of hosted vnodes that are not in the same experiment. Add "-P <node-i-am-a-proxy-for>" options to frisbee and frisupload clients allowing them to request images on behalf of other nodes. Previously, proxying was only really supported in nested instances of the master server. Make sure that such proxying works when a shared vnode host is serviced by a subboss; i.e., subboss is proxying for the vnode host which in turn is proxying for the vnode.
-
- 28 Aug, 2012 2 commits
-
-
Jonathon Duerig authored
-
Jonathon Duerig authored
-
- 27 Aug, 2012 16 commits
-
-
Mike Hibler authored
-
Leigh B Stoller authored
Add metadata_url and imagefile_url.
-
Leigh B Stoller authored
web interface. Most of this commit is about making it easier to create the descriptors (of any kind) The newimageid_ez page now takes an optional node_id on which to base the new descriptor; most of the fields are initialized. You can also provide optional imageid and osinfo arguments, which allows for slightly less info to be initialized. Then on the ShowNode page, the link to create an image will take you to the snapshot image page if the user has write access to the image, otherwise to the newimageid_iz page to create and snapshot a new image descriptor.
-
Leigh B Stoller authored
Add metadata_url and imagefile_url support in image creation and lookup.
-
Leigh B Stoller authored
Add metadata_utl and imagefile_url to the images table; this is to be used with image export/import.
-
Leigh B Stoller authored
operating on shared lans.
-
Leigh B Stoller authored
-
Leigh B Stoller authored
container. * Change reboot_prepare to take a -noreboot argument since in general we want to control the reboot externally. Just want to run prepare. * New openvz variant of create-image that installed on openvz hosts, which is called from the server side to reboot/prepare the contaner, take the snapshot using tar/imagezip/frisupload, and then restart the container.
-
Leigh B Stoller authored
-
Leigh B Stoller authored
So what if your testbed has a control network but no experimental network? In the past you were SOL, but with this commit you can now create links and lans on the control network that look just like an experimental network link/lan. To make this work, ptopgen sports a new option (-C) that will put the control network links and wires and switches into the ptop file. libvtop generally operates as normal, but need to arrange for the physical ports to be put into dual tag/trunk mode, where the native vlan is the Control network. This is done with by setting attributes on the lan table entry that indicate dual and what to use for the native vlan. snmpit looks for these attributes. There are a couple of places that use the stack name (Control or Experiment) to determine if a vlan is control or experimental. This is not longer truu, and so need to use an attribute in the lan table entry. The last bit of the puzzle is that snmpit has to be careful when disabling trunking on these ports. When this happens, all vlans are cleard from the ports (by the device layer), including the Control network itself, which would make the node unreachable. I had to add some special cases to watch for that, and return the ports to the control network. To turn this on, create a ControlNetVlans and enable it. The mapper looks for this and passes the -C argument to ptopgen. Nothing special in the NS file, except you have to turn on vlan encapsulation; tb-set-vlan-emulation vlan No delay nodes, but linkdelays work okay. Works for openvz containers as well.
-
Leigh B Stoller authored
with snmpit -A before booting nodes.
-
Leigh B Stoller authored
-
Leigh B Stoller authored
-
Leigh B Stoller authored
-
Leigh B Stoller authored
def_parentosid, since that is how ptopgen operates.
-
Robert Ricci authored
-
- 24 Aug, 2012 3 commits
-
-
Jonathon Duerig authored
-
Leigh B Stoller authored
span experiments.
-
Leigh B Stoller authored
libraries (snmpit_test subdir). I suppose we should really commit to the new test version of snmpit.
-