Connection Manager infrastructure supporting the Clustering Active-Active requirement.
[controller.git] / opendaylight / sal / connection / api / src / main / java / org / opendaylight / controller / sal / connection / ConnectionConstants.java
1
2 /*
3  * Copyright (c) 2013 Cisco Systems, Inc. and others.  All rights reserved.
4  *
5  * This program and the accompanying materials are made available under the
6  * terms of the Eclipse Public License v1.0 which accompanies this distribution,
7  * and is available at http://www.eclipse.org/legal/epl-v10.html
8  */
9
10 package org.opendaylight.controller.sal.connection;
11
12 /**
13  * ConnectionConstants
14  * Expand this enum as and when needed to support other connection parameters that
15  * might be needed for certain protocol plugins.
16  */
17 public enum ConnectionConstants {
18     ADDRESS("address"),
19     PORT("port"),
20     PROTOCOL("protocol"),
21     USERNAME("username"),
22     PASSWORD("password");
23
24     private ConnectionConstants(String name) {
25         this.name = name;
26     }
27
28     private String name;
29
30     public String toString() {
31         return name;
32     }
33 }