3 namespace "urn:opendaylight:params:xml:ns:yang:controller:shutdown:impl";
4 prefix "shutdown-impl";
6 import shutdown { prefix shutdown; revision-date 2013-12-18; }
7 import config { prefix config; revision-date 2013-04-05; }
8 import rpc-context { prefix rpcx; revision-date 2013-06-17; }
10 organization "Cisco Systems, Inc.";
13 "This module contains the base YANG definitions for
14 shutdown implementation.
16 Copyright (c)2013 Cisco Systems, Inc. All rights reserved.;
18 This program and the accompanying materials are made available
19 under the terms of the Eclipse Public License v1.0 which
20 accompanies this distribution, and is available at
21 http://www.eclipse.org/legal/epl-v10.html";
23 revision "2013-12-18" {
29 base config:module-type;
30 config:provided-service shutdown:shutdown;
33 augment "/config:modules/config:module/config:configuration" {
35 when "/config:modules/config:module/config:type = 'shutdown'";
47 augment "/config:modules/config:module/config:state" {
49 when "/config:modules/config:module/config:type = 'shutdown'";
50 rpcx:rpc-context-instance "shutdown-rpc";
54 identity shutdown-rpc;
58 uses rpcx:rpc-context-ref {
59 refine context-instance {
60 rpcx:rpc-context-instance shutdown-rpc;