ansible/ansible — pull request #3861 by djoreilly (2013-08-15 19:04:09+00:00)
Title: quantum_network should not default network provider type to local

It should allow the Quantum service to decide based on its configuration.

The quantum_network module is not consistent with the Quantum CLI when provider network type is not specified. When you do:

$ quantum net-create net1

the Quantum service will pick the type and use the next available segementation_id from that pool or gre or vlan ids. Eg. for the OpenvSwitch plugin this is whatever tenant_network_type is set to in ovs_quantum_plugin.ini. Also the types available depends on the plugin and how it is configured. Eg the LinuxBridge plugin does not have type gre, and the OVS plugin may not be configured for both gre and vlan.

Also users without the admin role cannot see or set these attributes, but they can't use this module anyway - that's a different problem.

This pull request makes quantum_network work like the Quantum CLI when the provider type is not specified.