]> xenbits.xensource.com Git - libvirt.git/commit
Fix vlanid attribute name in nwfilter docs
authorJianwei Hu <jiahu@redhat.com>
Tue, 5 Aug 2014 05:25:16 +0000 (13:25 +0800)
committerJán Tomko <jtomko@redhat.com>
Tue, 5 Aug 2014 07:59:17 +0000 (09:59 +0200)
commit55f34fe3bdeb1aa2eb424fec3b8335ffff027a62
tree9a583322f5f334a4a883a967f5b479d50521dfcc
parent6dac5d06f5c155f7db679d3105ad7dbcc8d7d78f
Fix vlanid attribute name in nwfilter docs

'vlanid' is the attribute name in our XML,
'vlan-id' is the ebtables attribute:

[root@localhost ~]# virsh nwfilter-dumpxml myself
<filter name='myself' chain='root'>
  <uuid>7192ef51-cd50-4f14-ad7b-fa5c69ea19e3</uuid>
  <rule action='accept' direction='in' priority='500'>
    <vlan dstmacaddr='00:11:22:33:44:55' vlanid='44'/>
  </rule>
</filter>

[root@localhost ~]# ebtables -t nat -L
Bridge table: nat

...
-p 802_1Q -d 0:11:22:33:44:55 --vlan-id 44 -j ACCEPT

https://bugzilla.redhat.com/show_bug.cgi?id=1126721

Signed-off-by: Ján Tomko <jtomko@redhat.com>
docs/formatnwfilter.html.in