Skip to content

Commit

Permalink
Merge pull request #568 from BYGX-wcr/cherry-pick-srv6-yang
Browse files Browse the repository at this point in the history
[Cherry-pick][YANG] Add missing entry for sonic-srv6.yang in sonic-yang-models/setup.py (#21560)
  • Loading branch information
r12f authored Jan 31, 2025
2 parents b7665b8 + fe41581 commit 5a6b735
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/sonic-yang-models/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,8 @@ def run(self):
'./yang-models/sonic-xcvrd-log.yang',
'./yang-models/sonic-grpcclient.yang',
'./yang-models/sonic-serial-console.yang',
'./yang-models/sonic-smart-switch.yang',]),
'./yang-models/sonic-smart-switch.yang',
'./yang-models/sonic-srv6.yang']),
('cvlyang-models', ['./cvlyang-models/sonic-acl.yang',
'./cvlyang-models/sonic-banner.yang',
'./cvlyang-models/sonic-bgp-common.yang',
Expand Down
13 changes: 12 additions & 1 deletion src/sonic-yang-models/tests/files/sample_config_db.json
Original file line number Diff line number Diff line change
Expand Up @@ -2784,7 +2784,7 @@
"client_key": "grpcclient.key",
"ca_crt": "root.pem",
"grpc_ssl_credential": "azureclient.ms"
}
}
},
"BANNER_MESSAGE": {
"global": {
Expand All @@ -2800,6 +2800,17 @@
"sampling_interval": "5",
"retention_period": "15"
}
},
"SRV6_MY_LOCATORS": {
"loc1": {
"prefix": "fcbb:bbbb:1::"
}
},
"SRV6_MY_SIDS": {
"loc1|fcbb:bbbb:1::/48": {
"action": "uN",
"decap_dscp_mode": "pipe"
}
}
},
"SAMPLE_CONFIG_DB_UNKNOWN": {
Expand Down

0 comments on commit 5a6b735

Please sign in to comment.