diff options
-rw-r--r-- | debian/changelog | 10 | ||||
-rwxr-xr-x | lib/Vyatta/Interface.pm | 5 | ||||
-rw-r--r-- | templates/priority | 10 |
3 files changed, 20 insertions, 5 deletions
diff --git a/debian/changelog b/debian/changelog index ee2b201..bb493b8 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,13 @@ +vyatta-cfg (0.14.68) unstable; urgency=low + + [ Stephen Hemminger ] + * Add support for virtual-ethernets + + [ Stig Thormodsrud ] + * Add more firewall priorities. + + -- Stig Thormodsrud <stig@vyatta.com> Sun, 26 Apr 2009 19:02:45 -0700 + vyatta-cfg (0.14.67) unstable; urgency=low [ Stephen Hemminger ] diff --git a/lib/Vyatta/Interface.pm b/lib/Vyatta/Interface.pm index 50122b4..b2a0041 100755 --- a/lib/Vyatta/Interface.pm +++ b/lib/Vyatta/Interface.pm @@ -51,6 +51,10 @@ use constant { IFF_ECHO => 0x40000, # echo sent packets }; +# +# Mapping from name to attributes +# path: configuration level below interfaces +# vif: places to look for vif (if any) my %net_prefix = ( 'adsl[\d]+' => { path => 'adsl', vif => 'vif', }, @@ -70,6 +74,7 @@ my %net_prefix = ( }, 'tun[\d]+' => { path => 'tunnel' }, 'wlm[\d]+' => { path => 'wireless-modem' }, + 'veth[\d]+' => { path => 'ethernet', vif => 'vif', }, ); # get list of interface types diff --git a/templates/priority b/templates/priority index c6e929d..64d2658 100644 --- a/templates/priority +++ b/templates/priority @@ -86,11 +86,11 @@ # 200 firewall/group -210 firewall/name -210 firewall/modify -210 firewall/ipv6-name -210 firewall/ipv6-modify -210 firewall +210 firewall/name/node.tag +210 firewall/modify/node.tag +210 firewall/ipv6-name/node.tag +210 firewall/ipv6-modify/node.tag +215 firewall 300 protocols/ospf 301 protocols/ospfv3 302 protocols/rip |