Class: Ansible::Ruby::Modules::Os_network
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Os_network
- Defined in:
- lib/ansible/ruby/modules/generated/cloud/openstack/os_network.rb
Overview
Add or remove network from OpenStack.
Instance Method Summary collapse
-
#admin_state_up ⇒ :yes, ...
Whether the state should be marked as up or down.
-
#availability_zone ⇒ Object?
Ignored.
-
#external ⇒ :yes, ...
Whether this network is externally accessible.
-
#name ⇒ String
Name to be assigned to the network.
-
#project ⇒ Object?
Project name or ID containing the network (name admin-only).
-
#provider_network_type ⇒ Object?
The type of physical network that maps to this network resource.
-
#provider_physical_network ⇒ Object?
The physical network where this network object is implemented.
-
#provider_segmentation_id ⇒ Object?
An isolated segment on the physical network.
-
#shared ⇒ :yes, ...
Whether this network is shared or not.
-
#state ⇒ :present, ...
Indicate desired state of the resource.
Methods inherited from Base
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.
20 |
# File 'lib/ansible/ruby/modules/generated/cloud/openstack/os_network.rb', line 20 attribute :admin_state_up |
#availability_zone ⇒ Object?
Returns 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.
24 |
# File 'lib/ansible/ruby/modules/generated/cloud/openstack/os_network.rb', line 24 attribute :external |
#name ⇒ String
Returns Name to be assigned to the network.
12 |
# File 'lib/ansible/ruby/modules/generated/cloud/openstack/os_network.rb', line 12 attribute :name |
#project ⇒ Object?
Returns 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_type ⇒ Object?
Returns 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_network ⇒ Object?
Returns 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_id ⇒ Object?
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.
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.
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.
28 |
# File 'lib/ansible/ruby/modules/generated/cloud/openstack/os_network.rb', line 28 attribute :state |