Skip to content

Commit 5a6b735

Browse files
authored
Merge pull request sonic-net#568 from BYGX-wcr/cherry-pick-srv6-yang
[Cherry-pick][YANG] Add missing entry for sonic-srv6.yang in sonic-yang-models/setup.py (sonic-net#21560)
2 parents b7665b8 + fe41581 commit 5a6b735

File tree

2 files changed

+14
-2
lines changed

2 files changed

+14
-2
lines changed

src/sonic-yang-models/setup.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,8 @@ def run(self):
208208
'./yang-models/sonic-xcvrd-log.yang',
209209
'./yang-models/sonic-grpcclient.yang',
210210
'./yang-models/sonic-serial-console.yang',
211-
'./yang-models/sonic-smart-switch.yang',]),
211+
'./yang-models/sonic-smart-switch.yang',
212+
'./yang-models/sonic-srv6.yang']),
212213
('cvlyang-models', ['./cvlyang-models/sonic-acl.yang',
213214
'./cvlyang-models/sonic-banner.yang',
214215
'./cvlyang-models/sonic-bgp-common.yang',

src/sonic-yang-models/tests/files/sample_config_db.json

+12-1
Original file line numberDiff line numberDiff line change
@@ -2784,7 +2784,7 @@
27842784
"client_key": "grpcclient.key",
27852785
"ca_crt": "root.pem",
27862786
"grpc_ssl_credential": "azureclient.ms"
2787-
}
2787+
}
27882788
},
27892789
"BANNER_MESSAGE": {
27902790
"global": {
@@ -2800,6 +2800,17 @@
28002800
"sampling_interval": "5",
28012801
"retention_period": "15"
28022802
}
2803+
},
2804+
"SRV6_MY_LOCATORS": {
2805+
"loc1": {
2806+
"prefix": "fcbb:bbbb:1::"
2807+
}
2808+
},
2809+
"SRV6_MY_SIDS": {
2810+
"loc1|fcbb:bbbb:1::/48": {
2811+
"action": "uN",
2812+
"decap_dscp_mode": "pipe"
2813+
}
28032814
}
28042815
},
28052816
"SAMPLE_CONFIG_DB_UNKNOWN": {

0 commit comments

Comments
 (0)