This PR adds support for a xenorchestra_network resource (https://github.com/terra-farm/terraform-provider-xenorchestra/issues/119). This resource is capable of creating non bonded and non private (XO SDN) networks. Bonded networks will be tackled in an upcoming change and should be implemented within this same resource.
Todo
[x] Add support for specifying the VLAN of a network
[x] Verified not specifying XOA_PIF will skip the network tests (since creating vlans may cause a network disruption)
[x] Evaluate if bonded networks belong in this resource or in a separate one -- bonded network should be able to work within a single resource
[x] Add resource documentation
[x] Address default values more gracefully in Client.CreateNetwork and Client.UpdateNetwork
[x] Address bug where automatic and defaultIsLocked are not settable on initial creation
[x] Handle eventual consistency of automatic property rather than sleeping.
This PR adds support for a
xenorchestra_network
resource (https://github.com/terra-farm/terraform-provider-xenorchestra/issues/119). This resource is capable of creating non bonded and non private (XO SDN) networks. Bonded networks will be tackled in an upcoming change and should be implemented within this same resource.Todo
XOA_PIF
will skip the network tests (since creating vlans may cause a network disruption)Client.CreateNetwork
andClient.UpdateNetwork
automatic
anddefaultIsLocked
are not settable on initial creationautomatic
property rather than sleeping.