public final class OvsdbInterface extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
OvsdbInterface.Builder
Builder of OVSDB interface entities.
|
static class |
OvsdbInterface.Type |
| Modifier and Type | Method and Description |
|---|---|
static OvsdbInterface.Builder |
builder()
Returns new OVSDB interface builder.
|
static OvsdbInterface.Builder |
builder(org.onosproject.net.behaviour.PatchDescription patchDesc)
Returns new OVSDB interface builder with patch interface description.
|
static OvsdbInterface.Builder |
builder(org.onosproject.net.behaviour.TunnelDescription tunnelDesc)
Returns new OVSDB interface builder with tunnel interface description.
|
boolean |
equals(Object obj) |
int |
hashCode() |
String |
name()
Returns name of the interface.
|
Map<String,String> |
options()
Returns optional configs of the interface.
|
String |
toString() |
OvsdbInterface.Type |
type()
Returns type of the interface.
|
String |
typeToString()
Returns type of the interface with lowercase string.
|
public String name()
public OvsdbInterface.Type type()
public String typeToString()
public Map<String,String> options()
public static OvsdbInterface.Builder builder()
public static OvsdbInterface.Builder builder(org.onosproject.net.behaviour.TunnelDescription tunnelDesc)
tunnelDesc - tunnel interface descriptionpublic static OvsdbInterface.Builder builder(org.onosproject.net.behaviour.PatchDescription patchDesc)
patchDesc - patch interface description