1. 16 May, 2012 6 commits
    • Leigh B Stoller's avatar
      Load up the generic osids. · 3d74dfb4
      Leigh B Stoller authored
    • Leigh B Stoller's avatar
    • Leigh B Stoller's avatar
      Add generic osids for special devices. · d152c673
      Leigh B Stoller authored
    • Leigh B Stoller's avatar
      Another protogeni checkbox; scriptify and simplify adding "special" · cf517af6
      Leigh B Stoller authored
      devices with network interfaces. Emulab's spp and bbg nodes are
      examples, but I did all that by hand inserting sql. An spp node is a
      shared node with some interfaces. Users can allocate one or more of
      those interfaces and establish vlans to the interfaces. The node is a
      "fakenode" in "shared" mode, and everything else falls out. The mapper
      assigns virtual nodes until all of the interfaces are allocated,
      snmpit does its work on the interfaces, and the user then does the
      Anyway, to added a special device:
        boss> wap addspecialdevice -s -t goober goober1
      The -t argument is the name of the node type, created if it does not
      exists. The last argument is the name of the fakenode to create in the
      DB. The -s option says the special device is shared. Without -s, the
      device is allocated exclusively.
      Then to add interfaces to the device:
        boss> wap addspecialiface -b 1Gb -s cisco4,100,100 goober1 eth0
      The -b option is the speed (either 100Mb or 1Gb). The -s option is the
      switch side of the interface (switchname,card,port). The last two
      arguments are the nodename and iface name for the interfaces table.
      After the interface and wires table entry are added to the DB, snmpit
      is called to put the switch port into tagged mode (if the node is
      shared). To skip the snmpit step, add the -t option.
    • Leigh B Stoller's avatar
    • Leigh B Stoller's avatar
      Minor tweak to comment. · f9d835aa
      Leigh B Stoller authored
  2. 15 May, 2012 7 commits
  3. 14 May, 2012 11 commits
  4. 11 May, 2012 3 commits
  5. 10 May, 2012 3 commits
  6. 09 May, 2012 8 commits
  7. 08 May, 2012 1 commit
  8. 07 May, 2012 1 commit
    • Leigh B Stoller's avatar
      Fix shared node interface bandwidth accounting bug. My multiple table · 53c3748f
      Leigh B Stoller authored
      update/join was not doing what I expected, and it looks like I cannot
      actually do what I was intended cause mixing multiple table update and
      left join does not work like I expect (read: I cannot make any sense
      of the mysql manual). So, recast as a multiple table update without
      the join, over individual rows in the vinterfaces table.