Add IOVisor module location augmentation
[groupbasedpolicy.git] / renderers / iovisor / src / main / yang / iovisor.yang
1 /*
2  * Copyright (c) 2014 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
9 module iovisor {
10     yang-version 1;
11
12     namespace "urn:opendaylight:groupbasedpolicy:iovisor";
13     prefix "iovisor";
14
15     import yang-ext {prefix ext; revision-date "2013-07-09";}
16     import ietf-inet-types { prefix inet; revision-date 2010-09-24; }
17     import endpoint { prefix endpoint; }
18
19     description
20         "This module defines the group-based policy iovisor renderer model.";
21
22     revision "2015-10-30" {
23         description
24                 "Initial revision.";
25     }
26
27     grouping iovisor-module-location {
28         leaf iom-uri {
29             type inet:uri;
30             description "IOVisor module uniform resource identifier.";
31         }
32     }
33     
34     augment "/endpoint:endpoints" {
35         description "Augmentation adding the IOVisor module location";
36         ext:augment-identifier "iovior-module-location";
37         uses iovisor-module-location;
38     }
39 }