~openstack-charm-testers/openstack-charm-testing/ceph-rados-gateway-testing

« back to all changes in this revision

Viewing changes to bin/quantum-ext-net

  • Committer: Ryan Beisner
  • Date: 2016-06-15 16:33:15 UTC
  • mfrom: (215.1.1 openstack-charm-testing)
  • Revision ID: ryan.beisner@canonical.com-20160615163315-wwlwt3tpbejirjyr
[james-page, r=1chb1n] Refactoring to support use of new style external network configuration.

Changes basically reproduce the deprecated configuration in the newer
style.

Show diffs side-by-side

added added

removed removed

Lines of Context:
99
99
        elif opts.network_type == 'vlan':
100
100
            network_msg['network']['provider:segmentation_id'] = 2
101
101
            network_msg['network']['provider:physical_network'] = 'physnet1'
 
102
        elif opts.network_type == 'flat':
 
103
            network_msg['network']['provider:physical_network'] = 'physnet1'
102
104
        else:
103
105
            network_msg['network']['provider:segmentation_id'] = 2
104
106