Branch: refs/heads/master
  Home:   https://github.com/greearb/xorp.ct

  Commit: a1a240230e26fc7225769e4284b81dee6a94d33d
      
https://github.com/greearb/xorp.ct/commit/a1a240230e26fc7225769e4284b81dee6a94d33d
  Author: Ben Greear <[email protected]>
  Date:   2011-10-04 (Tue, 04 Oct 2011)

  Changed paths:
    M xorp/fea/data_plane/ifconfig/ifconfig_set.cc
  M xorp/fea/data_plane/ifconfig/ifconfig_vlan_set_linux.cc
  M xorp/fea/data_plane/ifconfig/ifconfig_vlan_set_linux.hh
  M xorp/fea/ifconfig_vlan_set.hh
  M xorp/fea/iftree.cc
  M xorp/fea/iftree.hh

  Log Message:
  -----------
  fea/vlans:  Don't delete vlans unless xorp created them.

Xorp can create 802.1q VLANs, and if so, it will set a flag
internally marking the vlan as being created by xorp.

When an 802.1q vlan interface is removed from xorp the
interface will be deleted from the OS if and only if the
VLAN was flagged as created by xorp.

If this restriction proves to be a problem for anyone, I can
add an environ-variable that will allow forcing delete of all
VLANs and/or perhaps disable VLAN deletion entirely.

Signed-off-by: Ben Greear <[email protected]>


_______________________________________________
Xorp-hackers mailing list
[email protected]
http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/xorp-hackers

Reply via email to