1. 04 Jan, 2002 1 commit
    • Robert Ricci's avatar
      New script: unixgroups . Pretty simple - just a convenient way to manage the · 469dacdb
      Robert Ricci authored
      unixgroup_membershit table from the command line. Runs the appropriate
      commands to make changes in the 'real world' after the database has been
      updated. From the usage message:
      
      Usage: unixgroups <-h | -p | < <-a | -r> uid gid...> >
      -h            This message
      -p            Print group information
      -a uid gid... Add a user to one (or more) groups
      -r uid gid... Remove a user from one (or more) groups
      469dacdb
  2. 24 Oct, 2001 1 commit
  3. 20 Oct, 2001 1 commit
  4. 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
  5. 12 Jul, 2001 1 commit
    • Robert Ricci's avatar
      New script: dhcpd_makeconf · fbb56b98
      Robert Ricci authored
      Usage: dhcpd_makeconf [-h] [-v] <templatefile>
      templatefile should be a skeleton dhcp.conf file, without entires for each node.
      The string '%%nodetype=<type>' will be expanded to entries for all nodes of type
      <type> in the following form:
      host $ip {
      	hardware ethernet $mac;
      	option host-name '$node_id';
      	fixed_address $ip;
      }
      
      The generated dhcp conf file is printed on stdout.
      
      The -v option causes dhcpd_makeconf to use virtual names, rather than
      physical ones, for hostnames.
      fbb56b98
  6. 06 Jul, 2001 1 commit
  7. 20 Jun, 2001 1 commit
  8. 08 Jun, 2001 1 commit
  9. 25 May, 2001 1 commit
    • Leigh B. Stoller's avatar
      New libdb module. A library of some useful routines that will · 7e4ad150
      Leigh B. Stoller authored
      hopefully get bigger and reduce the amount of typing that we all
      do. I hacked up sched_reload and os_load to use it. Pretty simple to
      start with.
      
      I'm not planning to go much further on this until we sync up with the
      dbtoir branch since it will just create needless branch merge errors.
      7e4ad150
  10. 23 May, 2001 1 commit
  11. 03 May, 2001 1 commit
  12. 11 Apr, 2001 1 commit
  13. 08 Jan, 2001 2 commits
  14. 05 Jan, 2001 1 commit
  15. 04 Jan, 2001 2 commits
    • Leigh B. Stoller's avatar
      Another small set of install changes for ops vs control node. I put in · 471e3f81
      Leigh B. Stoller authored
      simple autogen of the symlinks to plasticwrap on the control node, and
      added control-install targets in several more directories.
      471e3f81
    • 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
  16. 03 Jan, 2001 1 commit
  17. 02 Jan, 2001 1 commit
  18. 18 Dec, 2000 1 commit
  19. 01 Dec, 2000 1 commit