1. 09 Jul, 2009 9 commits
    • Leigh B. Stoller's avatar
      Two big changes · e6c90969
      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> " +\
      The shared nodes boot, and you can ping on the experimental networks.
      * 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.
    • Leigh B. Stoller's avatar
      Add ListHistory entrypoint. · f543666a
      Leigh B. Stoller authored
    • Leigh B. Stoller's avatar
      Add listhistory script that collects and prints history from all the · e0f206d5
      Leigh B. Stoller authored
      CMs in the CH database. Only the CH can run this. Also, all it does is
      collect the tickets.
    • Leigh B. Stoller's avatar
      Add ListAllTickets method to get the entire history list of tickets. · f3374b66
      Leigh B. Stoller authored
      This is returned to the CH via the ListTickets() CM method. Only the
      CH can invoke this. This will hold us until I decide how I want to
      keep the ClearingHouse history tables updated.
    • Gary Wong's avatar
    • Jonathon Duerig's avatar
      Now there is a 'ComponentView' which manages the node selection/combobox for... · f852557b
      Jonathon Duerig authored
      Now there is a 'ComponentView' which manages the node selection/combobox for several Component Managers.
    • Jonathon Duerig's avatar
      Checkpoint. The flash demo now parses and uses URNs properly, uses the... · ea8942ee
      Jonathon Duerig authored
      Checkpoint. The flash demo now parses and uses URNs properly, uses the available tag for nodes, and parses the latest version of the rspec in advertisements. Note that Emulab has been set up as the only CM atm until we push out the new ptopgen to other sites.
    • Gary Wong's avatar
      Bah. Only half of the changes in the previous GNUmakefile.in commit · 8bfda0f3
      Gary Wong authored
      were actually ready to be checked in so far.  Revert the rest for now.
    • Gary Wong's avatar
      Refuse to install, and tell the user what to do if there are Geni database · d14d4368
      Gary Wong authored
      updates which they have not applied.
  2. 07 Jul, 2009 4 commits
  3. 30 Jun, 2009 2 commits
  4. 23 Jun, 2009 1 commit
  5. 19 Jun, 2009 1 commit
  6. 05 Jun, 2009 8 commits
  7. 29 May, 2009 1 commit
  8. 18 May, 2009 1 commit
  9. 15 May, 2009 1 commit
  10. 12 May, 2009 1 commit
  11. 06 May, 2009 1 commit
  12. 05 May, 2009 1 commit
  13. 04 May, 2009 1 commit
  14. 29 Apr, 2009 2 commits
  15. 02 Apr, 2009 1 commit
  16. 31 Mar, 2009 3 commits
  17. 30 Mar, 2009 2 commits