Class: Ansible::Ruby::Modules::Eos_eapi
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Eos_eapi
- Defined in:
- lib/ansible/ruby/modules/generated/core/network/eos/eos_eapi.rb
Overview
Use to enable or disable EAPI access, and set the port and state of http, https, localHttp and unix-socket servers. When enabling EAPI access the default is to enable HTTP on port 80, enable HTTPS on port 443, disable local HTTP, and disable Unix socket server. Use the options listed below to override the default configuration. Requires EOS v4.12 or greater.
Instance Method Summary collapse
-
#http ⇒ Boolean?
Enable HTTP server access.
-
#http_port ⇒ Integer?
Port on which the HTTP server will listen.
-
#https ⇒ Boolean?
Enable HTTPS server access.
-
#https_port ⇒ Integer?
Port on which the HTTPS server will listen.
-
#local_http ⇒ Boolean?
Enable local HTTP server access.
-
#local_http_port ⇒ Integer?
Port on which the local HTTP server will listen.
-
#socket ⇒ Boolean?
Enable Unix socket server access.
-
#state ⇒ :started, ...
Set to started or stopped.
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
#http ⇒ Boolean?
29 |
# File 'lib/ansible/ruby/modules/generated/core/network/eos/eos_eapi.rb', line 29 attribute :http |
#http_port ⇒ Integer?
17 |
# File 'lib/ansible/ruby/modules/generated/core/network/eos/eos_eapi.rb', line 17 attribute :http_port |
#https ⇒ Boolean?
33 |
# File 'lib/ansible/ruby/modules/generated/core/network/eos/eos_eapi.rb', line 33 attribute :https |
#https_port ⇒ Integer?
21 |
# File 'lib/ansible/ruby/modules/generated/core/network/eos/eos_eapi.rb', line 21 attribute :https_port |
#local_http ⇒ Boolean?
37 |
# File 'lib/ansible/ruby/modules/generated/core/network/eos/eos_eapi.rb', line 37 attribute :local_http |
#local_http_port ⇒ Integer?
25 |
# File 'lib/ansible/ruby/modules/generated/core/network/eos/eos_eapi.rb', line 25 attribute :local_http_port |
#socket ⇒ Boolean?
41 |
# File 'lib/ansible/ruby/modules/generated/core/network/eos/eos_eapi.rb', line 41 attribute :socket |
#state ⇒ :started, ...
13 |
# File 'lib/ansible/ruby/modules/generated/core/network/eos/eos_eapi.rb', line 13 attribute :state |