1. 04 Sep, 2012 2 commits
  2. 31 Aug, 2012 5 commits
  3. 30 Aug, 2012 5 commits
    • Jonathon Duerig's avatar
      highvlan features are now exceptional. · 36ea4ec2
      Jonathon Duerig authored
    • Leigh B Stoller's avatar
      More bits and pieces for exporting images from one Emulab to another. · 4c444cd5
      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's avatar
      Changes to support cloning an openvz container image. · 1517aa14
      Leigh B Stoller authored
      Derive type list from underlying image.
    • Leigh B Stoller's avatar
      Bug fix to SetRunsOnParent(). · 72e9342d
      Leigh B Stoller authored
    • Gary Wong's avatar
      Add a "ctrladdr" utility to show (un)allocated addresses on the control net. · 9047e21a
      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".  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.
  4. 29 Aug, 2012 15 commits
  5. 28 Aug, 2012 2 commits
  6. 27 Aug, 2012 11 commits
    • Mike Hibler's avatar
      Fix an obvious typo. · 8f29b66c
      Mike Hibler authored
    • Leigh B Stoller's avatar
      Remove adminonly restriction from def_parentosid slot. · c167fa49
      Leigh B Stoller authored
      Add metadata_url and imagefile_url.
    • Leigh B Stoller's avatar
      Add support for creating snapshot images of OpenVZ containers via the · fdd08bb4
      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
      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's avatar
      Switch to AUTOLOAD instead of all the explicit access methods. · 5e4f9e7f
      Leigh B Stoller authored
      Add metadata_url and imagefile_url support in image creation
      and lookup.
    • Leigh B Stoller's avatar
      Increase the length of the osname slot of os_info from 20 to 30 chars. · e35de774
      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's avatar
      Add lan table locking to assist with avoiding race conditions when · de0c1000
      Leigh B Stoller authored
      operating on shared lans.
    • Leigh B Stoller's avatar
      Increase length of osname to 30 chars. · c2f63e4f
      Leigh B Stoller authored
    • Leigh B Stoller's avatar
      Clientside changes to handle creating a snapshot of the an OpenVZ · 713e0919
      Leigh B Stoller authored
      * 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's avatar
    • Leigh B Stoller's avatar
      Add support for experimental networks on the control network. · df048b11
      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
      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's avatar
      Whenever an experiment is using Vinterfaces, reserve the vlan tags · 545e72de
      Leigh B Stoller authored
      with snmpit -A before booting nodes.