Skip to content

Commit b77eaaa

Browse files
committed
fix ut
1 parent 8f571ab commit b77eaaa

File tree

1 file changed

+26
-15
lines changed
  • src/sonic-yang-models/tests/yang_model_tests/tests_config

1 file changed

+26
-15
lines changed

src/sonic-yang-models/tests/yang_model_tests/tests_config/neigh.json

+26-15
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,13 @@
1313
"sonic-neigh:NEIGH": {
1414
"NEIGH_LIST": [
1515
{
16-
"vlan": "Vlan1000",
16+
"port": "Vlan1000",
1717
"neighbor": "100.1.1.3",
1818
"neigh": "00:02:02:03:04:05",
1919
"family": "IPv4"
2020
},
2121
{
22-
"vlan": "Vlan1000",
22+
"port": "Vlan1000",
2323
"neighbor": "100.1.1.4",
2424
"family": "IPv4"
2525
}
@@ -42,7 +42,7 @@
4242
"sonic-neigh:NEIGH": {
4343
"NEIGH_LIST": [
4444
{
45-
"vlan": "Vlan1000",
45+
"port": "Vlan1000",
4646
"neigh": "00:02:02:03:04:05",
4747
"family": "IPv4"
4848
}
@@ -56,13 +56,13 @@
5656
"sonic-neigh:NEIGH": {
5757
"NEIGH_LIST": [
5858
{
59-
"vlan": "INVALIDVlan",
59+
"port": "INVALIDVlan",
6060
"neighbor": "100.1.1.3",
6161
"neigh": "00:02:02:03:04:05",
6262
"family": "IPv4"
6363
},
6464
{
65-
"vlan": "Vlan1000",
65+
"port": "Vlan1000",
6666
"neighbor": "100.1.1.4",
6767
"family": "IPv4"
6868
}
@@ -74,11 +74,19 @@
7474
"VALID_NEIGH_PORTCHANNEL": {
7575
"sonic-neigh:sonic-neigh": {
7676
"sonic-neigh:NEIGH": {
77-
"sonic-neigh:global": {
78-
"port": [
79-
"PortChannel11"
80-
]
81-
}
77+
"NEIGH_LIST": [
78+
{
79+
"port": "PortChannel11",
80+
"neighbor": "100.1.1.3",
81+
"neigh": "00:02:02:03:04:05",
82+
"family": "IPv4"
83+
},
84+
{
85+
"port": "PortChannel11",
86+
"neighbor": "100.1.1.4",
87+
"family": "IPv4"
88+
}
89+
]
8290
}
8391
},
8492
"sonic-portchannel:sonic-portchannel": {
@@ -96,11 +104,14 @@
96104
"NEIGH_INVALID_PORTCHANNEL": {
97105
"sonic-neigh:sonic-neigh": {
98106
"sonic-neigh:NEIGH": {
99-
"sonic-neigh:global": {
100-
"port": [
101-
"PortChannel10"
102-
]
103-
}
107+
"NEIGH_LIST": [
108+
{
109+
"port": "PortChannel10",
110+
"neighbor": "100.1.1.3",
111+
"neigh": "00:02:02:03:04:05",
112+
"family": "IPv4"
113+
}
114+
]
104115
}
105116
},
106117
"sonic-portchannel:sonic-portchannel": {

0 commit comments

Comments
 (0)