~niedbalski/ubuntu/vivid/neutron/fixes-1447803

« back to all changes in this revision

Viewing changes to .pc/disable-udev-tests.patch/neutron/tests/unit/linuxbridge/test_lb_neutron_agent.py

  • Committer: Package Import Robot
  • Author(s): James Page
  • Date: 2014-10-03 18:45:23 UTC
  • mfrom: (1.1.15)
  • Revision ID: package-import@ubuntu.com-20141003184523-4mt6dy1q3j8n30c9
Tags: 1:2014.2~rc1-0ubuntu1
* New upstream release candidate:
  - d/p/*: Refreshed.
  - d/control: Add python-requests-mock to BD's.
  - d/control: Align versioned requirements with upstream.
* Transition linuxbridge and openvswitch plugin users to modular
  layer 2 plugin (LP: #1323729):
  - d/control: Mark removed plugin packages as transitional, depend
    on neutron-plugin-ml2, mark oldlibs/extra.
  - d/neutron-plugin-{linuxbridge,openvswitch}.install: Drop.
  - d/control: Depend on neutron-plugin-ml2 for linuxbridge
    agent package.
  - d/neutron-plugin-linuxbridge-agent.upstart: Use ml2 plugin
    configuration files.

Show diffs side-by-side

added added

removed removed

Lines of Context:
377
377
    def test_get_tap_device_name(self):
378
378
        if_id = "123456789101112"
379
379
        self.assertEqual(self.lbm.get_tap_device_name(if_id),
380
 
                         "tap" + if_id[0:11])
 
380
                         constants.TAP_DEVICE_PREFIX + if_id[0:11])
381
381
        if_id = ""
382
382
        self.assertEqual(self.lbm.get_tap_device_name(if_id),
383
 
                         "tap")
 
383
                         constants.TAP_DEVICE_PREFIX)
384
384
 
385
385
    def test_get_vxlan_device_name(self):
386
386
        vn_id = constants.MAX_VXLAN_VNI