- 30 Jul, 2013 9 commits
-
-
Kirk Webb authored
Based on snmpit_arista and snmpit_hp.
-
Kirk Webb authored
This module wraps the Mellanox XML-gateway API, an "interesting" sort of interface offered up by Mellanox switches running MLNX-OS. This module handles all of the connection setup and XML encoding / decoding. Users of the module pass in arrays of commands to run, and arrays of results are returned. All commands in lists passed to a single call() invocation will be passed along together to be invoked, in order, on the switch. Mixtures of 'get', 'set-*', and 'action' commands are allowed. This check-in also includes a test harness for this module. Sample use: my $gw = MLNX_XMLGateway->new("user:pass@switch.somehost.org"); my @cmds = ( ["get", "/some/REST/path"], ["set-create", "/some/REST/path/to/create"], ["set-modify", "/some/REST/path/to/modify=newvalue"], ["action", "/some/REST/action/path", {var => value, ...}] ); $results = eval { $gw->call(\@cmds) }; if ($@) { die "error: $@"; } foreach my $res (@$results) { # path, type, value print "@$res\n"; }
-
Kirk Webb authored
-
Leigh B Stoller authored
-
Leigh B Stoller authored
-
Leigh B Stoller authored
-
Leigh B Stoller authored
Avoids email blasts while swapping.
-
Leigh B Stoller authored
-
Leigh B Stoller authored
an option to initilo to gather the keys via the ILO's web XML interface, and stick the result into the DB. Doing this, just in case a node loses its keys (which actually happened at BBN).
-
- 24 Jul, 2013 6 commits
-
-
Leigh B Stoller authored
-
Leigh B Stoller authored
-
Leigh B Stoller authored
own locking and breaks if two processes call it at the same time. DUMB!
-
Leigh B Stoller authored
subnet as the control network (as in Utah).
-
Leigh B Stoller authored
-
Leigh B Stoller authored
XMLRPC interface.
-
- 23 Jul, 2013 25 commits
-
-
Leigh B Stoller authored
-
Leigh B Stoller authored
Disabled by default, enabled on Utah Emulab for testing.
-
Srikanth Raju authored
-
Srikanth Raju authored
This reverts commit d3e3ee05ed0c8e7903942cc913067e7573a42af4. Conflicts: tmcd/GNUmakefile.in
-
Srikanth Raju authored
This reverts commit f01c8d1e091729f77f1883cdc5fd46a1b8d46198. No longer need this stuff
-
Srikanth Raju authored
This is a leak!
-
Srikanth Raju authored
This way I can throw away all the manual mysql handling that I was doing
-
Srikanth Raju authored
This was so we won't need a daemon library
-
Srikanth Raju authored
-
Srikanth Raju authored
-
Srikanth Raju authored
-
Srikanth Raju authored
-
Srikanth Raju authored
-
Srikanth Raju authored
-
Srikanth Raju authored
-
Srikanth Raju authored
-
Srikanth Raju authored
-
Srikanth Raju authored
-
Srikanth Raju authored
-
Srikanth Raju authored
-
Srikanth Raju authored
-
Srikanth Raju authored
-
Srikanth Raju authored
-
Srikanth Raju authored
-
Srikanth Raju authored
-