forked from sonic-net/sonic-mgmt-common
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathopenconfig-system-annot.yang
More file actions
33 lines (27 loc) · 991 Bytes
/
openconfig-system-annot.yang
File metadata and controls
33 lines (27 loc) · 991 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
module openconfig-system-annot {
yang-version "1";
namespace "http://openconfig.net/yang/openconfig-system-annot";
prefix "oc-sys-annot";
import openconfig-system { prefix oc-sys; }
import sonic-extensions {prefix sonic-ext; }
import openconfig-system-grpc { prefix oc-sys-grpc; }
import gnsi-pathz { prefix gnsi-pathz; }
deviation /oc-sys:system/oc-sys:ssh-server/oc-sys:state {
deviate add {
sonic-ext:db-name "STATE_DB";
sonic-ext:subtree-transformer "ssh_server_state_xfmr";
}
}
deviation /oc-sys:system/oc-sys-grpc:grpc-servers {
deviate add {
sonic-ext:key-transformer "grpc_server_key_xfmr";
sonic-ext:subtree-transformer "grpc_server_xfmr";
}
}
deviation /oc-sys:system/gnsi-pathz:gnmi-pathz-policies {
deviate add {
sonic-ext:key-transformer "pathz_policies_key_xfmr";
sonic-ext:subtree-transformer "pathz_policies_xfmr";
}
}
}