Class: Ansible::Ruby::Modules::Os_network

Inherits:
Base show all
Defined in:
lib/ansible/ruby/modules/generated/cloud/openstack/os_network.rb

Overview

Add or remove network from OpenStack.

Instance Method Summary collapse

Methods inherited from Base

#ansible_name, #to_h

Methods inherited from Ansible::Ruby::Models::Base

attr_option, attr_options, attribute, fix_inclusion, #initialize, remove_existing_validations, #to_h, validates

Constructor Details

This class inherits a constructor from Ansible::Ruby::Models::Base

Instance Method Details

#admin_state_up:yes, ...

Returns Whether the state should be marked as up or down.

Returns:

  • (:yes, :no, nil)

    Whether the state should be marked as up or down.



20
# File 'lib/ansible/ruby/modules/generated/cloud/openstack/os_network.rb', line 20

attribute :admin_state_up

#availability_zoneObject?

Returns Ignored. Present for backwards compatibility.

Returns:

  • (Object, nil)

    Ignored. Present for backwards compatibility



44
# File 'lib/ansible/ruby/modules/generated/cloud/openstack/os_network.rb', line 44

attribute :availability_zone

#external:yes, ...

Returns Whether this network is externally accessible.

Returns:

  • (:yes, :no, nil)

    Whether this network is externally accessible.



24
# File 'lib/ansible/ruby/modules/generated/cloud/openstack/os_network.rb', line 24

attribute :external

#nameString

Returns Name to be assigned to the network.

Returns:

  • (String)

    Name to be assigned to the network.



12
# File 'lib/ansible/ruby/modules/generated/cloud/openstack/os_network.rb', line 12

attribute :name

#projectObject?

Returns Project name or ID containing the network (name admin-only).

Returns:

  • (Object, nil)

    Project name or ID containing the network (name admin-only)



41
# File 'lib/ansible/ruby/modules/generated/cloud/openstack/os_network.rb', line 41

attribute :project

#provider_network_typeObject?

Returns The type of physical network that maps to this network resource.

Returns:

  • (Object, nil)

    The type of physical network that maps to this network resource.



35
# File 'lib/ansible/ruby/modules/generated/cloud/openstack/os_network.rb', line 35

attribute :provider_network_type

#provider_physical_networkObject?

Returns The physical network where this network object is implemented.

Returns:

  • (Object, nil)

    The physical network where this network object is implemented.



32
# File 'lib/ansible/ruby/modules/generated/cloud/openstack/os_network.rb', line 32

attribute :provider_physical_network

#provider_segmentation_idObject?

Returns An isolated segment on the physical network. The I(network_type) attribute defines the segmentation model. For example, if the I(network_type) value is vlan, this ID is a vlan identifier. If the I(network_type) value is gre, this ID is a gre key.

Returns:

  • (Object, nil)

    An isolated segment on the physical network. The I(network_type) attribute defines the segmentation model. For example, if the I(network_type) value is vlan, this ID is a vlan identifier. If the I(network_type) value is gre, this ID is a gre key.



38
# File 'lib/ansible/ruby/modules/generated/cloud/openstack/os_network.rb', line 38

attribute :provider_segmentation_id

#shared:yes, ...

Returns Whether this network is shared or not.

Returns:

  • (:yes, :no, nil)

    Whether this network is shared or not.



16
# File 'lib/ansible/ruby/modules/generated/cloud/openstack/os_network.rb', line 16

attribute :shared

#state:present, ...

Returns Indicate desired state of the resource.

Returns:

  • (:present, :absent, nil)

    Indicate desired state of the resource.



28
# File 'lib/ansible/ruby/modules/generated/cloud/openstack/os_network.rb', line 28

attribute :state