Add shutdown hook.
[controller.git] / opendaylight / config / shutdown-api / src / main / yang / shutdown.yang
1 module shutdown {
2     yang-version 1;
3     namespace "urn:opendaylight:params:xml:ns:yang:controller:shutdown";
4     prefix "shutdown";
5
6     import config { prefix config; revision-date 2013-04-05; }
7
8     description
9         "This module contains the base YANG definitions for
10          shutdown service.
11
12         Copyright (c)2013 Cisco Systems, Inc. All rights reserved.;
13
14         This program and the accompanying materials are made available
15         under the terms of the Eclipse Public License v1.0 which
16         accompanies this distribution, and is available at
17         http://www.eclipse.org/legal/epl-v10.html";
18
19     revision "2013-12-18" {
20         description
21             "Initial revision.";
22     }
23
24     identity shutdown {
25         base "config:service-type";
26         config:java-class "org.opendaylight.controller.config.shutdown.ShutdownService";
27     }
28
29 }