Commit Graph

8 Commits (b9696a349f8f1ec9b7e282bd52ff3dd75433e4a4)

Author SHA1 Message Date
Peter Sprygada daaafb68ab removes unneeded check_args function from ios_command
The module would raise a KeyError trying to find the save_config key
which is not present in the argument_spec.  This was caused by the
check_args() function.  Since the ios shared argument spec isn't used
the check_args function is not needed and has been removed.
8 years ago
Peter Sprygada ebc9f092ad fix up ios_command to use NetworkModule
* using check mode will now block all commands except show commands
* module will no longer allow config mode commands
* check args for unused values and issue warning
8 years ago
Peter Sprygada 2be917851d refactor ios_command to use CommandRunner class
* fixes running commands in check mode.  now only show commands are allowd
* renamed waitfor to wait_for with alias to waitfor for consistency
8 years ago
Michael Scherer cc99fe24fc Convert the network subfolder to py3/py2.4 syntax (#3690) 8 years ago
moyashiki e851e91b49 Fix ios_command fix
This is not valid YAML commands. So fix it.
9 years ago
Peter Sprygada 567e09c933 bugfix for missing function name in ios_command
This provides a minor bugfix for a missing function name in the ios_command
network module
9 years ago
Peter Sprygada b7114cc783 update ios_command module return values
This minor change updates the return values and doc string for the
ios_command module to be consistent with other network modules
9 years ago
chouseknecht a4f67a4ef2 Add ios_commnand module. 9 years ago