Joe (rook)
2219339dd5
Adding ethtool info to Ansible interface facts ( #16513 )
...
This will give the user details on how the interfaces are configured.
They user could query to see if TSO, GSO, etc are enbaled
on an interface.
2016-07-24 21:39:47 -04:00
Toshio Kuratomi
48a2773463
Find places where ziploader is used and change them to ansiballz so that people aren't confused when they google for information.information ( #16715 )
2016-07-21 10:58:24 -07:00
Peter Sprygada
c4e2c0f487
Merge pull request #16728 from privateip/netcfg
...
minor update to the default comment tokens in netcfg
2016-07-15 16:42:51 -04:00
Peter Sprygada
ab3c5a0a17
minor update to the default comment tokens in netcfg
...
* adds checkout /* and */ as comment delimiters
* now raises exception if invalid output keyword value is used
2016-07-15 16:13:41 -04:00
Peter Sprygada
05ca246ddc
adds new function to check config for unsupported commands
...
Some commands fail when being set so the load_config function will
now filter those commands out and return them in the result key
as filtered.
2016-07-15 16:12:12 -04:00
Peter Sprygada
f0c8c9e55c
add common argument save_config to vyos_argument_spec
2016-07-14 07:29:24 -07:00
Chris Houseknecht
16a3f28f6e
Fix find_image() not matching on tag
2016-07-11 17:13:07 -04:00
Brian Coca
0a439df4b0
removed redundant True/False cause arg.lower()
2016-07-11 14:22:30 -04:00
Peter Sprygada
637bbdadfa
add new features to ios shared module
...
* add load_config() for loading a set of configuration commands
* add load_candidate() function for loading a candidate config
* updates shared module to provide NetworKModule instead of get_module
* fixes Cli transport implementation for 2.2 refactor
* updates ios documentation fragments with new options
2016-07-11 05:57:15 -07:00
Peter Sprygada
80ab80b6fd
adds additional capabilities to diff of network configs
...
* diff functions now split out for easier troubleshooting
* added dumps() function to serialize config objects to strings
* difference() can now expand all blocks instead of just singluar blocks
2016-07-09 14:53:39 -04:00
Peter Sprygada
c2d5865627
adds restconf transport option to ios shared module
...
includes changes from PR ansible/ansible#16636 and refactors for the
NetworkModule changes
new features
* ios now supports transport=restcon will additional arguments
* ModuleStub refactored into common network shared module
* import temporary get_module() function (to be removed prior to 2.2 final)
2016-07-09 08:19:10 -04:00
Peter Sprygada
c0c9cf6441
add helper factory function to avoid breaking network modules in devel
...
This is a temporary change to keep the get_module() function until all
of the network module refactoring is completed to avoid breaking them
in devel. The get_module() function should not be used and will be
removed before 2.2 final.
2016-07-09 07:20:17 -04:00
jctanner
fe8258a378
make timeout decorator for facts have a configurable duration ( #16551 )
...
* Add a gather_timeout parameter
* update example ansible.cfg
* fix play level fact gathering too
2016-07-08 17:46:41 -04:00
Nathaniel Case
af5fba759f
EOS new ModuleStub
...
As per #16575
2016-07-07 16:09:28 -04:00
Peter Sprygada
b4d36f6ed4
Implement IOS restconf
2016-07-07 14:39:47 -04:00
Nathaniel Case
18738c81da
New ModuleStub solution
2016-07-07 14:35:27 -04:00
Nathaniel Case
72204ddd3e
Net mod ios ( #16426 )
...
* Update IOS with new NetworkModule
* Remove redundant EOS code
* `authorize` can get rolled into NetCli
* Fix up IOS to where EOS is.
* Update IOSXR for NetworkModule
* collections is unnecessary
2016-07-07 13:46:33 -04:00
Toshio Kuratomi
251c9182fe
Refactor network and eos module_utils to use a subclass instead of factory function to create the NetworkModule
2016-07-06 18:24:24 -07:00
René Moser
0f5f5fffee
cloudstack: handle unicode API results in has_changed ( #16601 )
...
* cloudstack: handle unicode API results in has_changed
* cloudstack: add more case sensitve keys
2016-07-06 20:27:31 +02:00
Peter Sprygada
58eab8ee9f
Merge pull request #16573 from privateip/network
...
captures the responses from running commands and adds response to object
2016-07-06 14:19:13 -04:00
Peter Sprygada
7d53fd2ef2
Merge pull request #16587 from privateip/netcfg
...
minor bug fixes found in netcfg
2016-07-05 21:16:15 -04:00
Peter Sprygada
f30a836063
bug fixes in vyos shared module
...
* fixes lots of bugs with get_config function to perform correctly
* refactors load_config into load_candidate
* adds load_config function to convert commands to NetworkConfig
2016-07-05 20:27:11 -04:00
Peter Sprygada
3002965af0
minor bug fixes found in netcfg
...
* fixes issue with converting config to lines
* fixes issue with returning text config with single line
2016-07-05 20:25:53 -04:00
Peter Sprygada
0430923647
Merge pull request #16423 from privateip/netcfg
...
bug fix in netcfg replace method to handle whitespace argument
2016-07-04 22:54:16 -04:00
Peter Sprygada
65713c2418
Merge pull request #16574 from privateip/vyos
...
add get_config function to vyos shared module
2016-07-04 22:53:26 -04:00
Peter Sprygada
2866c7a9fb
updates netcfg to remove dependency on collections module
...
This fixes the netcfg shared lib to be compatable with python versions
prior to 2.7.
2016-07-04 22:25:39 -04:00
Peter Sprygada
6b8c24e0f8
bug fix in netcfg replace method to handle whitespace argument
2016-07-04 22:24:02 -04:00
Peter Sprygada
75b8cf6ab3
captures the responses from running commands and adds response to object
...
The Command object can now store the response from executing the command
to allow it to be retrieved later by command name. This update will
update the Command instance with the response before returning.
2016-07-04 22:21:15 -04:00
Peter Sprygada
527e4196b2
adds new method to return specific response from command to netcmd
...
This adds a new method that will return the output from a specified
command that has already been excuted by the CommandRunner. The new
method, get_command takes a single argument which is the full name
of the command to retrieve.
2016-07-04 22:20:51 -04:00
Peter Sprygada
062db03f99
add get_config function to vyos shared module
...
This adds a new shard function get_config to retrieve the device
configuration either from module arguments or remotely from the
device.
2016-07-04 22:10:39 -04:00
Chris Houseknecht
54db1df244
Merge pull request #16559 from chouseknecht/azure-rc5
...
Fix authentication via params and env variables.
2016-07-04 15:03:13 -04:00
Chris Houseknecht
c71a939b08
Fix authentication via params and env vars. Update guide to RC5.
2016-07-02 21:36:34 -04:00
Chris Houseknecht
9e93f1c907
Merge pull request #16558 from chouseknecht/azure-rc5
...
Update and pin to azure-2.0.0rc5
2016-07-02 18:35:36 -04:00
chouseknecht
a076612b63
Update and pin to azure-2.0.0rc5
2016-07-02 18:16:43 -04:00
Stian Vikan
288446c9bf
Added and-quit to all commit statements. ( #16411 )
2016-07-01 12:11:05 -04:00
Peter Sprygada
46a97e1f55
removes dependency on collections module from eos ( #16485 )
...
This removes the dependency on the Python collections module to make
it fully compliant with version prior to py2.7
2016-06-30 11:55:21 -04:00
Peter Sprygada
9b40e1106e
removes dependency on collections module from netcmd
...
This change removes the dependency on collections so netcmd is
compatable with python versions prior to py2.7
2016-06-28 17:13:13 -07:00
Lars Fredriksen
4b5203c5fb
add holders to partitions ( #16446 )
...
* add holders to partitions
* make holder gathering a function
2016-06-28 09:44:51 -04:00
Peter Sprygada
d83962d3f5
Merge pull request #15992 from ogenstad/asa
...
Module util, template action and doc fragment for Cisco ASA
2016-06-27 06:32:12 -07:00
Peter Sprygada
32b605f603
Merge pull request #16422 from privateip/network
...
bug fix changes Config class in network to only raise exceptions
2016-06-23 16:15:20 -07:00
Peter Sprygada
77922f82e2
initial commit of vyos shared module with Cli transport
...
This adds support for the VyOS network operating system using the
Cli transport. This module will simplify building VyOS based
modules in Ansible
2016-06-23 12:27:33 -07:00
James Cammarata
3ea3fa8d46
Merge pull request #14639 from ivovangeel/find_mount_point-bug
...
Fixed bug in find_mount_point function
2016-06-22 22:38:54 -05:00
James Cammarata
7c27f72515
Merge pull request #14356 from mludvig/session_token
...
Add support for AWS_SESSION_TOKEN environment variable. (trivial patch)
2016-06-22 18:51:09 -05:00
Peter Sprygada
107c13759e
changes Config class in network to only raise exceptions
...
The Config class should not call fail_json but simply raise exceptions
and allow the implementor to handle the exception
2016-06-22 09:22:50 -05:00
Nathaniel Case
5dccff29bf
Network Module: EOS ( #16158 )
...
* add new module network
* move EOS to NetworkModule
* shell.py Python 3.x compatibility
* implements the Command class through the connection for eos
This implements a new Command class that specifies the cli command
and output format. This removes the need to batch commands through
the connection
* initial add of netcmd module
2016-06-20 12:11:48 -04:00
Zempashi
af150ea43a
Fix linux 'ip' stdout parsing. ( #16170 )
...
With network-manager in debian (stretch) and openvpn connection enabled
the output for ipv6 is different and include a 'peer' keyword.
Fixes #15448
2016-06-17 17:10:45 -04:00
Nate Coraor
706778ee7f
Fix distro detection for Solaris derivatives
2016-06-17 16:54:52 -04:00
Toshio Kuratomi
c4838286ac
Make sure we don't end up with an empty PYTHONPATH ( #16240 )
...
When the PYTHONPATH is an empty string python will treat it as though
the cwd is in the PYTHONPATH. This can be undesirable. So make sure we
delete PYTHONPATH from the environment altgether in this case.
Fixes #16195
2016-06-15 07:02:56 -07:00
biancalana
e143d3a75b
Better FreeBSD distribution facts ( #15866 )
...
* - Give more usable content to distribution_version and set distribution_major_version
* Make python 2.4 friendly
2016-06-14 17:58:23 -04:00
ben-taylor-nzme
e1d248dddf
fix error message ( #16264 )
...
The error was: TypeError: fail_json() takes exactly 1 argument (2 given)
2016-06-14 10:02:07 -04:00