|
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 | ],
|
|
67 | 67 | "xpath" : "/test-vlan:vlan/test-vlan:VLAN_INTERFACE/test-vlan:VLAN_INTERFACE_LIST/test-vlan:vlanid"
|
68 | 68 | },
|
69 | 69 | {
|
70 |
| - "leafref_path" : "/test-port:port/test-port:PORT/test-port:PORT_LIST/test-port:port_name", |
| 70 | + "leafref_path" : "/port:port/port:PORT/port:PORT_LIST/port:port_name", |
71 | 71 | "xpath" : "/test-interface:interface/test-interface:INTERFACE/test-interface:INTERFACE_LIST/test-interface:interface"
|
72 | 72 | },
|
73 | 73 | {
|
74 |
| - "leafref_path" : "/test-port:port/test-port:PORT/test-port:PORT_LIST/test-port:port_name", |
| 74 | + "leafref_path" : "/port:port/port:PORT/port:PORT_LIST/port:port_name", |
75 | 75 | "xpath" : "/test-vlan:vlan/test-vlan:VLAN_MEMBER/test-vlan:VLAN_MEMBER_LIST/test-vlan:port"
|
76 | 76 | },
|
77 | 77 | {
|
|
81 | 81 | ],
|
82 | 82 | "leafref_type" : [
|
83 | 83 | {
|
84 |
| - "data_type" : "LY_TYPE_UINT16", |
| 84 | + "data_type" : "uint16", |
85 | 85 | "xpath" : "/test-vlan:vlan/VLAN_INTERFACE/VLAN_INTERFACE_LIST[vlanid='111'][ip-prefix='2000:f500:45:6709::/64']/vlanid"
|
86 | 86 | },
|
87 | 87 | {
|
88 |
| - "data_type" : "LY_TYPE_STRING", |
| 88 | + "data_type" : "string", |
89 | 89 | "xpath" : "/test-interface:interface/INTERFACE/INTERFACE_LIST[interface='Ethernet8'][ip-prefix='2000:f500:40:a749::/126']/interface"
|
90 | 90 | },
|
91 | 91 | {
|
92 |
| - "data_type" : "LY_TYPE_STRING", |
| 92 | + "data_type" : "string", |
93 | 93 | "xpath" : "/test-vlan:vlan/VLAN_MEMBER/VLAN_MEMBER_LIST[vlanid='111'][port='Ethernet0']/port"
|
94 | 94 | },
|
95 | 95 | {
|
96 |
| - "data_type" : "LY_TYPE_UINT16", |
| 96 | + "data_type" : "uint16", |
97 | 97 | "xpath" : "/test-vlan:vlan/VLAN_MEMBER/VLAN_MEMBER_LIST[vlanid='111'][port='Ethernet0']/vlanid"
|
98 | 98 | }
|
99 | 99 | ],
|
100 | 100 | "leafref_type_schema" : [
|
101 | 101 | {
|
102 |
| - "data_type" : "LY_TYPE_UINT16", |
103 |
| - "xpath" : "/test-vlan:vlan/test-vlan:VLAN_INTERFACE/test-vlan:VLAN_INTERFACE_LIST/test-vlan:vlanid" |
| 102 | + "data_type" : "uint16", |
| 103 | + "xpath" : "/test-vlan:vlan/VLAN_INTERFACE/VLAN_INTERFACE_LIST/vlanid" |
104 | 104 | },
|
105 | 105 | {
|
106 |
| - "data_type" : "LY_TYPE_STRING", |
107 |
| - "xpath" : "/test-interface:interface/test-interface:INTERFACE/test-interface:INTERFACE_LIST/test-interface:interface" |
| 106 | + "data_type" : "string", |
| 107 | + "xpath" : "/test-interface:interface/INTERFACE/INTERFACE_LIST/interface" |
108 | 108 | },
|
109 | 109 | {
|
110 |
| - "data_type" : "LY_TYPE_STRING", |
111 |
| - "xpath" : "/test-vlan:vlan/test-vlan:VLAN_MEMBER/test-vlan:VLAN_MEMBER_LIST/test-vlan:port" |
| 110 | + "data_type" : "string", |
| 111 | + "xpath" : "/test-vlan:vlan/VLAN_MEMBER/VLAN_MEMBER_LIST/port" |
112 | 112 | },
|
113 | 113 | {
|
114 |
| - "data_type" : "LY_TYPE_UINT16", |
115 |
| - "xpath" : "/test-vlan:vlan/test-vlan:VLAN_MEMBER/test-vlan:VLAN_MEMBER_LIST/test-vlan:vlanid" |
| 114 | + "data_type" : "uint16", |
| 115 | + "xpath" : "/test-vlan:vlan/VLAN_MEMBER/VLAN_MEMBER_LIST/vlanid" |
116 | 116 | }
|
117 | 117 | ],
|
118 | 118 | "members" : [
|
|
257 | 257 | "schema_dependencies" : [
|
258 | 258 | {
|
259 | 259 | "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" |
| 260 | + "/test-acl:acl/ACL_RULE/ACL_RULE_LIST/ACL_TABLE_NAME", |
| 261 | + "/test-vlan:vlan/VLAN_MEMBER/VLAN_MEMBER_LIST/vlanid", |
| 262 | + "/test-vlan:vlan/VLAN_INTERFACE/VLAN_INTERFACE_LIST/vlanid", |
| 263 | + "/test-acl:acl/ACL_TABLE/ACL_TABLE_LIST/ports", |
| 264 | + "/test-portchannel:portchannel/PORTCHANNEL/PORTCHANNEL_LIST/members", |
| 265 | + "/test-interface:interface/INTERFACE/INTERFACE_LIST/interface", |
| 266 | + "/test-vlan:vlan/VLAN_MEMBER/VLAN_MEMBER_LIST/port" |
264 | 267 | ],
|
265 | 268 | "xpath" : "/test-port:port/test-port:PORT/test-port:PORT_LIST/test-port:port_name"
|
266 | 269 | }
|
267 | 270 | ],
|
268 | 271 | "schema_nodes" : [
|
269 | 272 | {
|
270 |
| - "value" : "/test-vlan:vlan/test-vlan:VLAN_INTERFACE/test-vlan:VLAN_INTERFACE_LIST/test-vlan:family", |
| 273 | + "value" : "/test-vlan:vlan/VLAN_INTERFACE/VLAN_INTERFACE_LIST/family", |
271 | 274 | "xpath" : "/test-vlan:vlan/VLAN_INTERFACE/VLAN_INTERFACE_LIST[vlanid='111'][ip-prefix='10.1.1.64/26']/family"
|
272 | 275 | },
|
273 | 276 | {
|
274 |
| - "value" : "/test-port:port/test-port:PORT/test-port:PORT_LIST/test-port:speed", |
| 277 | + "value" : "/test-port:port/PORT/PORT_LIST/speed", |
275 | 278 | "xpath" : "/test-port:port/PORT/PORT_LIST[port_name='Ethernet9']/speed"
|
276 | 279 | }
|
277 | 280 | ],
|
|
0 commit comments