2 * Copyright (c) 2014 Cisco Systems, Inc. and others. All rights reserved.
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
8 package org.opendaylight.controller.sal.networkconfig.bridgedomain;
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.
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.
19 public enum ConfigConstants {
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"),
29 CUSTOM("Custom Configurations");
31 private ConfigConstants(String name) {
37 public String toString() {