Commit Graph

801 Commits (a1c3ce0ad17f080e009ad9c8f1cc6173e2b67575)

Author SHA1 Message Date
Peter Sprygada b0d50b42dd Merge pull request #4624 from GGabriele/nxos_ospf
Adding nxos_ospf module
8 years ago
Peter Sprygada a1badcf6f6 Merge pull request #4622 from GGabriele/nxos_evpn_global
Adding nxos_evpn_global module
8 years ago
Peter Sprygada 1f6f430819 Merge pull request #4621 from GGabriele/nxos_acl_interface
Adding nxos_acl_interface_module
8 years ago
Peter Sprygada ea37837ac8 Merge pull request #4618 from GGabriele/nxos_acl
Adding nxos_acl module
8 years ago
Peter Sprygada 65fed11424 Merge pull request #4602 from GGabriele/nxos_bgp
Adding nxos_bgp.py
8 years ago
Peter Sprygada 99ddf08e2b Merge pull request #4751 from privateip/ios_config
minor bug fix to pass path to difference() in ios_config
8 years ago
Peter Sprygada c716744f3c minor bug fix to pass path to difference() in ios_config
The ios_config module needs to pass the path kwarg to difference when
specifying match=exact or strict.
8 years ago
Senthil Kumar Ganesan 41f5737334 Added Command module to support Dell Networking OS9 8 years ago
Peter Sprygada db5cb54b23 Merge pull request #4749 from privateip/nxos_config
fixes bug where nxos_config wasn't handling checkpoints correctly
8 years ago
afunix ab7fe884d7 Updated get_url module to process FTP results correctly [#3661] (#4601) 8 years ago
Peter Sprygada ec9f6594ca fixes bug where nxos_config wasn't handling checkpoints correctly 8 years ago
Peter Sprygada 81aa3a760c Merge pull request #4730 from privateip/ios_template
fix bug in ios_template when include_defaults is set to true
8 years ago
Peter Sprygada 0a03d34916 Merge pull request #4729 from privateip/ios_config
adds path kwarg when performing config diff checks in ios_config
8 years ago
Peter Sprygada c3c964475c fix bug in ios_template when include_defaults is set to true
Module was ignoring  include_defaults argument.  This fixes the issue
such that the correct configuration is returned
8 years ago
Peter Sprygada 05887b8f86 adds path kwarg when performing config diff checks in ios_config 8 years ago
Peter Sprygada 52fd4914ca Merge pull request #4561 from jedelman8/nxos_interface
removed feature check for nxos_interface
8 years ago
Peter Sprygada db18577df1 Merge pull request #4724 from privateip/eos_config
roll up of minor fixes in eos_config module
8 years ago
Peter Sprygada 87dc24b19e roll up of minor fixes in eos_config module
* fixes save argument to be type bool
* now properly sets the changed returned flag based on diff
* updates docstring RETURNS to add backup_path
* removes unneeded state argument

tested on EOS 4.15.4F
8 years ago
@skg_net 1d3a70a689 dnos10_template module 8 years ago
Peter Sprygada e464599632 minor bug fixes in eos_template
* fixes issue where configuration was not being loaded (#4704)
* fixes issue where defaults were not included when argument was set to True

tested on EOS 4.15.4F
8 years ago
GGabriele a1520d5e48 Improved config function 8 years ago
GGabriele 3051d22d4f Improved config function 8 years ago
GGabriele ecc1894346 Improved config function 8 years ago
GGabriele b7031c8102 Improved config function 8 years ago
GGabriele fae497122f Improved config function 8 years ago
GGabriele 055c273f5f Improved config function 8 years ago
GGabriele d1d69e8e38 Improved config function 8 years ago
GGabriele fb91c9ed72 Improved config function 8 years ago
GGabriele bca384a3a6 Improved config function 8 years ago
GGabriele 75a107161d Improved config function 8 years ago
GGabriele 9a5338e52f Improved config function 8 years ago
GGabriele 01f3783e7b Improved config function 8 years ago
GGabriele d183f22147 Improved config function 8 years ago
GGabriele 33d1150033 Improved config function 8 years ago
GGabriele 1a5c9d5134 Removed newline 8 years ago
GGabriele ab00ee0433 Fixed docstring 8 years ago
GGabriele e9e1635f9c Added missing fullstop 8 years ago
Peter Sprygada e5419a2738 fixes issue where the configobjs are not deserialized to a list
When the configuration is compared and the results deserialized, the
dumps() function returns a string.  This cohereces the return to a list
in case before and/or after needs to be applied

fixes 4707
8 years ago
GGabriele 63efe23ca3 Fixed docstring 8 years ago
GGabriele 6bf9e99a5a Fixed docstring 8 years ago
GGabriele 3496a4873a Fixed docstring 8 years ago
GGabriele fae1d3019f Fixed docstring 8 years ago
GGabriele 23de38d9d6 Fixed docstring 8 years ago
GGabriele 398e825c1b Fixed docstring 8 years ago
GGabriele 3d8ae4ab6a Fixed docstring 8 years ago
GGabriele 9d1ffd3ccc Fixed docstring 8 years ago
GGabriele 1749b87fc9 Fixed docstring 8 years ago
GGabriele 9684ec26af Fixed docstring 8 years ago
GGabriele 02ffc6a6f1 Fixed docstring 8 years ago
GGabriele 7e645e16a7 Fixed docstring 8 years ago
GGabriele 4a84fd2ac6 Fixed docstring 8 years ago
GGabriele 64ad771f11 Fixed docstring 8 years ago
GGabriele 50e7b378a6 Fixed docstring 8 years ago
GGabriele 0dbe20beae Fixed docstring 8 years ago
GGabriele 393f07da88 Fixed docstring 8 years ago
GGabriele f5d5de5601 Fixed docstring 8 years ago
GGabriele eb2de71b65 Fixed docstring 8 years ago
GGabriele b77436823b Fixed docstring 8 years ago
GGabriele 30313f8979 Fixed docstring 8 years ago
GGabriele 192daac855 Fixed docstring 8 years ago
GGabriele 22ce05a489 Fixed docstring 8 years ago
GGabriele ab81283f34 Fixed docstring 8 years ago
GGabriele f12fb67ca4 Fixed docstring 8 years ago
GGabriele cabc937b30 Fixed docstring 8 years ago
GGabriele 401514ac7c Fixed docstring 8 years ago
GGabriele 3fa0ec9748 Fixed docstring 8 years ago
GGabriele 964bffd1d7 Adding missing fullstop 8 years ago
GGabriele 9723c7f9fb Fixed docstring 8 years ago
GGabriele 9357ef31fb Fixed docstring 8 years ago
GGabriele dd4b6a8585 Fixing docstring format 8 years ago
GGabriele 90a9e983b4 Fixed param value format in docstring 8 years ago
GGabriele 59c0e54df5 Fix docstring 8 years ago
GGabriele f8c9df2ca0 Fixed module structure and added one new param 8 years ago
GGabriele bc9bf359b0 Fixed module structure 8 years ago
GGabriele 70ef9ae42c Fixed module structure 8 years ago
GGabriele 303da86423 Fixed module structure 8 years ago
GGabriele 0e8eab40fb Fixed module structure 8 years ago
GGabriele fe120c14a3 Fixed module structure 8 years ago
GGabriele 8555519945 Fixed module structure 8 years ago
GGabriele 6c0ce20ad7 Fixed module structure 8 years ago
GGabriele c58d21a5c6 Fixed module structure 8 years ago
GGabriele c9c3d26e42 Fixed module structure 8 years ago
GGabriele 0cb9a02202 Fixed module structure 8 years ago
GGabriele 78558fcf53 Fixed config function 8 years ago
GGabriele 336794d758 Fixed config function 8 years ago
GGabriele 7579ddee0c Fixed config function 8 years ago
GGabriele c177bc4f72 Fixed config function 8 years ago
GGabriele fdda32ec52 Fixed module structure 8 years ago
GGabriele 9f06bb7e60 fix imports 8 years ago
GGabriele a4ee5c89da Fixed module structure 8 years ago
GGabriele c50cfe3451 Fixed module structure 8 years ago
GGabriele c3592688e6 Fixed module structure 8 years ago
GGabriele e8b9a7cae7 Fixed module structure 8 years ago
GGabriele cb9bdee7be Fixed module structure 8 years ago
GGabriele fa72ffc3d1 Fixed module structure 8 years ago
GGabriele b2aa859b33 Fixed module structure 8 years ago
GGabriele c9d293299b Fixed module structure 8 years ago
GGabriele 67c24e5f04 Fixed module structure 8 years ago
GGabriele a30d508e0e Fixed module structure 8 years ago
GGabriele d8e6773f8c Fixed module structure 8 years ago
GGabriele 37d27c9b2c Fixed module structure 8 years ago
GGabriele 18562835e3 Fixed module structure 8 years ago
GGabriele 030141e76d Fixed module structure 8 years ago
GGabriele 39d43e96e0 Fixed module structure 8 years ago
GGabriele 42add2f137 Fixed module structure 8 years ago
GGabriele d894adba4a Fixed module structure 8 years ago
GGabriele a1b666d0af Fixed module structure 8 years ago
GGabriele 73cd257b66 Fixed module structure 8 years ago
GGabriele c20d82d9ca Fixed module structure 8 years ago
Peter Sprygada ecca37a959 Merge pull request #4699 from privateip/vyos_config
removes argument from vyos_config module
8 years ago
Peter Sprygada 0045cf31c5 Merge pull request #4687 from privateip/junos_command
add new functionality to junos_command module
8 years ago
Peter Sprygada f0e5a8c7ab Merge pull request #4688 from privateip/junos_netconf
update junos_netconf module
8 years ago
Peter Sprygada 4ab3492011 Merge pull request #4689 from privateip/junos_template
update junos_template module
8 years ago
Peter Sprygada eca9d0700d Merge pull request #4692 from privateip/junos_config
update junos_config module
8 years ago
Peter Sprygada 74ae5a6257 Merge pull request #4697 from privateip/nxos_config
updates nxos_config to remove state argument
8 years ago
Peter Sprygada a756d1baea Merge pull request #4696 from privateip/ops_config
removes state argument from ops_config module
8 years ago
Peter Sprygada eae87e21d9 Merge pull request #4698 from privateip/ios_config
removes state argument from ios_config
8 years ago
Peter Sprygada cba30b637a updates nxos_config to remove state argument
The state argument should not be in the nxos_config module.  This change
removes the state argument for this release
8 years ago
Peter Sprygada 989a2c7d0f removes argument from vyos_config module
The state argument should not be in vyos_config.  This commit removes the
state argument
8 years ago
Peter Sprygada e0f7912e37 removes state argument from ios_config
The state argument should not be in ios_config.  This change removes the
state argument
8 years ago
Peter Sprygada 330e323705 removes state argument from ops_config module
this removes the state argument from ops_config.  The state argument should
not have been there
8 years ago
GGabriele 9b03b39eb6 Removed tabs 8 years ago
GGabriele 7c9b5b8841 Fixed module structure 8 years ago
GGabriele e725a077c5 Fixed module structure 8 years ago
Peter Sprygada a11a311b49 update junos_config module
* adds src argument to load configuration from disk
* adds src_format to set the source file format
* adds update argument with choices merge or replace
* deprecates the replace argument in favor of update=replace
8 years ago
Peter Sprygada 256730e997 add new functionality to junos_command module
* commands argument now accepts a dict arguments
* rpcs argument now accepts a dict argument
* waitfor has been renamed to wait_for with an alias to waitfor
* only show commands are allowd when check mode is specified
* config mode is no longer allowed in the command stack
* add argument match with valid values any, all
8 years ago
Peter Sprygada ba8613cae9 update junos_netconf module
Updates the junos_netconf module with changes to load the
NetworkModule instead of the get_module factory method.  This
update is part of the 2.2 refactor of network modules
8 years ago
Peter Sprygada 0dfd3f177f update junos_template module
This updates the junos_template module implementing the changes for
Ansible 2.2
8 years ago
GGabriele bafdedd25b Fix docstring 8 years ago
GGabriele a9dc536174 Adding nxos_igmp_interface 8 years ago
GGabriele 0838736b1a Adding nxos_igmp 8 years ago
GGabriele 73b5841b2b nxos_vrf_interface support for 2.1 and 2.2 8 years ago
GGabriele 6d7326cb03 Updating nxos_vrf 8 years ago
GGabriele 7922796e92 nxos_vlan support 2.1 and 2.2 8 years ago
GGabriele 87839953db nxos_ping support for 2.1 and 2.2 8 years ago
GGabriele 811ce02178 nxos_ip_interface support for 2.1 and 2.2 8 years ago
GGabriele 814eb0609d Adding nxos_reboot 8 years ago
GGabriele 373ebaeeb4 Fix PR 8 years ago
GGabriele 4f0259ff9b Added python object for 2.1 and 2.2 support 8 years ago
GGabriele 65c6f5079c Increase timeout 8 years ago
GGabriele b89467ada4 Fixed docstring 8 years ago
GGabriele 2c7e9a0330 Adding nxos_rollback 8 years ago
GGabriele a98f17db15 Adding nxos_vxlan_vtep_vni 8 years ago
GGabriele 15d4fa4207 Adding nxos_vxlan_vtep 8 years ago
GGabriele af7fb1a40b Fix docstring 8 years ago
GGabriele 5de77d4e6e Adding nxos_vrf_af 8 years ago
GGabriele 8bf651afaa Adding nxos_portchannel 8 years ago
GGabriele a7ea96f61e Adding nxos_vpc 8 years ago
GGabriele 61642cce45 Adding nxos_static_route 8 years ago
GGabriele c6c0ff42ed Fix error handling 8 years ago
GGabriele 47ce78de3e Adding nxos_smu 8 years ago
GGabriele b55a2e49e2 Adding nxos_portchannel 8 years ago
GGabriele ffa9064c01 Adding nxos_pim_rp_address 8 years ago
GGabriele 689a117257 Adding nxos_pim module 8 years ago
GGabriele 7e78c5aad7 Fixing module description 8 years ago
GGabriele 9cf9e61da4 Addin nxos_overlay_global 8 years ago
GGabriele 28e3e30d41 Adding nxos_interface_ospf 8 years ago
GGabriele cb9f28c0d6 Fix error handling 8 years ago
GGabriele ffb613febe Adding nxos_hsrp 8 years ago
GGabriele d92d1feeaa Fix typo 8 years ago
GGabriele 53121eb647 Fix try/except 8 years ago
GGabriele 0f606122bc Fix error handling 8 years ago
GGabriele 3b266bf1e2 Adding nxos_file_copy 8 years ago
GGabriele 90cd9485ec Adding nxos_evpn_vni 8 years ago
GGabriele 1f3d7681e2 Fixed DOCSTRING 8 years ago
GGabriele bb9d8c6385 Adding nxos_bgp_neighbor_af module 8 years ago
GGabriele fc527220a8 Adding nxos_bgp_neighbor module 8 years ago
GGabriele 0b7038d65b Fixing DOCSTRING yaml format 8 years ago
GGabriele 710962824e Fixing DOCSTRING yaml format 8 years ago
GGabriele 687c2198d0 Fixing DOCSTRING 8 years ago
GGabriele 5ba6a45d65 Adding nxos_bgp_af module 8 years ago
GGabriele 00f6276eaf Adding python object for 2.1 support 8 years ago
GGabriele 4b20a89739 Adding python object for 2.1 support 8 years ago
GGabriele 1c48fe9bc3 Adding python object for 2.1 support 8 years ago
GGabriele fe11b09b8d Adding python object for 2.1 support 8 years ago
GGabriele 8518cb4e97 Adding python objects for 2.1 support 8 years ago
Peter Sprygada baa2e930bb Merge pull request #4649 from privateip/ios_facts
bugfix that adds missing itertools import to ios_facts
8 years ago
GGabriele 2579ca43bf Fixing docstring 8 years ago
GGabriele 71067b1d4e Removing delete for bollean, fixing argparse, embedding python object 8 years ago
Peter Sprygada 4c8bbae415 bugfix that adds missing itertools import to ios_facts
fixes #4647
8 years ago
Peter Sprygada 8f3ee22a17 Merge pull request #4599 from skg-net/devel
Added Command and Config modules to support Dell Networking OS10 device
8 years ago
John R Barker ceddebaf28 Consistent naming of Arista EOS device (#4616) 8 years ago
Peter Sprygada 1d48b47cad Merge pull request #4627 from privateip/ops_template
update ops_template module using refactored network shared modules
8 years ago
Peter Sprygada dd6751d60a Merge pull request #4612 from privateip/ops_command
added new functionality to ops_command
8 years ago
Peter Sprygada 3746ed6a63 Merge pull request #4611 from privateip/ops_facts
update ops_facts with enhancements
8 years ago
Peter Sprygada 244c626822 Merge pull request #4610 from privateip/ops_config
update ops_config module with new enhancements
8 years ago
Senthil Kumar Ganesan 51c13ad82d Cleaned up the module imports 8 years ago
Peter Sprygada 9c64d1947c update ops_template module using refactored network shared modules
This updates the ops_template module to work with the network shared
modules introduced in Ansible 2.2

Tested with OpenSwitch 0.4.0
8 years ago
Peter Sprygada b99cad4128 added new functionality to ops_command
* commands argument now accepts a dict arguments
* waitfor has been renamed to wait_for with an alias to waitfor
* only show commands are allowed when check mode is specified
* config mode is no longer allowed in the command stack
* add argument match with valid values any, all

Tested on OpenSwitch 0.4.0
8 years ago
Peter Sprygada 6f9ab60f81 Merge pull request #4615 from ansible/gundalow-patch-2
Consistent naming of Arista EOS device
8 years ago
GGabriele 7f02615fd9 Fixing DOC string 8 years ago
GGabriele 1358e0fd91 Fixing RETURN string 8 years ago
GGabriele 84de0c5c57 Fixing RETURN string 8 years ago
GGabriele e1e0e2b045 Adding nxos_ospf_vrf module 8 years ago
GGabriele 69000b82b5 Adding nxos_ospf module 8 years ago
GGabriele 84d957beaa Adding nxos_evpn_global module 8 years ago
GGabriele 7af4081401 Fixing typo 8 years ago
GGabriele 224a47b718 Adding nxos_acl_interface_module 8 years ago
Michael Scherer 1acb23f8d6 Fix uri to run on python3 (#4580)
Since dict no longer have a method iteritems, we have to use
the six wrapper.
8 years ago
GGabriele d2135c7098 Adding RETURN string 8 years ago
GGabriele 7d7357bbb6 Fixing DOCSTRING 8 years ago
GGabriele cf32ae0290 Adding nxos_acl module 8 years ago
Peter Sprygada c215398e2f update eos_eapi module with new enhancements
* add support for vrf configurations
* add support for configing the qos value for eapi
* add config argument to specify the device running-config

Tested on EOS 4.15.4F
8 years ago
John R Barker ec1c490888 Consistent naming of Arista EOS device 8 years ago
GGabriele 166c2d0272 Fixing string case 8 years ago
Senthil Kumar Ganesan 2a06a594ec Incorporated Ansible community feedback 8 years ago
Peter Sprygada cbbb4af99a update ops_facts with enhancements
* adds support for default facts subset
* adds support for config facts subset
* maintain legacy facts from ops_facts pre-2.2

Tested on Openswitch 0.4.0
8 years ago
Peter Sprygada 2133b92980 update ops_config module with new enhancements
* add src argument to provide path to config file
* add new choice to match used to ignore current running config
* add update argument with choices merge or check
* add backup argument to backup current running config to control host
* add save argument to save current running config to startup config
* add state argument to control state of config file
* deprecated force argument, use match=none instead

Note: this module only supports transport=cli

Tested on OpenSwitch 0.4.0
8 years ago
Peter Sprygada 38fd67bead Merge pull request #4608 from privateip/ios_command
removes output keyword from command in ios_command
8 years ago
Peter Sprygada a6ffe2e7be removes output keyword from command in ios_command
IOS devices only support a single command output which is structured
text.  This removes the ability to specify the command output format
when providing complex arguments to the commands
8 years ago
Peter Sprygada 6543bb4bdd update nxos_nxapi module with minor enhancements (#4573)
* added new config argument
* added states present and absent
* update to use network shared modules

Tested on NXOS 7.3(0)D1(1)
8 years ago
Timothy Appnel 2538c70d46 Fixes get_url examples in docs and applies native YAML syntax. (#4474) 8 years ago
GGabriele 1083a9e7ea Fixing conditional format 8 years ago
GGabriele 17dfe863ec Fixing DOC 8 years ago
GGabriele 228269f093 Fixing DOC 8 years ago
GGabriele 405d3bfc5b Adding nxos_bgp.py 8 years ago
Senthil Kumar Ganesan b7480a34d5 Moved the modules to Dell folder 8 years ago
Senthil Kumar Ganesan 6152328abb Added Command and Config modules to support Dell Networking OS10 device 8 years ago
Peter Sprygada 12122952db Merge pull request #3950 from grybak-arista/eos_exit_fix
Move call to filter_exit out of command execution block
8 years ago
Peter Sprygada 277f8cfa5c convert nxos_facts map from dict to frozenset
* key maps are now frozenset instead of dict objects
* FactsBase now includes utility functions for transforming json data structures

Tested on NXOS 7.3(0)D1(1)
8 years ago
Peter Sprygada 565fb59d0a Merge pull request #4565 from privateip/iosxr_facts
add new iosxr_facts module for fact collection from XR devices
8 years ago
Peter Sprygada dfce797dad add new iosxr_facts module for fact collection from XR devices
* adds support for std network facts
* adds support for default facts subset
* adds support for config facts subset
* adds support for interface facts subset
* adds support for hardware facts subset

Tested on IOS-XR 6.0.0
8 years ago
Peter Sprygada 5917a73623 Merge pull request #4563 from privateip/iosxr_config
update iosxr_config with new arguments
8 years ago
Peter Sprygada a093fb1c83 Merge pull request #4566 from privateip/iosxr_template
update iosxr_template to use network shared modules
8 years ago
Peter Sprygada 13cfc911b4 Merge pull request #4567 from privateip/ios_template
update ios_template module using refactored network shared modules
8 years ago
Peter Sprygada f33b232819 Merge pull request #4568 from privateip/eos_template
update eos_template for network shared module
8 years ago
Peter Sprygada 97b231561b Merge pull request #4569 from privateip/nxos_template
update nxos_template module with network shared module changes
8 years ago
Peter Sprygada 49414a4c83 Merge pull request #4549 from privateip/nxos_facts
updates nxos_facts with more fact collections
8 years ago
Peter Sprygada 074273dbb4 update eos_template for network shared module
This updates the eos_template module to work with the changes introduced
in the network shared module in Ansible 2.2

Tested on EOS 4.15.4F
8 years ago
Peter Sprygada 78b58f4fa9 update nxos_template module with network shared module changes
This updates the nxos_template module to work with the network shared
modules introduced in Ansible 2.2

Tested on NXOS 7.3(0)D1(1)
8 years ago
Peter Sprygada 9acf4ea417 update ios_template module using refactored network shared modules
This updates the ios_template module to work with the network shared
modules introduced in Ansible 2.2

Tested in IOS 15.6(1)T
8 years ago
Peter Sprygada 7b5a4e2fa3 update iosxr_template to use network shared modules
This updates the iosxr_template module to make it work with the new
shared network modules introduced in Ansible 2.2

Tested on IOSXR 6.0.0
8 years ago
Jason Edelman 22772e75cf removed feature check for nxos_interface 8 years ago
Peter Sprygada cababe0947 update iosxr_config with new arguments
* add src argument to provide path to config file
* add new choice to match used to ignore current running config
* add update argument with choices merge, replace or check
* add backup argument to backup current running config to control host
* add comment argument to provide comment to commit
* deprecated force argument, use match=none instead
8 years ago
Peter Sprygada 84d69ee51b Merge pull request #4551 from privateip/eos_facts
add new eos_facts module for fact collect of EOS nodes
8 years ago
Peter Sprygada ef48b9188f add new eos_facts module for fact collect of EOS nodes
* adds support for std network facts
* adds support for default facts subset
* adds support for config facts subset
* adds support for interface facts subset
* adds support for hardware facts subset

Tested on EOS 4.15.4F
8 years ago
Peter Sprygada 2ca2223af2 updates nxos_facts with more fact collections
* adds support for std network facts
* adds support for default facts subset
* adds support for config facts subset
* adds support for interface facts subset
* adds support for hardware facts subset
* maintains backwards capabilitity with 2.1 facts module

Tested on NXOS 7.3(0)D1(1)
8 years ago
Peter Sprygada 44adf4195b Merge pull request #4523 from privateip/vyos_config
updates to vyos_config module arguments
8 years ago
Peter Sprygada e3b7bf0bf9 update RETURNS doc string in ios_facts
updates the doc string for consistency and completeness
8 years ago
Peter Sprygada ef84dbbddd Merge pull request #4536 from privateip/sros
initial add of network/sros modules
8 years ago
Peter Sprygada 24b697f925 updates to vyos_config module arguments
* arguments for vyos_config for 2.2 are now complete
* adds loading config file from disk (src argument)
* removes unsupported rollback argument
* changes update_config to update with options merge or check
* changes backup_config to backup
* add state argument for state of configuration file
* adds backup argument to backup current configuration
* adds save argument to control if active config is saved to disk
* adds comment argument for setting commit comment
* adds match argument to control configuraiton match

Tested with VyOS 1.7
8 years ago
Peter Sprygada 1320094ee9 initial add of network/sros modules
* adds support for sros_command module for sending arbitrary commands
* adds support for sros_config module for working with sros configurations
8 years ago
Peter Sprygada 55191c77b8 Merge pull request #4524 from privateip/vyos_command
added new functionality to vyos_command
8 years ago
Peter Sprygada a3931f9315 Merge pull request #4509 from privateip/iosxr_command
add new functionality to iosxr_command module
8 years ago
Peter Sprygada 66e48f5eb4 added new functionality to vyos_command
* commands argument now accepts a dict arguments
* waitfor has been renamed to wait_for with an alias to waitfor
* only show commands are allowd when check mode is specified
* config mode is no longer allowed in the command stack
* add argument match with valid values any, all
8 years ago
Peter Sprygada 5dad16e914 Merge pull request #4501 from privateip/eos_command
add new functionality to eos_command module
8 years ago
Peter Sprygada 12d6ae8de4 add new functionality to iosxr_command module
* commands argument now accepts a dict arguments[1]
* waitfor has been renamed to wait_for with an alias to waitfor
* only show commands are allowd when check mode is specified
* config mode is no longer allowed in the command stack
* add argument match with valid values any, all

[1] The commands argument will now accept a dict argument that can
specifiy the output format of the command.  To specify a dict argument
use the form of { command: <str>, output: <str>, prompt: <str>,
response: <str> }.
8 years ago
Peter Sprygada 356888a3a3 add new functionality to eos_command module
* commands argument now accepts a dict arguments[1]
* waitfor has been renamed to wait_for with an alias to waitfor
* only show commands are allowd when check mode is specified
* config mode is no longer allowed in the command stack
* add argument match with valid values any, all

[1] The commands argument will now accept a dict argument that can
specifiy the output format of the command.  To specify a dict argument
use the form of { command: <str>, output: <str>, prompt: <str>,
response: <str> }.  Command and output are required arguments. Output
accepts valid values text and json.
8 years ago
Peter Sprygada 577d34d163 update eos_config with new arguments
* add src argument to provide path to config file
* add new choice to match used to ignore current running config
* add update argument with choices merge, replace or check
* add backup argument to backup current running config to control host
* add defaults argument to control collection of config with or without defaults
* add save argument to save current running config to startup config
* add state argument to control state of config file
* deprecated force argument, use match=none instead
8 years ago
Peter Sprygada 18e53bc804 fix example in nxos_command module 8 years ago