2 * Copyright (c) 2012-2013 NEC Corporation
5 * This program and the accompanying materials are made available under the
6 * terms of the Eclipse Public License v1.0 which accompanies this
7 * distribution, and is available at http://www.eclipse.org/legal/epl-v10.html
9 package org.opendaylight.vtn.javaapi.ipc.enums;
11 public class UncPhysicalStructIndexEnum {
12 public enum UpplValDomainStIndex {
13 kIdxDomainStDomain, kIdxDomainStOperStatus
16 public enum UpplValDomainIndex {
17 kIdxDomainType, kIdxDomainDescription
20 public enum UpplDomainType {
21 UPPL_DOMAIN_TYPE_DEFAULT("0"), UPPL_DOMAIN_TYPE_NORMAL("1");
22 private final String value;
24 private UpplDomainType(final String value) {
28 public String getValue() {
33 public enum UpplValSwitchStIndex {
34 kIdxSwitch, kIdxSwitchOperStatus, kIdxSwitchManufacturer, kIdxSwitchHardware, kIdxSwitchSoftware, kIdxSwitchAlarmStatus
37 public enum UpplValSwitchIndex {
38 kIdxSwitchDescription, kIdxSwitchModel, kIdxSwitchIPAddress, kIdxSwitchIPV6Address, kIdxSwitchAdminStatus, kIdxSwitchDomainName
41 public enum UpplSwitchAdminStatus {
42 UPPL_SWITCH_ADMIN_UP("0"), UPPL_SWITCH_ADMIN_DOWN("1");
43 private final String value;
45 private UpplSwitchAdminStatus(final String value) {
49 public String getValue() {
54 public enum UpplPortAdminStatus{
55 UPPL_PORT_ADMIN_UP("0"),
56 UPPL_PORT_ADMIN_DOWN("1");
58 private final String value;
60 private UpplPortAdminStatus(final String value) {
64 public String getValue() {
69 public enum UpplPortOperStatus{
71 UPPL_PORT_OPER_DOWN("0"),
72 UPPL_PORT_OPER_UP("1"),
73 UPPL_PORT_OPER_UNKNOWN("2");
74 private final String value;
76 private UpplPortOperStatus(final String value) {
80 public String getValue() {
84 public enum UpplValPortStIndex {
85 kIdxPortSt, kIdxPortOperStatus, kIdxPortMacAddress, kIdxPortDirection, kIdxPortDuplex, kIdxPortSpeed, kIdxPortAlarmsStatus, kIdxPortLogicalPortId;
88 public enum UpplValPortNeighborIndex {
89 kIdxPort, kIdxPortConnectedSwitchId, kIdxPortConnectedPortId;
93 public enum UpplValPortIndex {
94 kIdxPortNumber, kIdxPortDescription, kIdxPortAdminStatus, kIdxPortTrunkAllowedVlan;
97 public enum UpplPortDuplex {
98 UPPL_PORT_DUPLEX_HALF(0), UPPL_PORT_DUPLEX_FULL(1);
100 private final int value;
102 private UpplPortDuplex(final int value) {
106 public int getValue() {
111 public enum UpplPortDirection {
112 UPPL_PORT_DIR_INTERNEL(0), UPPL_PORT_DIR_EXTERNAL(1), UPPL_PORT_DIR_UNKNOWN(
115 private final int value;
117 private UpplPortDirection(final int value) {
121 public int getValue() {
126 public enum UpplSwitchPortAlarmsStatus {
127 UPPL_ALARMS_DEFAULT_FLOW(0), UPPL_ALARMS_PORT_DIRECTION(1), UPPL_ALARMS_PORT_CONGES(
130 private final int value;
132 private UpplSwitchPortAlarmsStatus(final int value) {
136 public int getValue() {
141 public enum UpplSwitchOperStatus {
142 UPPL_SWITCH_OPER_DOWN("0"), UPPL_SWITCH_OPER_UP("1"), UPPL_SWITCH_OPER_UNKNOWN(
145 private final String value;
147 private UpplSwitchOperStatus(final String value) {
151 public String getValue() {
156 public enum UpplValCtrIndex {
157 kIdxType, kIdxVersion, kIdxDescription, kIdxIpAddress, kIdxUser, kIdxPassword, kIdxEnableAudit
160 // Not mapped with updated header file- Poorvi
162 public enum UpplTypeIndex {
163 UNC_CT_UNKNOWN("0"), UNC_CT_PFC("1"), UNC_CT_VNP("2");
165 private final String value;
167 private UpplTypeIndex(final String value) {
171 public String getValue() {
179 public enum UpplValBoundaryIndex {
180 kIdxBoundaryDescription, kIdxBoundaryControllerName1, kIdxBoundaryDomainName1, kIdxBoundaryLogicalPortId1, kIdxBoundaryControllerName2, kIdxBoundaryDomainName2, kIdxBoundaryLogicalPortId2
183 public enum UpplValBoundaryStIndex {
184 kIdxBoundaryStBoundary, kIdxBoundaryStOperStatus
188 public enum UpplBoundaryOperStatus {
189 UPPL_BOUNDARY_OPER_DOWN("0"),
190 UPPL_BOUNDARY_OPER_UP("1"),
191 UPPL_BOUNDARY_OPER_UNKNOWN("2");
193 private final String value;
195 private UpplBoundaryOperStatus(final String value) {
199 public String getValue() {
204 public enum UpplDomainOperStatus {
205 UPPL_SWITCH_OPER_DOWN("0"), UPPL_SWITCH_OPER_UP("1"), UPPL_SWITCH_OPER_UNKNOWN(
208 private final String value;
210 private UpplDomainOperStatus(final String value) {
214 public String getValue() {
219 public enum UpplControllerAuditStatus {
220 UPPL_AUTO_AUDIT_DISABLED("0"), UPPL_AUTO_AUDIT_ENABLED("1");
222 private final String value;
224 private UpplControllerAuditStatus(final String value) {
228 public String getValue() {
233 //Controller Response
234 public enum UpplValCtrStIndex {
235 kIdxController, kIdxActualVersion, kIdxOperStatus
238 public enum UpplValLinkIndex {
242 public enum UpplValLinkStIndex{
244 kIdxLinkStOperStatus,
247 /*public enum upplvallogicalportindex{
248 kIdxLogicalPortDescription ,
250 kIdxLogicalPortSwitchId,
251 kIdxLogicalPortPhysicalPortId,
252 kIdxLogicalPortOperDownCriteria
256 public enum UpplValLogicalPortStIndex{
258 kIdxLogicalPortStOperStatus
260 public enum UpplValLogicalPortIndex{
261 kIdxLogicalPortDescription,
263 kIdxLogicalPortSwitchId,
264 kIdxLogicalPortPhysicalPortId,
265 kIdxLogicalPortOperDownCriteria
267 public enum UpplLogicalPortType {
269 UPPL_LP_PHYSICAL_PORT("1"),
270 UPPL_LP_TRUNK_PORT("2"),
271 UPPL_LP_SUBDOMAIN("3"),
272 UPPL_LP_TUNNEL_ENDPOINT("4");
273 private final String value;
275 private UpplLogicalPortType(final String value) {
279 public String getValue() {
283 public enum UpplLogicalPortOperDownCriteria{
284 UPPL_OPER_DOWN_CRITERIA_ANY("0"),
285 UPPL_OPER_DOWN_CRITERIA_ALL("1");
286 private final String value;
287 private UpplLogicalPortOperDownCriteria(final String value) {
291 public String getValue() {
295 public enum UpplLogicalPortOperStatus{
296 UPPL_LOGICAL_PORT_OPER_DOWN("0"),
297 UPPL_LOGICAL_PORT_OPER_UP("1"),
298 UPPL_LOGICAL_PORT_OPER_UNKNOWN("2");
299 private final String value;
300 private UpplLogicalPortOperStatus(final String value) {
304 public String getValue() {