+++ /dev/null
-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