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

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

Instance Method Summary collapse

Methods inherited from Base

#ansible_name, #to_h

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

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

Constructor Details

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

Instance Method Details

#admin_state_upBoolean?

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

Returns:

  • (Boolean, nil)

    Whether the state should be marked as up or down.



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

attribute :admin_state_up

#externalBoolean?

Returns Whether this network is externally accessible.

Returns:

  • (Boolean, nil)

    Whether this network is externally accessible.



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

attribute :external

#nameString

Returns Name to be assigned to the network.

Returns:

  • (String)

    Name to be assigned to the network.



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

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)



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

attribute :project

#provider_network_type:flat, ...

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

Returns:

  • (:flat, :vlan, :vxlan, :gre, nil)

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



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

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.



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

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.



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

attribute :provider_segmentation_id

#sharedBoolean?

Returns Whether this network is shared or not.

Returns:

  • (Boolean, nil)

    Whether this network is shared or not.



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

attribute :shared

#state:present, ...

Returns Indicate desired state of the resource.

Returns:

  • (:present, :absent, nil)

    Indicate desired state of the resource.



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

attribute :state