-module opendaylight-md-sal-common {
- yang-version 1;
- namespace "urn:opendaylight:params:xml:ns:yang:controller:md:sal:common";
- prefix "md-sal-common";
-
- description
- "Common definition for MD-SAL.";
-
- revision "2013-10-28" {
- description
- "Initial revision";
- }
-
- grouping rpc-routing-table {
-
- leaf routing-context {
- type string;
- }
- list routes {
- leaf path {
- type string;
- }
- leaf destination {
- type string;
- }
- }
-
- }
-
- grouping rpc-router {
- leaf module {
- type string;
- }
- container routing-tables {
- list routing-table {
- uses rpc-routing-table;
- }
- }
- }
-
- grouping rpc-state {
- list rpc-router {
- uses rpc-router;
- }
- }
-
- grouping notification-state {
- container notifications {
- leaf published {
- type uint32;
- }
- }
- }
-
- grouping data-state {
- container transactions {
- leaf created {
- type uint32;
- }
- leaf successful {
- type uint32;
- }
- leaf failed {
- type uint32;
- }
- }
- }
+module opendaylight-md-sal-common {\r
+ yang-version 1;\r
+ namespace "urn:opendaylight:params:xml:ns:yang:controller:md:sal:common";\r
+ prefix "md-sal-common";\r
+ \r
+ description\r
+ "Common definition for MD-SAL.";\r
+ \r
+ revision "2013-10-28" {\r
+ description\r
+ "Initial revision";\r
+ }\r
+ \r
+ grouping rpc-routing-table {\r
+ \r
+ leaf routing-context {\r
+ type string;\r
+ }\r
+ list routes {\r
+ leaf path {\r
+ type string;\r
+ }\r
+ leaf destination {\r
+ type string;\r
+ }\r
+ }\r
+ \r
+ }\r
+\r
+ grouping rpc-router {\r
+ leaf module {\r
+ type string;\r
+ }\r
+ container routing-tables {\r
+ list routing-table {\r
+ uses rpc-routing-table;\r
+ }\r
+ }\r
+ }\r
+ \r
+ grouping rpc-state {\r
+ list rpc-router {\r
+ uses rpc-router;\r
+ }\r
+ }\r
+ \r
+ grouping notification-state {\r
+ container notifications {\r
+ leaf published {\r
+ type uint32;\r
+ }\r
+ }\r
+ }\r
+ \r
+ grouping data-state {\r
+ container transactions {\r
+ leaf created {\r
+ type uint32;\r
+ }\r
+ leaf submitted {\r
+ type uint32;\r
+ }\r
+ leaf successful {\r
+ type uint32;\r
+ }\r
+ leaf failed {\r
+ type uint32;\r
+ }\r
+ }\r
+ }\r
}
\ No newline at end of file