Skip to content

Commit

Permalink
ncm-metaconfig: cumulus: Fix wrapping and indentation in pan
Browse files Browse the repository at this point in the history
  • Loading branch information
jrha committed Dec 12, 2024
1 parent ec20d0d commit 5715a2f
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ prefix "/software/components/metaconfig/services/{/etc/cumulus/acl/policy.d/50_q
'in-interface', list('swp1'),
'protocol', 'tcp',
'dport', list(80, 90), # range
);
);
"iptables/1" = dict(
'append', 'INPUT',
'jump', 'DROP',
Expand All @@ -20,10 +20,10 @@ prefix "/software/components/metaconfig/services/{/etc/cumulus/acl/policy.d/50_q
'tcp-flags', dict( # --syn
'mask', list('SYN', 'ACK', 'FIN', 'RST'),
'compare', list('SYN'),
),
),
'invert', dict(
'source', true,
'sport', true,
'out-interface', true,
),
);
),
);
Original file line number Diff line number Diff line change
Expand Up @@ -7,34 +7,34 @@ prefix "/software/components/metaconfig/services/{/etc/frr/frr.conf}/contents/vr
"network", "1.2.3.4",
"mask", 24,
"nexthop", "11.12.13.14",
);
);
"vrf1/1" = dict(
"network", "0.0.0.0",
"mask", 0,
"nexthop", "null0"
);
);
"some/0" = dict(
"network", "2.3.4.5",
"mask", 20,
"nexthop", "12.13.14.15",
);
);

prefix "/software/components/metaconfig/services/{/etc/frr/frr.conf}/contents/bgp";
"vrf1/0" = dict(
"asn", 12345,
"routerid", "1.2.3.4",
"external", "4.5.6.7",
"ipv4", list("10.1.0.0/24", "172.20.0.0/16"),
);
);
"vrf1/1" = dict(
"asn", 12346,
"routerid", "1.2.3.5",
"external", "4.5.6.8",
"ipv4", list("10.2.0.0/24", "172.21.0.0/16"),
);
);
"vrf2/0" = dict(
"asn", 12346,
"routerid", "1.2.3.6",
"external", "4.5.6.8",
"ipv4", list("10.3.0.0/24", "172.22.0.0/16"),
);
);

0 comments on commit 5715a2f

Please sign in to comment.