Bump versions by x.y.(z+1)
[unimgr.git] / presto-api / src / main / yang / onf-core-network-types.yang
1 /*
2  * Copyright (c) 2016 Cisco Systems, Inc. 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 INTERNAL
7  */
8 module onf-core-network-types {
9   namespace "urn:onf:core-network-types";
10   prefix onf-cnt;
11
12   revision 2016-06-30 {
13   }
14
15   typedef OperType {
16     type enumeration {
17       enum REVERTIVE;
18       enum NON-REVERTIVE;
19     }
20   }
21
22   typedef LayerProtocolName {
23     type string;
24   }
25
26   typedef ForwardingDirection {
27     type enumeration {
28       enum BIDIRECTIONAL;
29       enum UNIDIRECTIONAL;
30       enum UNDEFINED_OR_UNKNOWN;
31     }
32   }
33
34   typedef PortRole {
35     status current;
36     type string;
37   }
38
39   typedef PortDirection {
40     type enumeration {
41       enum BIDIRECTIONAL;
42       enum INPUT;
43       enum OUTPUT;
44       enum UNIDENTIFIED_OR_UNKNOWN;
45     }
46   }
47
48   typedef ProtectionType {
49     status deprecated;
50     type string;
51   }
52
53   typedef TerminationDirection {
54     type enumeration {
55       enum BIDIRECTIONAL;
56       enum SINK;
57       enum SOURCE;
58       enum UNDEFINED_OR_UNKNOWN;
59     }
60   }
61
62 }