Skip to content

Commit d9fc5cc

Browse files
Merge pull request #555 from netscaler/NSNETAUTO-1005_SupportDynamicRouting
NSNETAUTO-1005 supporting dynamic routing protocols
2 parents 902a07b + 91936af commit d9fc5cc

22 files changed

+2023
-12
lines changed

examples/accesslist.yaml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
---
2+
- name: Configure accessslist
3+
hosts: localhost
4+
tasks:
5+
- name: Create accesslist
6+
delegate_to: localhost
7+
netscaler.adc.accesslist:
8+
state: present
9+
id: 1
10+
remark: "Allow all traffic"
11+
rules:
12+
- action: permit
13+
address: 2.1.1.21
14+
wildcard: "0.0.0.255"

examples/bfdinterface.yaml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
---
2+
- name: Configure bfdinterface
3+
hosts: localhost
4+
tasks:
5+
- name: Create bfdinterface
6+
delegate_to: localhost
7+
netscaler.adc.bfdinterface:
8+
state: present
9+
name: vlan0
10+
passive: true
11+
interval: 752
12+
minrx: 501
13+
multiplier: 3

examples/iproute.yaml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
---
2+
- name: Configure bfdinterface
3+
hosts: localhost
4+
tasks:
5+
- name: Create bfdinterface
6+
delegate_to: localhost
7+
netscaler.adc.iproute:
8+
state: present
9+
addressFamily: ipv4
10+
prefix: 33.1.1.0
11+
prefixLength: 24
12+
nextHop: 10.106.210.24

examples/location.yaml

Lines changed: 0 additions & 12 deletions
This file was deleted.

examples/ospf6interface.yaml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
---
2+
- name: Configure ospf6interface
3+
hosts: localhost
4+
tasks:
5+
- name: Create ospf6interface
6+
delegate_to: localhost
7+
netscaler.adc.ospf6interface:
8+
state: present
9+
10+
name: "vlan10"
11+
areaId: 0
12+
tagId: "22"
13+
instanceId: 0

examples/ospf6router.yaml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
---
2+
- name: Sample ospf6router playbook
3+
hosts: localhost
4+
gather_facts: false
5+
tasks:
6+
- name: Configure ospf6router
7+
delegate_to: localhost
8+
netscaler.adc.ospf6router:
9+
state: unset
10+
tagId: 11
11+
afParams:
12+
- addressFamily: ipv6
13+
redistribute:
14+
- protocol: static
15+
metric: 111

examples/ospfinterface.yaml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
---
2+
- name: Sample ospfinterface playbook
3+
hosts: localhost
4+
gather_facts: false
5+
tasks:
6+
- name: Configure ospfinterface
7+
delegate_to: localhost
8+
netscaler.adc.ospfinterface:
9+
state: present
10+
name: vlan100
11+
helloInterval: 10
12+
deadInterval: 40
13+
cost: 10
14+
priority: 1
15+
mtu: 1500
16+
networkType: broadcast
17+
authType: "null"
18+
retransmitInterval: 5
19+
transmitDelay: 1
20+
bfd: false

examples/ospfrouter.yaml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
---
2+
- name: Sample ospfrouter playbook
3+
hosts: localhost
4+
gather_facts: false
5+
tasks:
6+
- name: Configure ospfrouter
7+
delegate_to: localhost
8+
netscaler.adc.ospfrouter:
9+
state: present
10+
11+
processId: 1
12+
routerId: "1.1.1.1"
13+
passiveInterface:
14+
- vlan22
15+
redistribute:
16+
- protocol: connected
17+
networks:
18+
- ipaddress: "33.1.2.5"
19+
netmask: 25
20+
area: 1

examples/routemap.yaml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
---
2+
- name: Sample routeMap playbook
3+
hosts: localhost
4+
gather_facts: false
5+
tasks:
6+
- name: Configure routeMap
7+
delegate_to: localhost
8+
netscaler.adc.routemap:
9+
state: present
10+
11+
name: test
12+
rules:
13+
- action: permit
14+
sequence: 10
15+
setMetric: 105
16+
matchAsPath: "300"

meta/runtime.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -999,3 +999,12 @@ action_groups:
999999
- vxlan_srcip_binding
10001000
- vxlanvlanmap
10011001
- vxlanvlanmap_vxlan_binding
1002+
- accesslist
1003+
- bfdinterface
1004+
- iproute
1005+
- routemap
1006+
- ospf6interface
1007+
- ospf6router
1008+
- ospfrouter
1009+
- ospfinterface
1010+
- bgprouter

0 commit comments

Comments
 (0)