diff options
author | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2010-01-05 15:34:56 -0800 |
---|---|---|
committer | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2010-01-05 15:34:56 -0800 |
commit | c5e6a28f5697e9448dbb343f5023709cbc2d3c8b (patch) | |
tree | 05d387c41900933fb729b7a6cfd0d0c98bfb92ea /scripts/snmp | |
parent | fa603975fdbbc7726dbb923e6cb2fc0649c28a98 (diff) | |
download | vyatta-cfg-quagga-c5e6a28f5697e9448dbb343f5023709cbc2d3c8b.tar.gz vyatta-cfg-quagga-c5e6a28f5697e9448dbb343f5023709cbc2d3c8b.zip |
Change 'protocols snmp' to 'service snmp'
Bug 212
The entries in config under protocols were all routing protocols
except SNMP which was an unfortunate original design choice.
Config script does migration.
Diffstat (limited to 'scripts/snmp')
-rw-r--r-- | scripts/snmp/vyatta-snmp.pl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/snmp/vyatta-snmp.pl b/scripts/snmp/vyatta-snmp.pl index b4257d03..80276043 100644 --- a/scripts/snmp/vyatta-snmp.pl +++ b/scripts/snmp/vyatta-snmp.pl @@ -104,7 +104,7 @@ sub randhex { sub snmp_get_values { my $config = new Vyatta::Config; - $config->setLevel("protocols snmp community"); + $config->setLevel("service snmp community"); my @communities = $config->listNodes(); foreach my $community (@communities) { @@ -141,7 +141,7 @@ sub snmp_get_values { } } - $config->setLevel("protocols snmp"); + $config->setLevel("service snmp"); my $contact = $config->returnValue("contact"); if (defined $contact) { print "syscontact \"$contact\" \n"; |