-
Notifications
You must be signed in to change notification settings - Fork 0
/
nae.yaml
56 lines (54 loc) · 1.67 KB
/
nae.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
- name: NAE pre-change analysis
hosts:
connection: local
gather_facts: no
vars:
nae_login: &nae_login
hostname:
username:
password:
port: 443
validate_certs: no
tasks:
- name: Add-new Pre-change analysis by specifying change list manually
nae_prechange:
<<: *nae_login
ag_name: amslab
name: AddBD
changes: |
[{
"bd_change": {
"action": "ADD",
"dn": "uni/tn-robvand/BD-BD-A",
"optimize_wan_bandwidth": "no",
"type": "regular",
"arp_flood": "yes",
"ip_learning": "yes",
"limit_ip_learn_to_subnets": "yes",
"unk_mac_ucast_act": "proxy",
"unicast_route": "yes",
"multi_dst_pkt_act": "bd-flood",
"unk_mcast_act": "flood",
"multi_cast_allow": "no",
"vrf_name": "vrf1"
}
},
{
"network_subnet_change": {
"action": "ADD",
"dn": "uni/tn-robvand/BD-BD-A/subnet-10.0.12.1/24",
"scope": "private",
"make_this_primary_ip_address": "no",
"treat_as_virtual_ip_address": "no",
"subnet_control": "nd"
}
}]
state: present
delegate_to: localhost
- name: Query the PCR
nae_prechange:
<<: *nae_login
ag_name: amslab
name: AddBD
state: verify
delegate_to: localhost