1 module odl-mdsal-lowlevel-common {
4 namespace "tag:opendaylight.org,2017:controller:yang:lowlevel:common";
7 import yang-ext { prefix ext; revision-date 2013-07-09; }
9 organization "OpenDaylight";
10 contact "Vratko Polak <vrpolak@cisco.com>";
12 revision "2017-02-15" {
13 description "Initial revision for Carbon clustering testing.";
15 description "Declarations to be used both in odl-mdsal-lowlevel-target (llt)
16 and odl-mdsal-lowlevel-control (ll).";
18 grouping id-grouping {
20 description "Any string uniquely identifying the publisher, producer or writer,
21 typically containing the member name.";
27 grouping constant-grouping {
29 description "The string to be returned by llt:get-constant
30 (or llt:get-contexted-constant) RPC implementation.
31 The string typically includes (the context and) the name of the member
32 the user called to cause the RPC implementation registration
33 (that member may be different from both the member running the implementation,
34 and member where llt:get-constant is called).";
40 identity constant-context {
41 description "Routed RPCs context needs to be based on an identity.";
45 description "Routed RPCs need to be registered with a path.
46 It has to be an instance-identifier within an accessible model,
47 but the instance does not have to be present in data tree.
48 This is config false to signal users they do not need to create any instance.";
53 description "Users are free to refer to arbitrary strings
54 if they are testing RPC regstrations to different paths.";
59 grouping context-grouping {
61 description "The context for bound implementation of
62 llt:get-contexted-constant RPC to match.
63 The extension has no data, users are free to use instance identifiers
64 referring to (non-existent) items of rpc-context list.";
65 ext:context-reference constant-context;
67 type instance-identifier;