summaryrefslogtreecommitdiff
path: root/lib/oxidized/model
diff options
context:
space:
mode:
authorcpk <electriceel1985@gmail.com>2017-03-01 19:21:35 -0500
committercpk <electriceel1985@gmail.com>2017-03-01 19:21:35 -0500
commit463608066f3e23998d80b3279e0d15e12b1573dc (patch)
tree711845f2d6c7b45cd91047b967b0131ca57e21c2 /lib/oxidized/model
parent268a9381de0220cef0b510441060e9a422e81d9b (diff)
traffic.conf and ports.conf are important configuration files that should be backed up
Diffstat (limited to 'lib/oxidized/model')
-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'