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