Hi Michael, That makes sense. The pull request can be found at: https://github.com/ansible/ansible/pull/7587
The examples are indeed in the code already. But here theu are: ### Examples for a10_server # Create a new server ansible host -m a10_server -a "host=a10adc.example.com username=axapiuser password=axapipass server_name=realserver1 server_ip=192.168.1.23" # Add a port ansible host -m a10_server -a "host=a10adc.example.com username=axapiuser password=axapipass server_name=realserver1 server_port=80 server_protocol=tcp" # Disable a server ansible host -m a10_server -a "host=a10adc.example.com username=axapiuser password=axapipass server_name=realserver1 server_status=disable" ### Examples for a10_service_group # Create a new service-group ansible host -m a10_service_group -a "host=a10adc.example.com username=axapiuser password=axapipass service_group=sg-80-tcp" # Add a server ansible host -m a10_service_group -a "host=a10adc.example.com username=axapiuser password=axapipass service_group=sg-80-tcp server_name=realserver1 server_port=80" # Disable a server ansible host -m a10_service_group -a "host=a10adc.example.com username=axapiuser password=axapipass service_group=sg-80-tcp server_name=realserver1 server_port=80 status=disable" ### Examples for a10_virtual # Create a new virtual server ansible host -m a10_virtual -a "host=a10adc.example.com username=axapiuser password=axapipass virtual_server=vip1 virtual_server_ip=192.168.1.20" # Add a virtual port ansible host -m a10_virtual -a "host=a10adc.example.com username=axapiuser password=axapipass virtual_server=vip1 virtual_server_ip=192.168.1.20 virtual_server_port=80 virtual_server_port_type=http service_group=sg-80-tcp" # Disable a virtual server ansible host -m a10_virtual -a "host=a10adc.example.com username=axapiuser password=axapipass virtual_server=vip1 status=disable" # Disable a virtual server port ansible host -m a10_virtual -a "host=a10adc.example.com username=axapiuser password=axapipass virtual_server=vip1 virtual_server_port=80 virtual_server_port_type=http virtual_server_port_status=disable" Mischa On 01 Jun 2014, at 21:10, Michael DeHaan <[email protected]> wrote: > Hi, > > This is very nice to see, can you perhaps link to a pull request instead so > folks can leave comments there? > > This is usually an easier way to track review, and IIRC that's already been > submitted. > > Examples for people with A10 hardware to try would also we useful, though > these could be included in the EXAMPLES section of those modules, I'd think. > > Thanks! > > --Michael > > > > > On Sat, May 31, 2014 at 1:36 PM, Mischa Peters <[email protected]> wrote: > Hi All, > > I have created 3 modules for managing A10 Networks devices, Thunder / > vThunder / AX / SoftAX. > You can find them in my fork: https://github.com/mischapeters/ansible.git > > The current modules are: > - a10_server > -- creating / removing a server > -- creating / removing a server port > -- disable / enable the server > > - a10_service_group > -- creating / removing a service-group > -- setting the load balancing method > -- adding members to the service-group > -- disable / enable a member > > - a10_virtual > -- creating / removing a virtual-server > -- creating / removing virtual-server port > -- adding a service-group > -- disable / enable the virtual-server > -- disable / enable the virtual-server port > > Things that I would like to add in the near future: > - creating a source-nat pool > - adding a source-nat pool to the virtual-server port > - adding SSL certificates > - creating a Client-SSL template > - adding the Client-SSL template to the virtual-server port > - creating a health monitor > - adding the health monitor to the server port or service-group > > If there is anybody who has A10 Networks in their network please give it a go. > It requires aXAPI 2.1, which got introduced in ACOS release 2.7.1. Which is > now at 2.7.1-P5. > > Thanx! > > Mischa > > PS: full disclosure, I work for A10 Networks in EMEA. > > -- > You received this message because you are subscribed to the Google Groups > "Ansible Project" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/ansible-project/779D054C-0B77-4B5B-9D58-DD1676A784E1%40high5.nl. > For more options, visit https://groups.google.com/d/optout. > > > -- > You received this message because you are subscribed to the Google Groups > "Ansible Project" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/ansible-project/CA%2BnsWgz50V%3Dp7Q55sFkaG9oGOq4cfSHZBH%2BMP-J2rBH_1Y1apw%40mail.gmail.com. > For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/3D0606FF-19A6-4B67-A574-117F18D86CC3%40high5.nl. For more options, visit https://groups.google.com/d/optout.
