--- /dev/null
+/*\r
+ * Copyright (c) 2015 Huawei, Inc. and others. All rights reserved.\r
+ *\r
+ * This program and the accompanying materials are made available under the\r
+ * terms of the Eclipse Public License v1.0 which accompanies this distribution,\r
+ * and is available at http://www.eclipse.org/legal/epl-v10.html\r
+ */\r
+\r
+module cli-renderer-impl {\r
+ yang-version 1;\r
+\r
+ namespace "urn:opendaylight:params:xml:ns:yang:nemo:cli:renderer:impl";\r
+ prefix "cli-renderer-impl";\r
+\r
+ import config { prefix config; revision-date 2013-04-05; }\r
+ import opendaylight-md-sal-binding { prefix mdsal; revision-date 2013-10-28; }\r
+\r
+ description\r
+ "This module contains the base YANG definitions for\r
+ NEMO CLI renderer implementation.";\r
+\r
+ revision "2015-11-19" {\r
+ description\r
+ "Initial revision.";\r
+ }\r
+\r
+ identity cli-renderer-impl {\r
+ base config:module-type;\r
+ config:java-name-prefix CliRenderer;\r
+ }\r
+\r
+ augment "/config:modules/config:module/config:configuration" {\r
+ case cli-renderer-impl {\r
+ when "/config:modules/config:module/config:type = 'cli-renderer-impl'";\r
+\r
+ container data-broker {\r
+ uses config:service-ref {\r
+ refine type {\r
+ mandatory false;\r
+ config:required-identity mdsal:binding-async-data-broker;\r
+ }\r
+ }\r
+ }\r
+ container rpc-registry {\r
+ uses config:service-ref {\r
+ refine type {\r
+ mandatory true;\r
+ config:required-identity mdsal:binding-rpc-registry;\r
+ }\r
+ }\r
+ }\r
+ container notification-service {\r
+ uses config:service-ref {\r
+ refine type {\r
+ mandatory true;\r
+ config:required-identity mdsal:binding-notification-service;\r
+ }\r
+ }\r
+ }\r
+ }\r
+ }\r
+}\r