Skip to content

Commit

Permalink
[YANG] Add missing entry for sonic-srv6.yang in sonic-yang-models/set…
Browse files Browse the repository at this point in the history
…up.py (sonic-net#21560)

Previously, I did not add an entry in setup.py to install the srv6 yang model
Now, adding the missing entry for sonic-srv6.yang in sonic-yang-models/setup.py
  • Loading branch information
BYGX-wcr authored Jan 30, 2025
1 parent 3d8c940 commit f363258
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 @@ -210,7 +210,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 @@ -2794,7 +2794,7 @@
"client_key": "grpcclient.key",
"ca_crt": "root.pem",
"grpc_ssl_credential": "azureclient.ms"
}
}
},
"BANNER_MESSAGE": {
"global": {
Expand All @@ -2818,6 +2818,17 @@
"ASIC_SENSORS_POLLER_STATUS": {
"admin_status": "enable"
}
},
"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 f363258

Please sign in to comment.