Constructor and Description |
---|
ControllerInfo(IpAddress ip,
int port,
String type)
Information for contacting the controller.
|
ControllerInfo(IpAddress ip,
int port,
String type,
Annotations annotations)
Information for contacting the controller.
|
ControllerInfo(String target)
Deprecated.
in Hummingbird (1.7.0)
|
Modifier and Type | Method and Description |
---|---|
Annotations |
annotations()
Returns the key/value annotations.
|
boolean |
equals(Object toBeCompared) |
int |
hashCode() |
IpAddress |
ip()
Exposes the ip address of the controller.
|
int |
port()
Exposes the tcp port of the controller.
|
String |
target()
Deprecated.
|
String |
type()
Exposes the type of the controller connection.
|
public ControllerInfo(IpAddress ip, int port, String type)
ip
- the ip addressport
- the tcp porttype
- the connection typepublic ControllerInfo(IpAddress ip, int port, String type, Annotations annotations)
ip
- the ip addressport
- the tcp porttype
- the connection typeannotations
- optional key/value annotations@Deprecated public ControllerInfo(String target)
target
- column returned from ovsdb querypublic IpAddress ip()
public int port()
public String type()
public Annotations annotations()
Annotated
annotations
in interface Annotated
@Deprecated public String target()