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/core/cloud/openstack/os_network.rb
Instance Method Summary collapse
-
#admin_state_up ⇒ Boolean?
Whether the state should be marked as up or down.
-
#external ⇒ Boolean?
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 ⇒ :flat, ...
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 ⇒ Boolean?
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, #initialize, #to_h, validates
Constructor Details
This class inherits a constructor from Ansible::Ruby::Models::Base
Instance Method Details
#admin_state_up ⇒ Boolean?
Returns 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 |
#external ⇒ Boolean?
Returns Whether this network is externally accessible.
22 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/openstack/os_network.rb', line 22 attribute :external |
#name ⇒ String
Returns Name to be assigned to the network.
10 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/openstack/os_network.rb', line 10 attribute :name |
#project ⇒ Object?
Returns 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.
33 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/openstack/os_network.rb', line 33 attribute :provider_network_type |
#provider_physical_network ⇒ Object?
Returns 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_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.
37 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/openstack/os_network.rb', line 37 attribute :provider_segmentation_id |
#shared ⇒ Boolean?
Returns 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.
26 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/openstack/os_network.rb', line 26 attribute :state |