- 02 Jun, 2014 1 commit
-
-
Mike Hibler authored
Since GUIDs are 16 bytes and our current interface MACs are only 12 bytes, I agonized over whether to grow the mac column to 16 bytes and just treat it as a unique identifier (which is all we use that column for anyway). However, in the end I just added a new guid column as there were mac columns in a variety of other tables and it wasn't clear what the relationship was and what I might break. So, the newnode MFS will now report back a GUID for interfaces it recognizes as IB (FreeBSD-specific right now). The boss-side checkin code with stash that value in new_interfaces (and later interfaces when added). For possible backward compat, it will also generate a MAC address from that (possibly Mellanox-specific) so that all entries in the interfaces table will have a MAC (yes, it should really be the other way around--all interfaces should always have a guid). End of story. We don't do anything else with IB right now other than stash an interface GUID.
-
- 02 Jan, 2014 1 commit
-
-
Mike Hibler authored
Also, don't put password/key on the command line.
-
- 26 Dec, 2013 1 commit
-
-
Mike Hibler authored
-
- 09 Aug, 2013 1 commit
-
-
Leigh B Stoller authored
-
- 30 Apr, 2013 1 commit
-
-
Leigh B Stoller authored
-
- 02 Jan, 2013 1 commit
-
-
Leigh B Stoller authored
-
- 24 Sep, 2012 1 commit
-
-
Eric Eide authored
This commit is intended to makes the license status of Emulab and ProtoGENI source files more clear. It replaces license symbols like "EMULAB-COPYRIGHT" and "GENIPUBLIC-COPYRIGHT" with {{{ }}}-delimited blocks that contain actual license statements. This change was driven by the fact that today, most people acquire and track Emulab and ProtoGENI sources via git. Before the Emulab source code was kept in git, the Flux Research Group at the University of Utah would roll distributions by making tar files. As part of that process, the Flux Group would replace the license symbols in the source files with actual license statements. When the Flux Group moved to git, people outside of the group started to see the source files with the "unexpanded" symbols. This meant that people acquired source files without actual license statements in them. All the relevant files had Utah *copyright* statements in them, but without the expanded *license* statements, the licensing status of the source files was unclear. This commit is intended to clear up that confusion. Most Utah-copyrighted files in the Emulab source tree are distributed under the terms of the Affero GNU General Public License, version 3 (AGPLv3). Most Utah-copyrighted files related to ProtoGENI are distributed under the terms of the GENI Public License, which is a BSD-like open-source license. Some Utah-copyrighted files in the Emulab source tree are distributed under the terms of the GNU Lesser General Public License, version 2.1 (LGPL).
-
- 21 Apr, 2012 1 commit
-
-
Leigh B Stoller authored
Appears to be a known problem (well, feature). So, I added ilo3 as a type and use that to send the proper termination (formfeed).
-
- 27 Mar, 2012 1 commit
-
-
Leigh B Stoller authored
management interfaces more of a first class citizen instead of a hack. New script: management_iface -t <type> -a [key|pswd] [-s <switchinfo>] <node_id> mac IP arg1 arg2 management_iface -r <node_id> -h This message -t type Management type; ilo, ilo2, drac -s info Optional switch info; switch,card,port -s - Search output of switchmac to find switch info -a pswd Password auth; provide login and password. -a key SSH key auth; provide login and key path. -r Remove management interface from DB. which adds the management interface to the database (interfaces, outlets and outlets_remoteauth. Optionally adds the wires table entry if you add -s option. Uses switchmac to find the switch info or you can specify it on the command line. So for example, here is what I did to add the ilo2 interface for a node: management_iface -t ilo2 -a pswd -s - pc1 e8:39:35:ae:c9:7c \ 155.98.34.100 elabman mypasswd or management_iface -t ilo2 -a key -s - pc1 e8:39:35:ae:c9:7c \ 155.98.34.100 elabman /root/.ssh/somekey Of course someone had to have added the elabman user and key or password to the ilo config via its interface. * dhcpd_makeconf will add local node management interfaces to the config file. We can set them to dhcp instead of hardwiring the IP in the management interface. * The DB changes add a management type to the enums in the interfaces and wires table, and updates the existing interface entries.
-