@@ -15,9 +15,9 @@ module sonic-extension {
15
15
description "First Revision" ;
16
16
}
17
17
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 */
21
21
22
22
extension key-regex-configdb-to-yang {
23
23
description "Key regex used to convert config DB keys to YANG Config" ;
@@ -52,17 +52,18 @@ module sonic-extension {
52
52
}
53
53
54
54
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" ;
57
57
}
58
58
59
59
extension dependent-on {
60
60
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.
66
67
e.g. - dependent-on STP_LIST" ;
67
68
argument "value" ;
68
69
}
0 commit comments