From 463608066f3e23998d80b3279e0d15e12b1573dc Mon Sep 17 00:00:00 2001 From: cpk Date: Wed, 1 Mar 2017 19:21:35 -0500 Subject: traffic.conf and ports.conf are important configuration files that should be backed up --- lib/oxidized/model/cumulus.rb | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'lib') 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' -- cgit v1.2.1