From 6be291dae87fcb00b1127a119dc8ff68e5c4bf74 Mon Sep 17 00:00:00 2001 From: jbjohnso Date: Sat, 6 Sep 2008 22:13:56 +0000 Subject: [PATCH] Add switches table to configure the paramaters to interrogate switches with git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2084 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- perl-xCAT/xCAT/Schema.pm | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/perl-xCAT/xCAT/Schema.pm b/perl-xCAT/xCAT/Schema.pm index e020d3ede..0acec20c2 100644 --- a/perl-xCAT/xCAT/Schema.pm +++ b/perl-xCAT/xCAT/Schema.pm @@ -309,6 +309,19 @@ noderes => { disable => "Set to 'yes' or '1' to comment out this row.", }, }, + switches => { + cols => [qw(switch snmpversion username password privacy auth comments disable)], + keys => [qw(switch)], + table_desc => 'Parameters to use when interrogating switches', + descriptions => { + switch => 'The hostname/address of the switch to which the settings apply', + snmpversion => 'The version to use to communicate with switch. SNMPv1 is assumed by default.', + username => 'The username to use for SNMPv3 communication, ignored for SNMPv1', + password => 'The password or community string to use for SNMPv3 or SNMPv1 respectively. Falls back to passwd table, and site snmpc value if using SNMPv1', + privacy => 'The privacy protocol to use for v3. DES is assumed if v3 enabled, as it is the most readily available.', + auth => 'The authentication protocol to use for SNMPv3. SHA is assumed if v3 enabled and this is unspecified', + }, + }, nodetype => { cols => [qw(node os arch profile nodetype comments disable)], keys => [qw(node)],