1 module custom-types-test {
4 namespace "urn:custom.types.demo";
7 organization "opendaylight";
8 contact "WILL-BE-DEFINED-LATER";
12 import identity-ref-test {
16 extension mountpoint {
17 description "enter point";
23 typedef access-operations-type {
26 description "Any protocol operation that creates a new data node.";
29 description "Any protocol operation or notification that returns the value of a data node.";
33 description "Any protocol operation that alters an existing data node.";
36 description "Any protocol operation that removes a data node.";
40 description "Execution access to the specified protocol operation.";
43 description "NETCONF Access Operation.";
47 type instance-identifier {
48 require-instance false;
50 iit:mountpoint "mnt-extension";
54 type instance-identifier;
58 type service-type-ref;
62 type service-type2-ref;
66 type service-type3-ref;
71 description "crypto-id description";
72 iit:mountpoint "mnt-extension";
75 identity crypto-base {
76 description "crypto-base description";
81 description "crypto-alg description";
86 description "crypto-def description";
94 bit auto-sense-speed {
101 default "auto-sense-speed";
107 description "An unknown or unspecified version of the Internet protocol.";
111 description "The IPv4 protocol as defined in RFC 791.";
115 description "The IPv6 protocol as defined in RFC 2460.";
118 description "default ip";
123 identity service-type {
125 "Service identity base type. All service identities must be
126 derived from this type. A service type uniquely defines a single
127 atomic API contract, such as a Java interface, a set of C
128 function declarations, or similar.
130 If the service type has a corresponding Java interface, the name
131 of that interface should be attached to the derived identity MUST
132 include a java-class keyword, whose name argument points to that
136 typedef service-type-ref {
138 "Internal type of references to service type identity.";
144 typedef service-type2-ref {
146 "Internal type of references to service type2 identity.";
152 typedef service-type3-ref {
154 "Internal type of references to service type3 identity.";
155 type service-type-ref;