Class: Ansible::Ruby::Modules::Eos_eapi

Inherits:
Base show all
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

Methods inherited from Base

#ansible_name, #to_h

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

#httpBoolean?



29
# File 'lib/ansible/ruby/modules/generated/core/network/eos/eos_eapi.rb', line 29

attribute :http

#http_portInteger?



17
# File 'lib/ansible/ruby/modules/generated/core/network/eos/eos_eapi.rb', line 17

attribute :http_port

#httpsBoolean?



33
# File 'lib/ansible/ruby/modules/generated/core/network/eos/eos_eapi.rb', line 33

attribute :https

#https_portInteger?



21
# File 'lib/ansible/ruby/modules/generated/core/network/eos/eos_eapi.rb', line 21

attribute :https_port

#local_httpBoolean?



37
# File 'lib/ansible/ruby/modules/generated/core/network/eos/eos_eapi.rb', line 37

attribute :local_http

#local_http_portInteger?



25
# File 'lib/ansible/ruby/modules/generated/core/network/eos/eos_eapi.rb', line 25

attribute :local_http_port

#socketBoolean?



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