Class: Ansible::Ruby::Modules::Os_router
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Os_router
- Defined in:
- lib/ansible/ruby/modules/generated/core/cloud/openstack/os_router.rb
Instance Method Summary collapse
-
#admin_state_up ⇒ Boolean?
Desired admin state of the created or existing router.
-
#enable_snat ⇒ Boolean?
Enable Source NAT (SNAT) attribute.
-
#external_fixed_ips ⇒ Array<Hash>, ...
The IP address parameters for the external gateway network.
-
#interfaces ⇒ Array<String>, ...
List of subnets to attach to the router internal interface.
-
#name ⇒ String
Name to be give to the router.
-
#network ⇒ String?
Unique name or ID of the external gateway network.,required I(interfaces) or I(enable_snat) are provided.
-
#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 Desired admin state of the created or existing router.
18 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/openstack/os_router.rb', line 18 attribute :admin_state_up |
#enable_snat ⇒ Boolean?
Returns Enable Source NAT (SNAT) attribute.
22 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/openstack/os_router.rb', line 22 attribute :enable_snat |
#external_fixed_ips ⇒ Array<Hash>, ...
Returns The IP address parameters for the external gateway network. Each is a dictionary with the subnet name or ID (subnet) and the IP address to assign on the subnet (ip). If no IP is specified, one is automatically assigned from that subnet.
30 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/openstack/os_router.rb', line 30 attribute :external_fixed_ips |
#interfaces ⇒ Array<String>, ...
Returns List of subnets to attach to the router internal interface.
34 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/openstack/os_router.rb', line 34 attribute :interfaces |
#name ⇒ String
Returns Name to be give to the router.
14 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/openstack/os_router.rb', line 14 attribute :name |
#network ⇒ String?
Returns Unique name or ID of the external gateway network.,required I(interfaces) or I(enable_snat) are provided.
26 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/openstack/os_router.rb', line 26 attribute :network |
#state ⇒ :present, ...
Returns Indicate desired state of the resource.
10 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/openstack/os_router.rb', line 10 attribute :state |