diff options
author | Donald Sharp <sharpd@cumulusnetworks.com> | 2017-04-06 02:52:32 +0200 |
---|---|---|
committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2017-04-06 02:52:32 +0200 |
commit | 97133f79155933685f6f839072d9d92a804a37dd (patch) | |
tree | 025729327a795c89aba46888af8b0ad897b9eca5 /vtysh/extract.pl.in | |
parent | eigrpd: Fix add and delete of routes into the rib (diff) | |
parent | Merge pull request #336 from dwalton76/bgpd-allowas-in-removal (diff) | |
download | frr-97133f79155933685f6f839072d9d92a804a37dd.tar.xz frr-97133f79155933685f6f839072d9d92a804a37dd.zip |
Merge remote-tracking branch 'origin/master' into EIGRP
Diffstat (limited to 'vtysh/extract.pl.in')
-rwxr-xr-x | vtysh/extract.pl.in | 66 |
1 files changed, 4 insertions, 62 deletions
diff --git a/vtysh/extract.pl.in b/vtysh/extract.pl.in index 4dddb809a..169220c77 100755 --- a/vtysh/extract.pl.in +++ b/vtysh/extract.pl.in @@ -33,63 +33,6 @@ print <<EOF; EOF -$ignore{'"interface IFNAME"'} = "ignore"; -$ignore{'"interface IFNAME " "vrf (0-65535)"'} = "ignore"; -$ignore{'"interface IFNAME " "vrf NAME"'} = "ignore"; -$ignore{'"link-params"'} = "ignore"; -$ignore{'"vrf NAME"'} = "ignore"; -$ignore{'"ip vrf NAME"'} = "ignore"; -$ignore{'"router rip"'} = "ignore"; -$ignore{'"router ripng"'} = "ignore"; -$ignore{'"router ospf"'} = "ignore"; -$ignore{'"router ospf (1-65535)"'} = "ignore"; -$ignore{'"router ospf6"'} = "ignore"; -$ignore{'"mpls ldp"'} = "ignore"; -$ignore{'"l2vpn WORD type vpls"'} = "ignore"; -$ignore{'"member pseudowire IFNAME"'} = "ignore"; -$ignore{'"router bgp"'} = "ignore"; -$ignore{'"router bgp " "(1-4294967295)"'} = "ignore"; -$ignore{'"router bgp " "(1-4294967295)" " <view|vrf> WORD"'} = "ignore"; -$ignore{'"router bgp [(1-4294967295) [<view|vrf> WORD]]"'} = "ignore"; -$ignore{'"router isis WORD"'} = "ignore"; -$ignore{'"router eigrp (1-65535)"'} = "ignore"; -$ignore{'"router zebra"'} = "ignore"; -$ignore{'"address-family ipv4"'} = "ignore"; -$ignore{'"address-family ipv4 [<unicast|multicast|vpn|encap>]"'} = "ignore"; -$ignore{'"address-family ipv6"'} = "ignore"; -$ignore{'"address-family ipv6 [<unicast|multicast|vpn|encap>]"'} = "ignore"; -$ignore{'"address-family vpnv4"'} = "ignore"; -$ignore{'"address-family vpnv4 unicast"'} = "ignore"; -$ignore{'"address-family ipv4 vrf NAME"'} = "ignore"; -$ignore{'"address-family <encap|encapv4>"'} = "ignore"; -$ignore{'"address-family encapv6"'} = "ignore"; -$ignore{'"address-family ipv4 encap"'} = "ignore"; -$ignore{'"address-family ipv6 encap"'} = "ignore"; -$ignore{'"address-family ipv6 vpn"'} = "ignore"; -$ignore{'"address-family vpnv6"'} = "ignore"; -$ignore{'"address-family vpnv6 unicast"'} = "ignore"; -$ignore{'"exit-address-family"'} = "ignore"; -$ignore{'"exit-link-params"'} = "ignore"; -$ignore{'"vnc defaults"'} = "ignore"; -$ignore{'"vnc l2-group NAME"'} = "ignore"; -$ignore{'"vnc nve-group NAME"'} = "ignore"; -$ignore{'"exit-vnc"'} = "ignore"; -$ignore{'"key chain WORD"'} = "ignore"; -$ignore{'"key (0-2147483647)"'} = "ignore"; -$ignore{'"route-map WORD <deny|permit> (1-65535)"'} = "ignore"; -$ignore{'"show route-map"'} = "ignore"; -$ignore{'"line vty"'} = "ignore"; -$ignore{'"who"'} = "ignore"; -$ignore{'"terminal monitor"'} = "ignore"; -$ignore{'"terminal no monitor"'} = "ignore"; -$ignore{'"show history"'} = "ignore"; -$ignore{'"router ospf [(1-65535)]"'} = "ignore"; -$ignore{'"address-family vpnv6 [unicast]"'} = "ignore"; -$ignore{'"address-family vpnv4 [unicast]"'} = "ignore"; -$ignore{'"logical-router (1-65535) ns NAME"'} = "ignore"; -$ignore{'"vrf-policy NAME"' } = "ignore"; -$ignore{'"exit-vrf-policy"' } = "ignore"; - my $cli_stomp = 0; foreach (@ARGV) { @@ -139,10 +82,10 @@ foreach (@ARGV) { $protocol = "VTYSH_RIPD"; } elsif ($file =~ /lib\/routemap\.c$/) { - $protocol = "VTYSH_RIPD|VTYSH_RIPNGD|VTYSH_OSPFD|VTYSH_OSPF6D|VTYSH_BGPD|VTYSH_ZEBRA|VTYSH_PIMD"; + $protocol = "VTYSH_RIPD|VTYSH_RIPNGD|VTYSH_OSPFD|VTYSH_OSPF6D|VTYSH_BGPD|VTYSH_ZEBRA|VTYSH_PIMD|VTYSH_EIGRPD"; } elsif ($file =~ /lib\/vrf\.c$/) { - $protocol = "VTYSH_RIPD|VTYSH_RIPNGD|VTYSH_OSPFD|VTYSH_OSPF6D|VTYSH_BGPD|VTYSH_ZEBRA"; + $protocol = "VTYSH_RIPD|VTYSH_RIPNGD|VTYSH_OSPFD|VTYSH_OSPF6D|VTYSH_BGPD|VTYSH_ZEBRA|VTYSH_EIGRPD"; } elsif ($file =~ /lib\/filter\.c$/) { $protocol = "VTYSH_ALL"; @@ -154,7 +97,7 @@ foreach (@ARGV) { if ($defun_array[1] =~ m/ipv6/) { $protocol = "VTYSH_RIPNGD|VTYSH_OSPF6D|VTYSH_BGPD|VTYSH_ZEBRA"; } else { - $protocol = "VTYSH_RIPD|VTYSH_OSPFD|VTYSH_BGPD|VTYSH_ZEBRA|VTYSH_PIMD"; + $protocol = "VTYSH_RIPD|VTYSH_OSPFD|VTYSH_BGPD|VTYSH_ZEBRA|VTYSH_PIMD|VTYSH_EIGRPD"; } } elsif ($file =~ /lib\/distribute\.c$/) { @@ -216,8 +159,7 @@ foreach (@ARGV) { $ecmd =~ s/\s+$//g; # Register $ecmd - if (defined ($cmd2str{$ecmd}) - && ! defined ($ignore{$cmd2str{$ecmd}})) { + if (defined ($cmd2str{$ecmd})) { my ($key); $key = $enode . "," . $cmd2str{$ecmd}; $ocmd{$key} = $ecmd; |