Class: Ansible::Ruby::Modules::Aos_external_router
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Aos_external_router
- Defined in:
- lib/ansible/ruby/modules/generated/network/aos/aos_external_router.rb
Overview
Apstra AOS External Router module let you manage your External Router easily. You can create create and delete External Router by Name, ID or by using a JSON File. This module is idempotent and support the I(check) mode. It’s using the AOS REST API.
Instance Method Summary collapse
-
#asn ⇒ Integer?
ASN id of the external_router.
-
#content ⇒ String?
Datastructure of the External Router to create.
-
#id ⇒ String?
AOS Id of the External Router to manage (can’t be used to create a new External Router), Only one of I(name), I(id) or I(content) can be set.
-
#loopback ⇒ String?
IP address of the Loopback interface of the external_router.
-
#name ⇒ String?
Name of the External Router to manage.
-
#session ⇒ String
An existing AOS session as obtained by M(aos_login) module.
-
#state ⇒ :present, ...
Indicate what is the expected state of the External Router (present or not).
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
#asn ⇒ Integer?
36 |
# File 'lib/ansible/ruby/modules/generated/network/aos/aos_external_router.rb', line 36 attribute :asn |
#content ⇒ String?
24 |
# File 'lib/ansible/ruby/modules/generated/network/aos/aos_external_router.rb', line 24 attribute :content |
#id ⇒ String?
20 |
# File 'lib/ansible/ruby/modules/generated/network/aos/aos_external_router.rb', line 20 attribute :id |
#loopback ⇒ String?
32 |
# File 'lib/ansible/ruby/modules/generated/network/aos/aos_external_router.rb', line 32 attribute :loopback |
#name ⇒ String?
16 |
# File 'lib/ansible/ruby/modules/generated/network/aos/aos_external_router.rb', line 16 attribute :name |
#session ⇒ String
12 |
# File 'lib/ansible/ruby/modules/generated/network/aos/aos_external_router.rb', line 12 attribute :session |
#state ⇒ :present, ...
28 |
# File 'lib/ansible/ruby/modules/generated/network/aos/aos_external_router.rb', line 28 attribute :state |