Skip to content

Compute V2: Allow VMs without a network. #1883

@kayrus

Description

@kayrus

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:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions