]> xenbits.xensource.com Git - libvirt.git/commitdiff
nwfilter: remove bogus 'protocolid' attribute on arp/rarp fields
authorDaniel P. Berrange <berrange@redhat.com>
Wed, 6 Dec 2017 16:23:54 +0000 (16:23 +0000)
committerDaniel P. Berrange <berrange@redhat.com>
Thu, 7 Dec 2017 09:21:04 +0000 (09:21 +0000)
Various example XML documents for arp/rarp filtering have a protocolid
XML attribute defined. This is never parsed or output by the libvirt XML
handling code, so shouldn't be present in example XML files either

Reviewed-by: John Ferlan <jferlan@redhat.com>
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
tests/nwfilterxml2firewalldata/arp.xml
tests/nwfilterxml2firewalldata/rarp.xml
tests/nwfilterxml2xmlin/arp-test.xml
tests/nwfilterxml2xmlin/chain_prefixtest1.xml
tests/nwfilterxml2xmlin/rarp-test.xml

index d0abf946ad8a37d6cf34495079889943b1733baa..657c4958a64a387a1c2ef4a4b89cbf827aca1828 100644 (file)
@@ -2,7 +2,6 @@
   <uuid>5c6d49af-b071-6127-b4ec-6f8ed4b55335</uuid>
   <rule action='accept' direction='out'>
      <arp srcmacaddr='1:2:3:4:5:6' srcmacmask='ff:ff:ff:ff:ff:ff'
-          protocolid='arp'
           dstmacaddr='aa:bb:cc:dd:ee:ff' dstmacmask='ff:ff:ff:ff:ff:ff'
           hwtype='12'
           protocoltype='34'
index 77c1127efcafdaa1c12e7cfacd84143314df9ca2..15f1ac92d1818e175eab83b3721331a038a0692a 100644 (file)
@@ -2,7 +2,6 @@
   <uuid>5c6d49af-b071-6127-b4ec-6f8ed4b55335</uuid>
   <rule action='accept' direction='out'>
      <rarp srcmacaddr='1:2:3:4:5:6' srcmacmask='ff:ff:ff:ff:ff:ff'
-           protocolid='rarp'
            dstmacaddr='aa:bb:cc:dd:ee:ff' dstmacmask='ff:ff:ff:ff:ff:ff'
            hwtype='12'
            protocoltype='34'
index e9d376836100ea1239fbeb0aa9617c090bf50522..02bf4a8857aaace13c54896ec4c65cc4ed399382 100644 (file)
@@ -2,7 +2,6 @@
   <uuid>5c6d49af-b071-6127-b4ec-6f8ed4b55335</uuid>
   <rule action='accept' direction='out'>
      <arp srcmacaddr='1:2:3:4:5:6' srcmacmask='ff:ff:ff:ff:ff:ff'
-          protocolid='arp'
           dstmacaddr='aa:bb:cc:dd:ee:ff' dstmacmask='ff:ff:ff:ff:ff:ff'
           hwtype='12'
           protocoltype='34'
index c2f3f77791ba2f300c6c80d0a270643aff1da35c..bd7f76f7d1a7a48e35d290397de5bac39280f227 100644 (file)
@@ -2,7 +2,6 @@
   <uuid>e5700920-a333-4c05-8016-b669e46b7599</uuid>
   <rule action='accept' direction='out'>
      <arp srcmacaddr='1:2:3:4:5:6' srcmacmask='ff:ff:ff:ff:ff:ff'
-          protocolid='arp'
           dstmacaddr='aa:bb:cc:dd:ee:ff' dstmacmask='ff:ff:ff:ff:ff:ff'
           hwtype='12'
           protocoltype='34'
index e08722204f439011f02552cf1d3522afedb9904b..0e3ee91db50061fabdda7a230e1759e2f7c6c8c2 100644 (file)
@@ -2,7 +2,6 @@
   <uuid>5c6d49af-b071-6127-b4ec-6f8ed4b55335</uuid>
   <rule action='accept' direction='out'>
      <rarp srcmacaddr='1:2:3:4:5:6' srcmacmask='ff:ff:ff:ff:ff:ff'
-           protocolid='rarp'
            dstmacaddr='aa:bb:cc:dd:ee:ff' dstmacmask='ff:ff:ff:ff:ff:ff'
            hwtype='12'
            protocoltype='34'