Fixed some major sonar issues in yang-validation-tool
[yangtools.git] / code-generator / maven-sal-api-gen-plugin / src / test / resources / wadl-gen / controller-network-rpcs.yang
1 /*
2  * Copyright (c) 2013 Cisco Systems, Inc. and others.  All rights reserved.
3  *
4  * This program and the accompanying materials are made available under the
5  * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6  * and is available at http://www.eclipse.org/legal/epl-v10.html
7  */
8 module controller-network-rpcs {
9         yang-version 1;
10         namespace "urn:opendaylight:controller:network:rpcs";
11         prefix "topos";
12         
13         import ietf-inet-types { prefix "inet"; }
14         
15         revision 2013-05-20 {
16            description "Initial demo";
17         }
18         
19         rpc activate-software-image {
20          input {
21              leaf image-name {
22                  type string;
23              }
24          }
25          output {
26              leaf status {
27                  type string;
28              }
29          }
30      }
31      
32      rpc rock-the-house {
33          input {
34              leaf zip-code {
35                  type string;
36              }
37          }
38      }
39 }