summaryrefslogtreecommitdiff
path: root/lib/oxidized/model/cumulus.rb
diff options
context:
space:
mode:
authorytti <saku@ytti.fi>2017-03-05 16:25:40 +0200
committerGitHub <noreply@github.com>2017-03-05 16:25:40 +0200
commit85b29b7b74c6c32d80fcd877b954977443155fbd (patch)
tree711845f2d6c7b45cd91047b967b0131ca57e21c2 /lib/oxidized/model/cumulus.rb
parent268a9381de0220cef0b510441060e9a422e81d9b (diff)
parent463608066f3e23998d80b3279e0d15e12b1573dc (diff)
Merge pull request #748 from electriceel1985/cumulus_work
more Cumulus files backed up
Diffstat (limited to 'lib/oxidized/model/cumulus.rb')
-rw-r--r--lib/oxidized/model/cumulus.rb10
1 files changed, 8 insertions, 2 deletions
diff --git a/lib/oxidized/model/cumulus.rb b/lib/oxidized/model/cumulus.rb
index 3a7e995..20acb8a 100644
--- a/lib/oxidized/model/cumulus.rb
+++ b/lib/oxidized/model/cumulus.rb
@@ -60,15 +60,21 @@ class Cumulus < Oxidized::Model
cfg += add_comment 'PASSWD'
cfg += cmd 'cat /etc/passwd'
- cfg += add_comment ' SWITCHD'
+ cfg += add_comment 'SWITCHD'
cfg += cmd 'cat /etc/cumulus/switchd.conf'
+ cfg += add_comment 'PORTS'
+ cfg += cmd 'cat /etc/cumulus/ports.conf'
+
+ cfg += add_comment 'TRAFFIC'
+ cfg += cmd 'cat /etc/cumulus/datapath/traffic.conf'
+
cfg += add_comment 'ACL'
cfg += cmd 'iptables -L -n'
cfg += add_comment 'VERSION'
cfg += cmd 'cat /etc/cumulus/etc.replace/os-release'
-
+
cfg += add_comment 'License'
cfg += cmd 'cl-license'