Skip to content
Merged
14 changes: 14 additions & 0 deletions examples/accesslist.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---
- name: Configure accessslist
hosts: localhost
tasks:
- name: Create accesslist
delegate_to: localhost
netscaler.adc.accesslist:
state: present
id: 1
remark: "Allow all traffic"
rules:
- action: permit
address: 2.1.1.21
wildcard: "0.0.0.255"
13 changes: 13 additions & 0 deletions examples/bfdinterface.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
- name: Configure bfdinterface
hosts: localhost
tasks:
- name: Create bfdinterface
delegate_to: localhost
netscaler.adc.bfdinterface:
state: present
name: vlan0
passive: true
interval: 752
minrx: 501
multiplier: 3
12 changes: 12 additions & 0 deletions examples/iproute.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
- name: Configure bfdinterface
hosts: localhost
tasks:
- name: Create bfdinterface
delegate_to: localhost
netscaler.adc.iproute:
state: present
addressFamily: ipv4
prefix: 33.1.1.0
prefixLength: 24
nextHop: 10.106.210.24
12 changes: 0 additions & 12 deletions examples/location.yaml

This file was deleted.

13 changes: 13 additions & 0 deletions examples/ospf6interface.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
- name: Configure ospf6interface
hosts: localhost
tasks:
- name: Create ospf6interface
delegate_to: localhost
netscaler.adc.ospf6interface:
state: present

name: "vlan10"
areaId: 0
tagId: "22"
instanceId: 0
15 changes: 15 additions & 0 deletions examples/ospf6router.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
---
- name: Sample ospf6router playbook
hosts: localhost
gather_facts: false
tasks:
- name: Configure ospf6router
delegate_to: localhost
netscaler.adc.ospf6router:
state: unset
tagId: 11
afParams:
- addressFamily: ipv6
redistribute:
- protocol: static
metric: 111
20 changes: 20 additions & 0 deletions examples/ospfinterface.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
- name: Sample ospfinterface playbook
hosts: localhost
gather_facts: false
tasks:
- name: Configure ospfinterface
delegate_to: localhost
netscaler.adc.ospfinterface:
state: present
name: vlan100
helloInterval: 10
deadInterval: 40
cost: 10
priority: 1
mtu: 1500
networkType: broadcast
authType: "null"
retransmitInterval: 5
transmitDelay: 1
bfd: false
20 changes: 20 additions & 0 deletions examples/ospfrouter.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
- name: Sample ospfrouter playbook
hosts: localhost
gather_facts: false
tasks:
- name: Configure ospfrouter
delegate_to: localhost
netscaler.adc.ospfrouter:
state: present

processId: 1
routerId: "1.1.1.1"
passiveInterface:
- vlan22
redistribute:
- protocol: connected
networks:
- ipaddress: "33.1.2.5"
netmask: 25
area: 1
16 changes: 16 additions & 0 deletions examples/routemap.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
---
- name: Sample routeMap playbook
hosts: localhost
gather_facts: false
tasks:
- name: Configure routeMap
delegate_to: localhost
netscaler.adc.routemap:
state: present

name: test
rules:
- action: permit
sequence: 10
setMetric: 105
matchAsPath: "300"
9 changes: 9 additions & 0 deletions meta/runtime.yml
Original file line number Diff line number Diff line change
Expand Up @@ -999,3 +999,12 @@ action_groups:
- vxlan_srcip_binding
- vxlanvlanmap
- vxlanvlanmap_vxlan_binding
- accesslist
- bfdinterface
- iproute
- routemap
- ospf6interface
- ospf6router
- ospfrouter
- ospfinterface
- bgprouter
Loading