Skip to content

Commit

Permalink
[cli] Add the definitions of mclag and pch_id to fix the startup fail…
Browse files Browse the repository at this point in the history
…ure.

1. Syncronize the definitions of mclag from PR#87.
2. Add the definition of pch_id.
  • Loading branch information
linemma committed Feb 16, 2023
1 parent 5c3c670 commit 5fabbfe
Showing 1 changed file with 30 additions and 2 deletions.
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

0 comments on commit 5fabbfe

Please sign in to comment.