Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[cli] Add the definitions of mclag and pch_id to fix the startup failure. #103

Merged
merged 1 commit into from
Apr 19, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 30 additions & 2 deletions CLI/clitree/cli-xml/sonic_types.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright 2019 Dell, Inc.
Copyright 2019 Dell, Inc.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand All @@ -13,7 +13,7 @@ distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
-->

<!DOCTYPE CLISH_MODULE [
<!ENTITY MAX_MTU "9216">
Expand Down Expand Up @@ -104,6 +104,34 @@ limitations under the License.
help=""
/>
<!--=======================================================-->
<PTYPE
name="RANGE_1_4095"
method="integer"
pattern="1..4095"
help=""
/>
<!--=======================================================-->
<PTYPE
name="LAG_ID"
method="integer"
pattern="1..256"
help="Port-channel id"
/>
<!--=======================================================-->
<PTYPE
name="MCLAG_KA_INTERVAL_RANGE"
method="integer"
pattern="1..60"
help="Keepalive Interval"
/>
<!--=======================================================-->
<PTYPE
name="MCLAG_SESSION_TIMEOUT_RANGE"
method="integer"
pattern="1..3600"
help="Session Timeout"
/>
<!--=======================================================-->
<PTYPE
name="IPADDR_NN"
pattern="(^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])[:]([0-9]{1,4}|[1-5][0-9]{4}|6[0-4][0-9]{3}|65[0-4][0-9]{2}|655[0-2][0-9]|6553[0-5])$)"
Expand Down