@@ -15,9 +15,9 @@ module sonic-extension {
1515 description "First Revision" ;
1616 }
1717
18- /* For complete guide of using these extensions in SONiC yangs, refer
19- SONiC yang guidelines at
20- https://github.com/Azure/SONiC/blob/master/doc/mgmt/SONiC_YANG_Model_Guidelines.md */
18+ /* For complete guide of using these extensions in SONiC yangs, refer
19+ SONiC yang guidelines at
20+ https://github.com/Azure/SONiC/blob/master/doc/mgmt/SONiC_YANG_Model_Guidelines.md */
2121
2222 extension key-regex-configdb-to-yang {
2323 description "Key regex used to convert config DB keys to YANG Config" ;
@@ -52,17 +52,18 @@ module sonic-extension {
5252 }
5353
5454 extension custom-validation {
55- description "Extension for registering custom validation handler." ;
56- argument "handler" ;
55+ description "Extension for registering custom validation handler." ;
56+ argument "handler" ;
5757 }
5858
5959 extension dependent-on {
6060 description
61- "Extension to define dependency on other table. During create/update,
62- operation will be performed first on parent table and then on this table.
63- In delete operation, this table will be deleted first and then parent table.
64- This extension can be defined only under list. Table name should always
65- suffixed with '_LIST' as modeled in yang.
61+ "Extension to define dependency on other table. During CREATE/UPDATE,
62+ the action will be performed first on the Parent table and then on the
63+ Dependent table. In DELETE operation, the Dependent table will be
64+ deleted first and then the Parent table. This extension can be defined
65+ only under List nodes. Table name should always be suffixed with '_LIST'
66+ as modeled in yang.
6667 e.g. - dependent-on STP_LIST" ;
6768 argument "value" ;
6869 }
0 commit comments