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/cloud/openstack/os_router.rb
Overview
Create or Delete routers from OpenStack. Although Neutron allows routers to share the same name, this module enforces name uniqueness to be more user friendly.
Instance Method Summary collapse
-
#admin_state_up ⇒ :yes, ...
Desired admin state of the created or existing router.
-
#availability_zone ⇒ Object?
Ignored.
-
#enable_snat ⇒ Symbol?
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.
-
#project ⇒ String?
Unique name or ID of the project.
-
#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, 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, ...
20 |
# File 'lib/ansible/ruby/modules/generated/cloud/openstack/os_router.rb', line 20 attribute :admin_state_up |
#availability_zone ⇒ Object?
44 |
# File 'lib/ansible/ruby/modules/generated/cloud/openstack/os_router.rb', line 44 attribute :availability_zone |
#enable_snat ⇒ Symbol?
24 |
# File 'lib/ansible/ruby/modules/generated/cloud/openstack/os_router.rb', line 24 attribute :enable_snat |
#external_fixed_ips ⇒ Array<Hash>, ...
36 |
# File 'lib/ansible/ruby/modules/generated/cloud/openstack/os_router.rb', line 36 attribute :external_fixed_ips |
#interfaces ⇒ Array<String>, ...
40 |
# File 'lib/ansible/ruby/modules/generated/cloud/openstack/os_router.rb', line 40 attribute :interfaces |
#name ⇒ String
16 |
# File 'lib/ansible/ruby/modules/generated/cloud/openstack/os_router.rb', line 16 attribute :name |
#network ⇒ String?
28 |
# File 'lib/ansible/ruby/modules/generated/cloud/openstack/os_router.rb', line 28 attribute :network |
#project ⇒ String?
32 |
# File 'lib/ansible/ruby/modules/generated/cloud/openstack/os_router.rb', line 32 attribute :project |
#state ⇒ :present, ...
12 |
# File 'lib/ansible/ruby/modules/generated/cloud/openstack/os_router.rb', line 12 attribute :state |