- 19 Jun, 2015 7 commits
-
-
Kirk Webb authored
-
Kirk Webb authored
Note: Since snmpit runs as the user, we don't rely on root's ssh keys for Netconf authentication. The username and password to use can be encoded in the "community" field in the database (switch_stack_types, or overridden in switch_stacks): <community>[:<user>[:<pass>]] User/password default to: username: snmpit password: <community>
-
Kirk Webb authored
-
Kirk Webb authored
This commit fills in all of the snmpit OF API calls for the Comware module. Note that Comware doesn't support OF "listener" ports, such as are available on the Procurve/Provision switches. Therefore, the functions related to listener ports return an error. It is assumed that when "disableOpenflow()" is called, that the caller also intends to destroy the related OpenFlow instance on the switch. There is no other call in the snmpit API for explicitly removing OF instances.
-
Kirk Webb authored
I don't know what I like most about this module, working with Expect or handling XML namespaces... Includes the basics of the Netconf protocol. Only tested with HP Netconf-over-ssh (Comware)! Main interface calls: $ncobj = snmpit_libNetconf->new($switch, $userpass, $port, $debuglvl) Create a new Netconf library object, pointed at switch host $switch. Username with optional password are passed as second argument (delimit with ':'). $port is port to connect to, and $debuglvl is the debugging level. Last two arguments are optional. $ncobj->doGet($filter) Execute Netconf "Get", with optional Netconf XML filter argument. $ncobj->doGetConfig($filter, $source) Get entire switch config, or partial config if $filter is supplied. $source is which config (running or saved). Arguments are optional. $ncobj->doEditConfig($xmlconf, $target, $defop); Edit the switch's config. $xmlconf is an XML::LibXML::Node object containing the XML-encoded configuration update. $target identifies what to apply it to (running or startup. Defaults to running). $defop is the default operation (merge, replace, none. Defaults to "merge"). Last two arguments are optional. $ncobj->doRPC($cmd, $xmlarg) Generic RPC dispatcher (Used by the other "do" commands above). $cmd is the rpc command to execute. Optional $xmlarg parameter is an XML:LibXML::Node object that encodes the arguments to $cmd.
-
Leigh B Stoller authored
-
Leigh B Stoller authored
>= 2, return lba size info.
-
- 17 Jun, 2015 4 commits
-
-
Mike Hibler authored
-
Leigh B Stoller authored
-
Leigh B Stoller authored
-
Leigh B Stoller authored
-
- 15 Jun, 2015 7 commits
-
-
Leigh B Stoller authored
-
Leigh B Stoller authored
-
Leigh B Stoller authored
-
Leigh B Stoller authored
-
Leigh B Stoller authored
-
Leigh B Stoller authored
-
Leigh B Stoller authored
-
- 12 Jun, 2015 5 commits
-
-
Dan Reading authored
author Joby Poriyath <joby.poriyath@citrix.com> Tue, 4 Feb 2014 18:10:35 +0000 (18:10 +0000) menuentry in grub2/grub.cfg uses linux16 and initrd16 commands instead of linux and initrd. In addition to this, RHEL 7 menu entries have two different single-quote delimited strings on the same line, add the greedy grouping for menuentry
-
Mike Hibler authored
-
Mike Hibler authored
-
Mike Hibler authored
As of June 2015, the FreeBSD port no longer maintains the /usr/bin/perl symlink which we rely on, so it may be wrong or missing.
-
Leigh B Stoller authored
-
- 11 Jun, 2015 1 commit
-
-
Leigh B Stoller authored
-
- 10 Jun, 2015 8 commits
-
-
Leigh B Stoller authored
1. I removed exports_setup from tbacct, we seem to have fixed all the places where we were touching the user home directory during account creation. 2. I also removed exports_setup from web login for nonlocal (geni) users, since nothing on the Cloudlab path touches the user home directory, including starting a new experiment (geni users are not allowed to use any other part of the web interface, so Emulab Classic is off limits).
-
Leigh B Stoller authored
-
Leigh B Stoller authored
-
Jonathon Duerig authored
-
Robert Ricci authored
-
Leigh B Stoller authored
-
Leigh B Stoller authored
-
Leigh B Stoller authored
Currently using it for the stitcher log, more later. Needed to a little rearranging in spewlogfile.php3 so that I could use it from the Cloudlab UI.
-
- 09 Jun, 2015 8 commits
-
-
Leigh B Stoller authored
-
Leigh B Stoller authored
-
Leigh B Stoller authored
These need to be generalized since its probably not the last non Emulab aggregate we are going to talk to.
-
Leigh B Stoller authored
the source is the geni-lib script.
-
Leigh B Stoller authored
-
Leigh B Stoller authored
-
Leigh B Stoller authored
-
Leigh B Stoller authored
-