Merge "BUG-2329 Add test for anyxmls inside rpc resonse for netcfon-connector"
[controller.git] / opendaylight / sal / networkconfiguration / api / src / main / java / org / opendaylight / controller / sal / networkconfig / bridgedomain / ConfigConstants.java
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 package org.opendaylight.controller.sal.networkconfig.bridgedomain;
9
10 /**
11  * Enum constant that is used as a key for the configuration parameters for BridgeDomains and Ports.
12  * The main intention of having a constant type is to avoid fragmentation and find common grounds for
13  * applications to rely on.
14  *
15  * This is set to expand based on various capabilities south-bound protocol might expose.
16  * Not all of them be supported by all the plugins. But this gives a consolidated view of
17  * all the supported feature configs and avoid config fragmentation.
18  */
19 public enum ConfigConstants {
20     TYPE("type"),
21     VLAN("Vlan"),
22     VLAN_MODE("vlan_mode"),
23     TUNNEL_TYPE("Tunnel Type"),
24     SOURCE_IP("Source IP"),
25     DEST_IP("Destination IP"),
26     MACADDRESS("MAC Address"),
27     INTERFACE_IDENTIFIER("Interface Identifier"),
28     MGMT("Management"),
29     CUSTOM("Custom Configurations");
30
31     private ConfigConstants(String name) {
32         this.name = name;
33     }
34
35     private String name;
36
37     public String toString() {
38         return name;
39     }
40 }