[netcf-devel] VLAN interfaces (take 2)

David Lutterkort lutter at redhat.com
Tue Jun 30 20:21:33 UTC 2009


This is the second take on adding vlan interfaces. The format has been
changed according to Dan's suggestion, so that a bridge with an enslaved
VLAN now looks like

  <interface type="bridge" name="br0">
    <start mode="onboot"/>
    <protocol family="ipv4">
      <dhcp/>
    </protocol>
    <bridge stp="off">
      <interface type="vlan" name="eth0.42">
        <vlan tag="42">
          <interface  name="eth0"/>
        </vlan>
      </interface>
    </bridge>
  </interface>

Besides changing the way how the base interface for a VLAN interface is
expressed (with the nested <vlan/>) tag, these patches have also been
rebased to work with the changes for interface/@name and interface/start
that I just posted.

I'll probably commit these in the next few hours, since I won't be around
tomorrow, so people can follow along more easily at home.

David


More information about the netcf-devel mailing list