-
Notifications
You must be signed in to change notification settings - Fork 583
Compute V2: Allow VMs without a network. #1883
Description
Starting with microversion 2.37, network object in servers.CreateOpts can be a string: auto or none. none allows to create a VM without a network.
Starting with microversion 2.37, this field is required and the special string values auto and none can be specified for networks. auto tells the Compute service to use a network that is available to the project, if one exists. If one does not exist, the Compute service will attempt to automatically allocate a network for the project (if possible). none tells the Compute service to not allocate a network for the instance. The auto and none values cannot be used with any other network values, including other network uuids, ports, fixed IPs or device tags. These are requested as strings for the networks value, not in a list. See the associated example.
(c) https://docs.openstack.org/api-ref/compute/?expanded=create-server-detail#create-server
refs: