Skip to content

Commit 4947cfe

Browse files
Add openconfig system annotation for authz
Signed-off-by: Niranjani Vivek <niranjaniv@google.com>
1 parent 61d8b07 commit 4947cfe

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

models/yang/annotations/openconfig-system-annot.yang

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,12 @@ module openconfig-system-annot {
5757
sonic-ext:subtree-transformer "console_counters_xfmr";
5858
}
5959
}
60+
   deviation /oc-sys:system/oc-sys:aaa/oc-sys:authorization/oc-sys:state {
61+
     deviate add {
62+
       sonic-ext:db-name "STATE_DB";
63+
       sonic-ext:subtree-transformer "authz_policy_xfmr";
64+
     }
65+
   }
6066

6167
deviation /oc-sys:system/gnsi-pathz:gnmi-pathz-policies {
6268
deviate add {

0 commit comments

Comments
 (0)