~james-page/charms/trusty/neutron-openvswitch/resync

« back to all changes in this revision

Viewing changes to unit_tests/test_neutron_ovs_context.py

  • Committer: james.page at ubuntu
  • Date: 2014-10-03 11:20:54 UTC
  • mfrom: (32.1.3 neutron-openvswitch)
  • Revision ID: james.page@ubuntu.com-20141003112054-mtr0cu6623e84kj8
[gnuoy,r=james-page] Add support for configurable tenant network overlay types via neutron-api

Show diffs side-by-side

added added

removed removed

Lines of Context:
90
90
        self.relation_ids.return_value = ['rid2']
91
91
        self.test_relation.set({'neutron-security-groups': 'yes',
92
92
                                'l2-population': True,
 
93
                                'overlay-network-type': 'gre',
93
94
                                })
94
95
        self.get_host_ip.return_value = '127.0.0.15'
95
96
        self.service_running.return_value = False
107
108
            'neutron_plugin': 'ovs',
108
109
            'neutron_url': 'https://127.0.0.13:9696',
109
110
            'l2_population': True,
 
111
            'overlay_network_type': 'gre',
110
112
        }
111
113
        self.assertEquals(expect, napi_ctxt())
112
114
        self.service_start.assertCalled()