|
25 | 25 | ],
|
26 | 26 | "data_type" : [
|
27 | 27 | {
|
28 |
| - "data_type" : "LY_TYPE_STRING", |
29 |
| - "xpath" : "/test-port:port/test-port:PORT/test-port:PORT_LIST/test-port:port_name" |
| 28 | + "data_type" : "string", |
| 29 | + "xpath" : "/test-port:port/PORT/PORT_LIST/port_name" |
30 | 30 | },
|
31 | 31 | {
|
32 |
| - "data_type" : "LY_TYPE_LEAFREF", |
33 |
| - "xpath" : "/test-vlan:vlan/test-vlan:VLAN_INTERFACE/test-vlan:VLAN_INTERFACE_LIST/test-vlan:vlanid" |
| 32 | + "data_type" : "leafref", |
| 33 | + "xpath" : "/test-vlan:vlan/VLAN_INTERFACE/VLAN_INTERFACE_LIST/vlanid" |
34 | 34 | }
|
35 | 35 | ],
|
36 | 36 | "delete_nodes" : [
|
37 | 37 | {
|
38 |
| - "valid" : "False", |
| 38 | + "valid" : false, |
39 | 39 | "xpath" : "/test-port:port/PORT/PORT_LIST[port_name='Ethernet10']/speed"
|
40 | 40 | },
|
41 | 41 | {
|
42 |
| - "valid" : "True", |
| 42 | + "valid" : true, |
43 | 43 | "xpath" : "/test-port:port/PORT/PORT_LIST[port_name='Ethernet9']/mtu"
|
44 | 44 | },
|
45 | 45 | {
|
46 |
| - "valid" : "False", |
| 46 | + "valid" : false, |
47 | 47 | "xpath" : "/test-port:port/PORT/PORT_LIST[port_name='Ethernet20']/mtu"
|
48 | 48 | }
|
49 | 49 | ],
|
|
56 | 56 | ],
|
57 | 57 | "xpath" : "/test-port:port/PORT/PORT_LIST[port_name='Ethernet8']/port_name"
|
58 | 58 | },
|
| 59 | + { |
| 60 | + "dependencies" : [ |
| 61 | + "/test-acl:acl/ACL_RULE/ACL_RULE_LIST[ACL_TABLE_NAME='PACL-V6'][RULE_NAME='Rule_20']/ACL_TABLE_NAME", |
| 62 | + "/test-acl:acl/ACL_RULE/ACL_RULE_LIST[ACL_TABLE_NAME='PACL-test'][RULE_NAME='rule_20']/ACL_TABLE_NAME", |
| 63 | + "/test-acl:acl/ACL_RULE/ACL_RULE_LIST[ACL_TABLE_NAME='PACL-V4'][RULE_NAME='Rule_20']/ACL_TABLE_NAME", |
| 64 | + "/test-acl:acl/ACL_RULE/ACL_RULE_LIST[ACL_TABLE_NAME='PACL-V4'][RULE_NAME='Rule_40']/ACL_TABLE_NAME" |
| 65 | + ], |
| 66 | + "xpath" : "/test-acl:acl/ACL_TABLE" |
| 67 | + }, |
| 68 | + { |
| 69 | + "dependencies" : [ |
| 70 | + "/test-acl:acl/ACL_TABLE/ACL_TABLE_LIST[ACL_TABLE_NAME='PACL-V6']/ports[.='Ethernet8']", |
| 71 | + "/test-vlan:vlan/VLAN_MEMBER/VLAN_MEMBER_LIST[vlanid='111'][port='Ethernet2']/port", |
| 72 | + "/test-vlan:vlan/VLAN_MEMBER/VLAN_MEMBER_LIST[vlanid='111'][port='Ethernet3']/vlanid", |
| 73 | + "/test-vlan:vlan/VLAN_INTERFACE/VLAN_INTERFACE_LIST[vlanid='555'][ip-prefix='fe80::/10']/vlanid", |
| 74 | + "/test-interface:interface/INTERFACE/INTERFACE_LIST[interface='Ethernet8'][ip-prefix='10.1.1.64/26']/interface", |
| 75 | + "/test-vlan:vlan/VLAN_INTERFACE/VLAN_INTERFACE_LIST[vlanid='111'][ip-prefix='2000:f500:45:6709::/64']/vlanid", |
| 76 | + "/test-vlan:vlan/VLAN_MEMBER/VLAN_MEMBER_LIST[vlanid='111'][port='Ethernet5']/vlanid", |
| 77 | + "/test-vlan:vlan/VLAN_MEMBER/VLAN_MEMBER_LIST[vlanid='111'][port='Ethernet1']/port", |
| 78 | + "/test-acl:acl/ACL_TABLE/ACL_TABLE_LIST[ACL_TABLE_NAME='PACL-V4']/ports[.='Ethernet0']", |
| 79 | + "/test-vlan:vlan/VLAN_MEMBER/VLAN_MEMBER_LIST[vlanid='111'][port='Ethernet6']/port", |
| 80 | + "/test-acl:acl/ACL_TABLE/ACL_TABLE_LIST[ACL_TABLE_NAME='PACL-V4']/ports[.='Ethernet2']", |
| 81 | + "/test-acl:acl/ACL_TABLE/ACL_TABLE_LIST[ACL_TABLE_NAME='PACL-V6']/ports[.='Ethernet7']", |
| 82 | + "/test-vlan:vlan/VLAN_MEMBER/VLAN_MEMBER_LIST[vlanid='111'][port='Ethernet3']/port", |
| 83 | + "/test-interface:interface/INTERFACE/INTERFACE_LIST[interface='Ethernet8'][ip-prefix='2000:f500:40:a749::/126']/interface", |
| 84 | + "/test-acl:acl/ACL_RULE/ACL_RULE_LIST[ACL_TABLE_NAME='PACL-test'][RULE_NAME='rule_20']/ACL_TABLE_NAME", |
| 85 | + "/test-vlan:vlan/VLAN_MEMBER/VLAN_MEMBER_LIST[vlanid='111'][port='Ethernet0']/port", |
| 86 | + "/test-vlan:vlan/VLAN_MEMBER/VLAN_MEMBER_LIST[vlanid='111'][port='Ethernet5']/port", |
| 87 | + "/test-vlan:vlan/VLAN_MEMBER/VLAN_MEMBER_LIST[vlanid='111'][port='Ethernet1']/vlanid", |
| 88 | + "/test-vlan:vlan/VLAN_INTERFACE/VLAN_INTERFACE_LIST[vlanid='111'][ip-prefix='fe80::/10']/vlanid", |
| 89 | + "/test-vlan:vlan/VLAN_MEMBER/VLAN_MEMBER_LIST[vlanid='111'][port='Ethernet4']/port", |
| 90 | + "/test-acl:acl/ACL_RULE/ACL_RULE_LIST[ACL_TABLE_NAME='PACL-V4'][RULE_NAME='Rule_20']/ACL_TABLE_NAME", |
| 91 | + "/test-vlan:vlan/VLAN_MEMBER/VLAN_MEMBER_LIST[vlanid='111'][port='Ethernet2']/vlanid", |
| 92 | + "/test-acl:acl/ACL_TABLE/ACL_TABLE_LIST[ACL_TABLE_NAME='PACL-V6']/ports[.='Ethernet9']", |
| 93 | + "/test-vlan:vlan/VLAN_MEMBER/VLAN_MEMBER_LIST[vlanid='111'][port='Ethernet6']/vlanid", |
| 94 | + "/test-acl:acl/ACL_RULE/ACL_RULE_LIST[ACL_TABLE_NAME='PACL-V4'][RULE_NAME='Rule_40']/ACL_TABLE_NAME", |
| 95 | + "/test-vlan:vlan/VLAN_MEMBER/VLAN_MEMBER_LIST[vlanid='111'][port='Ethernet0']/vlanid", |
| 96 | + "/test-acl:acl/ACL_RULE/ACL_RULE_LIST[ACL_TABLE_NAME='PACL-V6'][RULE_NAME='Rule_20']/ACL_TABLE_NAME", |
| 97 | + "/test-vlan:vlan/VLAN_INTERFACE/VLAN_INTERFACE_LIST[vlanid='111'][ip-prefix='10.1.1.64/26']/vlanid", |
| 98 | + "/test-vlan:vlan/VLAN_MEMBER/VLAN_MEMBER_LIST[vlanid='111'][port='Ethernet4']/vlanid", |
| 99 | + "/test-acl:acl/ACL_TABLE/ACL_TABLE_LIST[ACL_TABLE_NAME='PACL-V4']/ports[.='Ethernet1']", |
| 100 | + "/test-vlan:vlan/VLAN_INTERFACE/VLAN_INTERFACE_LIST[vlanid='555'][ip-prefix='2000:f500:41:4e9::/64']/vlanid", |
| 101 | + "/test-vlan:vlan/VLAN_INTERFACE/VLAN_INTERFACE_LIST[vlanid='555'][ip-prefix='10.1.5.64/26']/vlanid" |
| 102 | + ], |
| 103 | + "xpath" : "/" |
| 104 | + }, |
59 | 105 | {
|
60 | 106 | "dependencies" : [],
|
61 | 107 | "xpath" : "/test-port:port/PORT/PORT_LIST[port_name='Ethernet8']/alias"
|
|
67 | 113 | "xpath" : "/test-vlan:vlan/test-vlan:VLAN_INTERFACE/test-vlan:VLAN_INTERFACE_LIST/test-vlan:vlanid"
|
68 | 114 | },
|
69 | 115 | {
|
70 |
| - "leafref_path" : "/test-port:port/test-port:PORT/test-port:PORT_LIST/test-port:port_name", |
| 116 | + "leafref_path" : "/port:port/port:PORT/port:PORT_LIST/port:port_name", |
71 | 117 | "xpath" : "/test-interface:interface/test-interface:INTERFACE/test-interface:INTERFACE_LIST/test-interface:interface"
|
72 | 118 | },
|
73 | 119 | {
|
74 |
| - "leafref_path" : "/test-port:port/test-port:PORT/test-port:PORT_LIST/test-port:port_name", |
| 120 | + "leafref_path" : "/port:port/port:PORT/port:PORT_LIST/port:port_name", |
75 | 121 | "xpath" : "/test-vlan:vlan/test-vlan:VLAN_MEMBER/test-vlan:VLAN_MEMBER_LIST/test-vlan:port"
|
76 | 122 | },
|
77 | 123 | {
|
|
81 | 127 | ],
|
82 | 128 | "leafref_type" : [
|
83 | 129 | {
|
84 |
| - "data_type" : "LY_TYPE_UINT16", |
| 130 | + "data_type" : "uint16", |
85 | 131 | "xpath" : "/test-vlan:vlan/VLAN_INTERFACE/VLAN_INTERFACE_LIST[vlanid='111'][ip-prefix='2000:f500:45:6709::/64']/vlanid"
|
86 | 132 | },
|
87 | 133 | {
|
88 |
| - "data_type" : "LY_TYPE_STRING", |
| 134 | + "data_type" : "string", |
89 | 135 | "xpath" : "/test-interface:interface/INTERFACE/INTERFACE_LIST[interface='Ethernet8'][ip-prefix='2000:f500:40:a749::/126']/interface"
|
90 | 136 | },
|
91 | 137 | {
|
92 |
| - "data_type" : "LY_TYPE_STRING", |
| 138 | + "data_type" : "string", |
93 | 139 | "xpath" : "/test-vlan:vlan/VLAN_MEMBER/VLAN_MEMBER_LIST[vlanid='111'][port='Ethernet0']/port"
|
94 | 140 | },
|
95 | 141 | {
|
96 |
| - "data_type" : "LY_TYPE_UINT16", |
| 142 | + "data_type" : "uint16", |
97 | 143 | "xpath" : "/test-vlan:vlan/VLAN_MEMBER/VLAN_MEMBER_LIST[vlanid='111'][port='Ethernet0']/vlanid"
|
98 | 144 | }
|
99 | 145 | ],
|
100 | 146 | "leafref_type_schema" : [
|
101 | 147 | {
|
102 |
| - "data_type" : "LY_TYPE_UINT16", |
103 |
| - "xpath" : "/test-vlan:vlan/test-vlan:VLAN_INTERFACE/test-vlan:VLAN_INTERFACE_LIST/test-vlan:vlanid" |
| 148 | + "data_type" : "uint16", |
| 149 | + "xpath" : "/test-vlan:vlan/VLAN_INTERFACE/VLAN_INTERFACE_LIST/vlanid" |
104 | 150 | },
|
105 | 151 | {
|
106 |
| - "data_type" : "LY_TYPE_STRING", |
107 |
| - "xpath" : "/test-interface:interface/test-interface:INTERFACE/test-interface:INTERFACE_LIST/test-interface:interface" |
| 152 | + "data_type" : "string", |
| 153 | + "xpath" : "/test-interface:interface/INTERFACE/INTERFACE_LIST/interface" |
108 | 154 | },
|
109 | 155 | {
|
110 |
| - "data_type" : "LY_TYPE_STRING", |
111 |
| - "xpath" : "/test-vlan:vlan/test-vlan:VLAN_MEMBER/test-vlan:VLAN_MEMBER_LIST/test-vlan:port" |
| 156 | + "data_type" : "string", |
| 157 | + "xpath" : "/test-vlan:vlan/VLAN_MEMBER/VLAN_MEMBER_LIST/port" |
112 | 158 | },
|
113 | 159 | {
|
114 |
| - "data_type" : "LY_TYPE_UINT16", |
115 |
| - "xpath" : "/test-vlan:vlan/test-vlan:VLAN_MEMBER/test-vlan:VLAN_MEMBER_LIST/test-vlan:vlanid" |
| 160 | + "data_type" : "uint16", |
| 161 | + "xpath" : "/test-vlan:vlan/VLAN_MEMBER/VLAN_MEMBER_LIST/vlanid" |
116 | 162 | }
|
117 | 163 | ],
|
118 | 164 | "members" : [
|
|
257 | 303 | "schema_dependencies" : [
|
258 | 304 | {
|
259 | 305 | "schema_dependencies" : [
|
260 |
| - "/test-acl:acl/test-acl:ACL_TABLE/test-acl:ACL_TABLE_LIST/test-acl:ports", |
261 |
| - "/test-portchannel:portchannel/test-portchannel:PORTCHANNEL/test-portchannel:PORTCHANNEL_LIST/test-portchannel:members", |
262 |
| - "/test-interface:interface/test-interface:INTERFACE/test-interface:INTERFACE_LIST/test-interface:interface", |
263 |
| - "/test-vlan:vlan/test-vlan:VLAN_MEMBER/test-vlan:VLAN_MEMBER_LIST/test-vlan:port" |
| 306 | + "/test-acl:acl/ACL_TABLE/ACL_TABLE_LIST/ports", |
| 307 | + "/test-portchannel:portchannel/PORTCHANNEL/PORTCHANNEL_LIST/members", |
| 308 | + "/test-interface:interface/INTERFACE/INTERFACE_LIST/interface", |
| 309 | + "/test-vlan:vlan/VLAN_MEMBER/VLAN_MEMBER_LIST/port" |
264 | 310 | ],
|
265 |
| - "xpath" : "/test-port:port/test-port:PORT/test-port:PORT_LIST/test-port:port_name" |
| 311 | + "xpath" : "/test-port:port/PORT/PORT_LIST/port_name" |
266 | 312 | }
|
267 | 313 | ],
|
268 | 314 | "schema_nodes" : [
|
269 | 315 | {
|
270 |
| - "value" : "/test-vlan:vlan/test-vlan:VLAN_INTERFACE/test-vlan:VLAN_INTERFACE_LIST/test-vlan:family", |
| 316 | + "value" : "/test-vlan:vlan/VLAN_INTERFACE/VLAN_INTERFACE_LIST/family", |
271 | 317 | "xpath" : "/test-vlan:vlan/VLAN_INTERFACE/VLAN_INTERFACE_LIST[vlanid='111'][ip-prefix='10.1.1.64/26']/family"
|
272 | 318 | },
|
273 | 319 | {
|
274 |
| - "value" : "/test-port:port/test-port:PORT/test-port:PORT_LIST/test-port:speed", |
| 320 | + "value" : "/test-port:port/PORT/PORT_LIST/speed", |
275 | 321 | "xpath" : "/test-port:port/PORT/PORT_LIST[port_name='Ethernet9']/speed"
|
276 | 322 | }
|
277 | 323 | ],
|
|
0 commit comments