1. 04 Jul, 2002 1 commit
  2. 03 Jan, 2002 1 commit
  3. 27 Sep, 2001 1 commit
    • Robert Ricci's avatar
      Lib-ification. These scripts have been changed from using the Mysql module to · 4c11aa5d
      Robert Ricci authored
      using the libdb library. They have also been cleaned up somewhat, with more
      comments added, etc.
      
      I've merged nodeip and mac2if, which had very similar functions. The merged
      version goes under the name nodeip.
      
      Lastly, I've added some access checks to db2ns and node_status, to make sure
      they're only called by the right people.
      4c11aa5d
  4. 30 Aug, 2001 1 commit
  5. 04 Jan, 2001 1 commit
    • Robert Ricci's avatar
      New script: if2port - Find switch port(s) for a node's interface(s). · b791b121
      Robert Ricci authored
      Usage: if2port <node | node:if | node if>
      Example:
      <ricci@paper:~>./if2port tbpc01
      +--------+-----+--------+-----+-----+
      |node_id1|card1|node_id2|card2|port2|
      +--------+-----+--------+-----+-----+
      |tbpc01  |    0|cisco   |    3|   25|
      |tbpc01  |    1|cisco   |    3|   27|
      |tbpc01  |    2|cisco   |    3|   29|
      |tbpc01  |    3|cisco   |    3|   31|
      |tbpc01  |    4|cisco2  |    3|    1|
      +--------+-----+--------+-----+-----+
      5 rows processed
      
      <ricci@paper:~>./if2port tbpc01:0
      +--------+-----+--------+-----+-----+
      |node_id1|card1|node_id2|card2|port2|
      +--------+-----+--------+-----+-----+
      |tbpc01  |    0|cisco   |    3|   25|
      +--------+-----+--------+-----+-----+
      1 row processed
      
      <ricci@paper:~>
      b791b121