1. 03 Dec, 2001 1 commit
  2. 29 Nov, 2001 1 commit
  3. 28 Nov, 2001 3 commits
  4. 27 Nov, 2001 8 commits
  5. 26 Nov, 2001 2 commits
  6. 21 Nov, 2001 1 commit
  7. 15 Nov, 2001 1 commit
    • Robert Ricci's avatar
      Two fixes: · 947f73f4
      Robert Ricci authored
      Make sure experiments actually exist, for morons like me that enter 'eid pid'
      instead of 'pid eid'
      
      When using '-t', don't try to create VLANs if they already exist, just
      put ports in it (this can be used, for example, to repair damage to switch
      state or fix up after manually monkeying with VLANs)
      947f73f4
  8. 14 Nov, 2001 1 commit
  9. 12 Nov, 2001 1 commit
  10. 08 Nov, 2001 3 commits
  11. 07 Nov, 2001 2 commits
  12. 06 Nov, 2001 3 commits
  13. 05 Nov, 2001 4 commits
    • Robert Ricci's avatar
      Changed the access type passed to TBImageIDAccessCheck to · ac4502be
      Robert Ricci authored
      TB_IMAGEID_READINFO - I was mistaken about the level of access implied
      by TB_IMAGEID_ACCESS.
      ac4502be
    • Robert Ricci's avatar
      Now watches for nodes that have been reloading for too long. "too long" is · 8d5b66eb
      Robert Ricci authored
      currently defined as 30 minutes, to keep false positives to a minimum. Sends
      mail to testbed-ops if/when it finds any. The timing is not precise, as it
      only polls in between loading machines, but this is fine for our purposes.
      8d5b66eb
    • Leigh B. Stoller's avatar
      Add report section giving the link to delay node mapping. Useful for · d27ec2be
      Leigh B. Stoller authored
      people who want to log into the delay nodes and change a specific link.
      d27ec2be
    • Leigh B. Stoller's avatar
      Changes to node control (web page). Added a backend script to do this · f9cfddd4
      Leigh B. Stoller authored
      stuff so that the web page did not need to do anything except display
      and form processing. Add tbsetup/node_control for backend so that it
      can be called from the command line too. The virt_nodes table is also
      updated (for those values that have virt_nodes equivalents), and this
      mostly implies that changes can be applied only to swapped in
      experiments since we use the reserved table to map pcXXX to its vname
      so that the virt_nodes table can be updated. It is an easy extension
      to allow changes based on the pid/eid/vname, but I do not see a reason
      to support this ability yet. Note usage:
      
          Usage: node_control name=value [name=value ...] node [node ...]
                 node_control -e pid,eid name=value [name=value ...]
                 node_control -l
          For multiword values, use name='word0 ... wordN'
          Use -l to get a list of operational parameters you can change.
          Use -e to change parameters of all nodes in an experiment.
      
          {824} stoller$ /build/testbed/install//bin/node_control -l
            next_boot_osid            - (administrators only)
            startup_command
            bios_version              - (administrators only)
            rpms                      - (multiple options allowed)
            default_boot_cmdline
            default_boot_path
            default_boot_osid
            next_pxe_boot_path        - (administrators only)
            tarfiles                  - (multiple options allowed)
            pxe_boot_path             - (administrators only)
            next_boot_cmdline         - (administrators only)
            deltas                    - (multiple options allowed)
            next_boot_path            - (administrators only)
      f9cfddd4
  14. 02 Nov, 2001 3 commits
  15. 01 Nov, 2001 1 commit
  16. 31 Oct, 2001 5 commits
    • Leigh B. Stoller's avatar
      A bunch of backend delay node changes. Change the delays DB table to · fe13d60f
      Leigh B. Stoller authored
      hold separate values for each of the two pipes. This allows us to
      treat the links asymmetrically with respect to the delay node
      configuration. Changes to tmcd to return the expanded info, and rework
      (completely) delay_config to allow user to change the duplex
      characteristics (just like before), or just simplex characteristics by
      specifying the pipe number. By convention (I invented) pipe 0 is
      traffic coming in on iface0. Of course, none of the front end stuff
      has been changed, so the changing a single pipe does not cause
      anything in virt_lans to be changed, so those changes will be lost at
      swapout. Also get rid of all the ssh'ed pipe config stuff in
      delay_config. Instead, add a client side script called update_delays
      to /etc/testbed on the experiment nodes. After updating the delays
      table, just ssh over and run that script, which calls the existing
      code. Less distribution of knowledge.
      fe13d60f
    • Robert Ricci's avatar
      Back out Leigh's hack to show assign only one switch at a time, since · f532b039
      Robert Ricci authored
      we can now handle cross-switch links.
      f532b039
    • Robert Ricci's avatar
      Fix minor typo · 9a8519be
      Robert Ricci authored
      9a8519be
    • Robert Ricci's avatar
      6881dc73
    • Robert Ricci's avatar
      Major overhaul of snmpit. Highlights, in no particular order: · 7e53c10a
      Robert Ricci authored
      Now supports multiple switches and multiple stacks. To do this, the existing
      snmpit_cisco module had to be modified to behave as a true object, and its
      interface changed.
      
      A new layer of abstraction has been added: the stack. This is to hide the
      details of how things such as VLAN creation occur across multiple devices. For
      example, in Cisco stacks, you always contact the stack leader (VTP server) to
      create/delete VLANs. Other switches may have different semantics, such as
      having to contact every switch to create the VLAN.
      
      Now uses libdb for database access and permissions checks.
      
      Hardware details are hidden as much as possible in the user interface. For
      example, the creation and deletion commands now take VLAN identifiers, and
      snmpit transparently turns these into device-specific VLAN numbers.
      
      snmpit.in has been re-written from scratch. The new version uses three basic
      steps:
      1) Process command line options and determine operation to run
      2) Determine which devices, ports, and VLANs will be involved and make
         the appropriate objects
      3) Actually perform the operation
         when TESTMODE is set, does only steps 1 and 2
      
      Some command-line options have changed. This is because we now use getopt,
      rather than a home-grown parser, to parse the command line. As a result of the
      large number of options, and an attempt to mimic old options as much as
      possible, the options are no longer very mnemonic.
      
      Uses a new table called switch_stacks to figure out which switches belong to
      which stacks. A stack is defined as a set of switches that share VLANs.
      
      All snmpit scripts and modules now run with 'use strict' to help catch certain
      programming errors.
      
      VLAN listing now prints out the pid/eid and vname for VLANs, if possible.
      
      A few things have bitrotted due to these changes:
      * snmpit_intel will need to be re-tooled to use the new interface, and to
        behave as a proper object
      * vlansync, vlandiff, and resetvlans depend on the output of snmpit, and will
        need to be updated to understand its new output format
      7e53c10a