public final class OvsdbInterface
extends java.lang.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(java.lang.Object obj) |
int |
hashCode() |
java.lang.String |
name()
Returns name of the interface.
|
java.util.Map<java.lang.String,java.lang.String> |
options()
Returns optional configs of the interface.
|
java.lang.String |
toString() |
OvsdbInterface.Type |
type()
Returns type of the interface.
|
java.lang.String |
typeToString()
Returns type of the interface with lowercase string.
|
public java.lang.String name()
public OvsdbInterface.Type type()
public java.lang.String typeToString()
public java.util.Map<java.lang.String,java.lang.String> options()
public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Objectpublic 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