[Bug 1454504] [NEW] Openflow 1.3 version script failing with BSN

jayachandran jayachandran.subramanian at wipro.com
Wed May 13 06:17:25 UTC 2015


Public bug reported:

I have executed github openflow 1.3 scripts with Openvswitch and got the
below error as openvswitch not accepting the message (OFPBRC_EPERM)

======================================================================
FAIL: bsn_gentable.SetBucketsSizeError
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/root/oftest/tests-1.3/bsn_gentable.py", line 657, in runTest
    self.assertEquals(error.code, ofp.OFPBRC_EPERM)
AssertionError: 3 != 5

Scripts:
class EntryStatsFragmented(BaseGenTableTest):
    """
    Test retrieving entry stats in mutiple replies
    """
    def runTest(self):
        # Add a bunch of entries
        # Enough for 3 stats replies
        for i in range(0, 4095):
            self.do_add(vlan_vid=i, ipv4=0x12345678, mac=(0, 1, 2, 3, 4, 5))

        do_barrier(self.controller)
        verify_no_errors(self.controller)

        entries = self.do_entry_stats()
        seen = set()
        for entry in entries:
            key = tlv_dict(entry.key)
            vlan_vid = key[ofp.bsn_tlv.vlan_vid]
            self.assertNotIn(vlan_vid, seen)
            seen.add(vlan_vid)

        self.assertEquals(seen, set(range(0, 4095)))

Also , bsn_gentable scripts all are failing due to “error.err_type,
error.code” .PFA errors.

Thanks 
Jay

** Affects: openvswitch (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to openvswitch in Ubuntu.
https://bugs.launchpad.net/bugs/1454504

Title:
  Openflow 1.3 version script failing with BSN

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openvswitch/+bug/1454504/+subscriptions



More information about the Ubuntu-server-bugs mailing list