Module Assign NameStore Str Assign NameStore Str Import alias Import alias ImportFrom alias TryExcept body Import alias Assign NameStore NameLoad handlers ExceptHandler type NameLoad body Assign NameStore NameLoad Assign NameStore AttributeLoad NameLoad attr Assign NameStore Str Assign NameStore ListLoad Str Str Str Str ClassDef bases NameLoad body Assign NameStore ListLoad Str Str Str Str Str FunctionDef arguments args NameParam defaults kwarg body Assign AttributeStore NameLoad attr SubscriptLoad NameLoad Index Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body If CompareIsNot AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call NameLoad If CompareIsNot AttributeLoad NameLoad attr NameLoad body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr If UnaryOpNot NameLoad body Assign NameStore Call AttributeLoad Str attr AttributeLoad NameLoad attr For NameStore AttributeLoad NameLoad attr body If CompareIsNot Call NameLoad NameLoad NameLoad NameLoad body Assign SubscriptStore NameLoad Index NameLoad Call NameLoad NameLoad NameLoad If CompareNotIn Str NameLoad body Raise Call NameLoad Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad TryExcept body Expr Call AttributeLoad NameLoad attr Str handlers ExceptHandler type TupleLoad AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr body Raise Call NameLoad Call AttributeLoad Str attr NameLoad Return NameLoad decorator_list decorator_list ClassDef bases NameLoad body Assign NameStore Dict Str Str Str Str Str Str Str Str Str Call NameLoad Call NameLoad Call NameLoad Call NameLoad Call NameLoad keyword NameLoad Call NameLoad keyword NameLoad Call NameLoad Call NameLoad keyword Str keyword Str Call NameLoad keyword Str keyword Str Assign NameStore Dict Str Call NameLoad keyword Str keyword ListLoad Str Str FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad NameLoad vararg kwarg body Expr Call AttributeLoad SubscriptLoad NameLoad Index Str attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad If NameLoad body Expr Call AttributeLoad SubscriptLoad NameLoad Index Str attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad Assign AttributeStore NameLoad attr Call NameLoad keyword NameLoad keyword Call NameLoad Assign AttributeStore NameLoad attr BoolOpOr Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Str Assign AttributeStore NameLoad attr BoolOpOr Call AttributeLoad NameLoad attr Str SubscriptLoad AttributeLoad NameLoad attr Index Str Expr Call AttributeLoad NameLoad attr BinOpMod Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr IfExp AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Str NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body If AttributeLoad NameLoad attr body Return AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str If UnaryOpNot NameLoad body Expr Call AttributeLoad NameLoad attr Str TryExcept body Assign AttributeStore NameLoad attr Call NameLoad NameLoad handlers ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad NameLoad attr BinOpMod Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr BinOpMod Str AttributeLoad NameLoad attr Return AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Return AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Return AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body If UnaryOpNot NameLoad body Expr Call AttributeLoad NameLoad attr Str Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad Call NameLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Assign NameStore Call NameLoad Assign NameStore Call NameLoad ListComp TupleLoad NameLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad comprehension NameStore AttributeLoad NameLoad attr CompareIn NameLoad NameLoad If CompareIn Str NameLoad body Delete SubscriptDel NameLoad Index Str Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body For TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body Assign NameStore Call AttributeLoad NameLoad attr BinOpMod Str NameLoad If NameLoad body Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body If UnaryOpNot AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr Str If UnaryOpNot NameLoad body Expr Call AttributeLoad NameLoad attr Str Return Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body If UnaryOpNot AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr Str If UnaryOpNot NameLoad body Expr Call AttributeLoad NameLoad attr Str Return Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Assign AttributeStore NameLoad attr NameLoad If BoolOpOr CompareEq AttributeLoad NameLoad attr Str UnaryOpNot AttributeLoad NameLoad attr body If CompareEq Call AttributeLoad AttributeLoad NameLoad attr attr Str Str body Assign NameStore Call AttributeLoad NameLoad attr Assign SubscriptStore AttributeLoad NameLoad attr Index Str BoolOpOr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Assign NameStore BinOpSub Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr If AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad If NameLoad body Assign SubscriptStore AttributeLoad NameLoad attr Index Str NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index Str NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str If NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad orelse If BoolOpAnd CompareEq AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr body If CompareEq Call AttributeLoad AttributeLoad NameLoad attr attr Str Str body Assign NameStore Call AttributeLoad NameLoad attr Assign SubscriptStore AttributeLoad NameLoad attr Index Str BoolOpOr NameLoad NameLoad orelse If AttributeLoad NameLoad attr body If CompareNotEq AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Str body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index Str BoolOpOr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr If AttributeLoad NameLoad attr body Assign SubscriptStore AttributeLoad NameLoad attr Index Str AttributeLoad NameLoad attr If AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call NameLoad For TupleStore NameStore NameStore NameLoad body If CompareIsNot NameLoad NameLoad body Assign SubscriptStore NameLoad Index NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr BinOpMod Str NameLoad If BoolOpAnd NameLoad UnaryOpNot AttributeLoad NameLoad attr body TryExcept body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad handlers ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body If SubscriptLoad AttributeLoad NameLoad attr Index Str body Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Str Assign NameStore Call NameLoad If SubscriptLoad AttributeLoad NameLoad attr Index Str body Assign NameStore Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Str If UnaryOpNot NameLoad body Assign NameStore BinOpMod Str SubscriptLoad AttributeLoad NameLoad attr Index Str Expr Call AttributeLoad NameLoad attr NameLoad If SubscriptLoad AttributeLoad NameLoad attr Index Str body Assign SubscriptStore NameLoad Index Str SubscriptLoad AttributeLoad NameLoad attr Index Str If SubscriptLoad AttributeLoad NameLoad attr Index Str body Assign SubscriptStore NameLoad Index Str SubscriptLoad AttributeLoad NameLoad attr Index Str If SubscriptLoad AttributeLoad NameLoad attr Index Str body Assign SubscriptStore NameLoad Index Str SubscriptLoad AttributeLoad NameLoad attr Index Str If SubscriptLoad AttributeLoad NameLoad attr Index Str body Assign SubscriptStore NameLoad Index Str SubscriptLoad AttributeLoad NameLoad attr Index Str If SubscriptLoad AttributeLoad NameLoad attr Index Str body Assign SubscriptStore NameLoad Index Str SubscriptLoad AttributeLoad NameLoad attr Index Str If CompareNotIn Str NameLoad body Expr Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod Str AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad keyword AttributeLoad NameLoad attr NameLoad TryExcept body Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str SubscriptLoad SubscriptLoad SubscriptLoad NameLoad Index Num Index Str Index Str Expr Call AttributeLoad NameLoad attr Str SubscriptLoad SubscriptLoad SubscriptLoad NameLoad Index Num Index Str Index Str handlers ExceptHandler type TupleLoad AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr body Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad orelse Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad Expr Call AttributeLoad NameLoad attr Str Call NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign SubscriptStore AttributeLoad NameLoad attr Index Str NameLoad If UnaryOpNot AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad Call NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults vararg kwarg body TryExcept body Return Call NameLoad NameLoad NameLoad handlers ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults vararg kwarg body Assign NameStore Call AttributeLoad NameLoad attr NameLoad If NameLoad body Return Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body If AttributeLoad NameLoad attr body If CompareNotIn Str AttributeLoad NameLoad attr body Assign SubscriptStore AttributeLoad NameLoad attr Index Str Call NameLoad Assign SubscriptStore SubscriptLoad AttributeLoad NameLoad attr Index Str Index NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad NameLoad body If AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Str Assign NameStore BoolOpOr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index Str Index Str attr NameLoad decorator_list NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Str attr Str Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Str Return Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad keyword NameLoad decorator_list FunctionDef arguments args defaults body Expr Str Assign NameStore Call NameLoad keyword Call NameLoad keyword NameLoad keyword Call NameLoad keyword NameLoad keyword Str Assign NameStore Call NameLoad keyword NameLoad keyword NameLoad keyword NameLoad TryExcept body Assign SubscriptStore AttributeLoad NameLoad attr Index Str Call NameLoad NameLoad handlers ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr orelse Expr Call AttributeLoad NameLoad attr decorator_list Expr Call NameLoad
N/A N/A DOCUMENTATION 
---
module: eos_command
short_description: Sends arbitrary commands to EOS
description:
  - The eos_command module provides a module for sending arbitray
    commands to the EOS node and returns the ouput.  Only
    priviledged mode (enable) commands can be sent.
version_added: 1.0.0
category: System
author: Arista EOS+
requirements:
  - Arista EOS 4.13.7M or later with command API enabled
  - Python Client for eAPI 0.3.0 or later
notes:
  - This module does not support idempotent operations.
  - Supports eos metaparameters for using the eAPI transport
  - This module does not support stateful configuration
options:
  commands:
    description:
      - Specifies the list of commands to send to the node and execute
        in the configured mode.  Mutliple commands can be sent to the node
        as a comma delimited set of values.
    required: true
    default: null
    choices: []
    aliases: []
    version_added: 1.0.0
  encoding:
    description:
      - Specifies the requested encoding of the command output.
    required: false
    default: json
    choices: ['json','text']
    aliases: []
    version_added: 1.2.0
 N/A EXAMPLES 

- name: execute show version and show hostname
  eos_command: commands='show version, show hostname'


 N/A syslog N/A collections ansible.module_utils.basic * N/A N/A N/A pyeapi N/A PYEAPI_AVAILABLE True N/A N/A N/A ImportError N/A N/A PYEAPI_AVAILABLE False N/A DEFAULT_SYSLOG_PRIORITY N/A syslog LOG_NOTICE N/A DEFAULT_CONNECTION localhost N/A TRANSPORTS N/A socket http https http_local EosConnection N/A object N/A N/A __attributes__ N/A username password host transport port __init__ N/A N/A self N/A kwargs N/A N/A N/A self connection N/A kwargs N/A connection N/A N/A self transport N/A N/A kwargs get transport N/A N/A self username N/A N/A kwargs get username N/A N/A self password N/A N/A kwargs get password N/A N/A self host N/A N/A kwargs get host N/A N/A self port N/A N/A kwargs get port N/A N/A self config N/A N/A kwargs get config N/A connect N/A N/A self N/A N/A N/A N/A N/A self config None N/A N/A N/A N/A pyeapi load_config N/A self config N/A config N/A dict N/A N/A N/A self connection None N/A N/A config N/A N/A pyeapi config_for N/A self connection N/A N/A config N/A N/A msg N/A N/A Connection name "{}" not found format N/A self connection N/A key N/A self __attributes__ N/A N/A N/A N/A getattr self key None N/A N/A N/A config N/A key N/A getattr self key N/A N/A transport config N/A N/A N/A ValueError Connection must define a transport N/A connection N/A N/A N/A pyeapi client make_connection config N/A node N/A N/A N/A pyeapi client Node connection config N/A N/A N/A N/A N/A node enable show version N/A N/A N/A N/A N/A N/A pyeapi eapilib ConnectionError N/A N/A pyeapi eapilib CommandError N/A N/A N/A ValueError N/A N/A unable to connect to {} format node N/A node N/A N/A EosAnsibleModule N/A AnsibleModule N/A N/A meta_args N/A config username password host connection transport port debug logging N/A dict N/A dict N/A dict N/A dict N/A dict default DEFAULT_CONNECTION N/A dict choices TRANSPORTS N/A dict N/A dict type bool default false N/A dict type bool default true N/A stateful_args N/A state N/A dict default present choices N/A present absent __init__ N/A N/A self stateful autorefresh N/A True False args kwargs N/A N/A N/A N/A N/A kwargs N/A argument_spec update N/A self meta_args N/A N/A self _stateful stateful N/A stateful N/A N/A N/A N/A N/A kwargs N/A argument_spec update N/A self stateful_args N/A N/A self _logging N/A N/A kwargs get logging N/A N/A N/A N/A super EosAnsibleModule self __init__ args kwargs N/A N/A self result N/A dict changed False changes N/A dict N/A N/A self _debug N/A N/A N/A kwargs get debug N/A N/A self boolean N/A N/A self params N/A debug N/A N/A self _logging N/A N/A N/A kwargs get logging N/A N/A self params N/A logging N/A N/A N/A self log N/A DEBUG flag is %s N/A self _debug N/A N/A N/A self debug pyeapi_version N/A N/A self check_pyeapi N/A N/A N/A self debug stateful N/A self _stateful N/A N/A N/A self debug params N/A self params N/A N/A self _attributes N/A N/A self map_argument_spec N/A N/A N/A self validate N/A N/A self _autorefresh autorefresh N/A N/A self _node N/A EosConnection N/A self params N/A N/A N/A N/A self _node connect N/A N/A self _node N/A N/A self connect N/A N/A self _instance None N/A N/A self desired_state N/A N/A self _stateful N/A N/A self params N/A state None N/A N/A self exit_after_flush N/A N/A kwargs get exit_after_flush N/A instance N/A N/A self N/A N/A N/A N/A self _instance N/A N/A N/A self _instance N/A func N/A N/A self func instance N/A N/A func N/A N/A N/A N/A self fail Module does not support "instance" N/A N/A N/A N/A self _instance N/A func self N/A N/A N/A Exception N/A exc N/A N/A N/A N/A self fail N/A instance[error]: %s N/A exc message N/A N/A N/A self log N/A called instance: %s N/A self _instance N/A N/A self _instance N/A property attributes N/A N/A self N/A N/A N/A N/A self _attributes N/A property node N/A N/A self N/A N/A N/A N/A self _node N/A property check_pyeapi N/A N/A self N/A N/A N/A N/A PYEAPI_AVAILABLE N/A N/A N/A N/A self fail Unable to import pyeapi, is it installed? N/A N/A pyeapi __version__ N/A map_argument_spec N/A N/A self N/A N/A N/A map_argument_spec maps only the module argument spec to attrs

        This method will map the argumentspec minus the meta_args to attrs
        and return the attrs.  This returns a dict object that includes only
        the original argspec plus the stateful_args (if self._stateful=True)

        Returns:
            dict: Returns a dict object that includes the original
                argument_spec plus stateful_args with values minus meta_args

         N/A keys N/A N/A N/A set N/A self params difference N/A self meta_args N/A attrs N/A dict N/A attrs N/A dict N/A N/A k N/A N/A self params N/A k N/A k N/A self params N/A k keys N/A N/A CHECKMODE attrs N/A N/A N/A attrs N/A CHECKMODE N/A attrs N/A validate N/A N/A self N/A N/A N/A N/A key value N/A N/A N/A self attributes iteritems N/A N/A func N/A N/A self func N/A validate_%s key N/A func N/A N/A N/A N/A self attributes N/A key N/A func value N/A create N/A N/A self N/A N/A N/A N/A N/A self check_mode N/A N/A func N/A N/A self func create N/A N/A func N/A N/A N/A N/A self fail Module must define "create" function N/A N/A N/A self invoke func self N/A remove N/A N/A self N/A N/A N/A N/A N/A self check_mode N/A N/A func N/A N/A self func remove N/A N/A func N/A N/A N/A N/A self fail Module most define "remove" function N/A N/A N/A self invoke func self N/A flush N/A N/A self exit_after_flush N/A False N/A N/A N/A self exit_after_flush exit_after_flush N/A N/A N/A N/A self desired_state present N/A N/A self _stateful N/A N/A N/A N/A N/A N/A self instance get state absent N/A N/A changed N/A N/A self create N/A N/A N/A self result N/A changed N/A changed True N/A N/A N/A self refresh N/A N/A N/A self _node _running_config None N/A changeset N/A N/A N/A N/A self attributes viewitems N/A N/A N/A self instance viewitems N/A N/A self _debug N/A N/A N/A N/A self debug desired_state N/A self attributes N/A N/A N/A self debug current_state N/A self instance N/A changes N/A N/A self update changeset N/A changes N/A N/A N/A N/A self result N/A changes changes N/A N/A N/A self result N/A changed True N/A N/A N/A N/A self _attributes update changes N/A flush N/A N/A self func flush N/A flush N/A N/A N/A N/A self invoke flush self N/A N/A N/A N/A N/A self desired_state absent N/A self _stateful N/A N/A N/A N/A N/A N/A self instance get state present N/A N/A changed N/A N/A self remove N/A N/A N/A self result N/A changed N/A changed True N/A N/A N/A self _stateful N/A N/A N/A N/A self desired_state N/A N/A N/A self instance get state N/A N/A func N/A N/A self func N/A self desired_state N/A changed N/A N/A self invoke func self N/A N/A N/A self result N/A changed N/A changed True N/A N/A N/A self refresh N/A N/A self _debug N/A N/A N/A N/A self result N/A instance N/A self instance N/A N/A self exit_after_flush N/A N/A N/A N/A self exit N/A update N/A N/A self changeset N/A N/A N/A changes N/A dict N/A N/A key value changeset N/A N/A N/A value None N/A N/A N/A changes N/A key value N/A func N/A N/A self func N/A set_%s key N/A N/A func N/A N/A self check_mode N/A N/A N/A N/A N/A N/A self invoke func self N/A N/A N/A Exception N/A exc N/A N/A N/A N/A self fail N/A exc message N/A changes N/A connect N/A N/A self N/A N/A N/A N/A N/A self params N/A config N/A N/A N/A N/A pyeapi load_config N/A N/A self params N/A config N/A config N/A dict N/A N/A N/A self params N/A connection N/A N/A config N/A N/A pyeapi config_for N/A N/A self params N/A connection N/A N/A config N/A N/A msg N/A Connection name "%s" not found N/A N/A self params N/A connection N/A N/A N/A self fail msg N/A N/A N/A self params N/A username N/A N/A N/A config N/A username N/A N/A self params N/A username N/A N/A N/A self params N/A password N/A N/A N/A config N/A password N/A N/A self params N/A password N/A N/A N/A self params N/A transport N/A N/A N/A config N/A transport N/A N/A self params N/A transport N/A N/A N/A self params N/A port N/A N/A N/A config N/A port N/A N/A self params N/A port N/A N/A N/A self params N/A host N/A N/A N/A config N/A host N/A N/A self params N/A host N/A N/A transport config N/A N/A N/A N/A self fail Connection must define a transport N/A connection N/A N/A N/A pyeapi client make_connection config N/A N/A N/A self log N/A Creating connection with autorefresh=%s N/A self _autorefresh N/A node N/A N/A N/A pyeapi client Node connection autorefresh N/A self _autorefresh config N/A N/A N/A resp N/A N/A node enable show version N/A N/A N/A self debug eos_version N/A N/A N/A resp N/A 0 N/A result N/A version N/A N/A N/A self debug eos_model N/A N/A N/A resp N/A 0 N/A result N/A modelName N/A N/A N/A N/A N/A N/A pyeapi eapilib ConnectionError N/A N/A pyeapi eapilib CommandError N/A N/A N/A N/A self fail N/A unable to connect to %s node N/A N/A N/A N/A self log N/A Connected to node %s node N/A N/A N/A self debug node N/A str node N/A node N/A config N/A N/A self commands N/A N/A N/A N/A N/A self result N/A changed True N/A N/A N/A self check_mode N/A N/A N/A N/A N/A self node config commands N/A api N/A N/A self module N/A N/A N/A N/A N/A N/A self node api module N/A func N/A N/A self name N/A N/A N/A N/A N/A N/A globals get name N/A invoke N/A N/A self func N/A args kwargs N/A N/A N/A N/A N/A func args kwargs N/A N/A N/A Exception N/A exc N/A N/A N/A N/A self fail N/A exc message N/A invoke_function N/A N/A self name N/A args kwargs N/A N/A func N/A N/A self func name N/A func N/A N/A N/A N/A self invoke func args kwargs N/A fail N/A N/A self msg N/A N/A N/A N/A N/A self invoke_function on_fail self N/A N/A N/A self log N/A ERROR: %s msg N/A syslog LOG_ERR N/A N/A N/A self fail_json msg msg N/A exit N/A N/A self N/A N/A N/A N/A N/A self invoke_function on_exit self N/A N/A N/A self log Module completed successfully N/A N/A N/A self exit_json N/A self result N/A refresh N/A N/A self N/A N/A N/A N/A self _instance None N/A debug N/A N/A self key value N/A N/A N/A N/A self _debug N/A N/A N/A debug N/A self result N/A N/A N/A N/A self result N/A debug N/A dict N/A N/A N/A N/A self result N/A debug N/A key value N/A log N/A N/A self message log_args priority N/A None None N/A N/A N/A self _logging N/A N/A N/A N/A syslog openlog ansible-eos N/A priority N/A priority DEFAULT_SYSLOG_PRIORITY N/A N/A N/A syslog syslog priority N/A str message N/A add_state N/A N/A cls name N/A N/A N/A N/A N/A N/A N/A N/A cls stateful_args N/A state N/A choices append name N/A classmethod N/A run_commands N/A N/A module N/A N/A N/A commands N/A N/A N/A N/A module attributes N/A commands split , N/A encoding N/A N/A module attributes N/A encoding N/A N/A N/A N/A module node enable commands encoding encoding N/A main N/A N/A N/A N/A N/A  The main module routine called when the module is run by Ansible
     N/A argument_spec N/A dict commands N/A dict required True encoding N/A dict required False default json N/A module N/A EosAnsibleModule argument_spec argument_spec stateful False supports_check_mode False N/A N/A N/A N/A N/A module result N/A output N/A run_commands module N/A N/A N/A Exception N/A exc N/A N/A N/A N/A module fail N/A exc message N/A N/A N/A N/A module exit N/A N/A N/A main