Package org.onosproject.net.behaviour
Interface PatchDescription
- 
- All Superinterfaces:
- Annotated,- Description
 - All Known Implementing Classes:
- DefaultPatchDescription
 
 public interface PatchDescription extends Description, Annotated Describes a patch interface.
- 
- 
Nested Class SummaryNested Classes Modifier and Type Interface Description static interfacePatchDescription.BuilderBuilder of patch interface description entities.
 - 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.Optional<java.lang.String>deviceId()Returns the identifier of the device where this patch interface is.java.lang.StringifaceName()Return the name of the patch interface.java.lang.Stringpeer()Returns the name of the interface for the other side of the patch.- 
Methods inherited from interface org.onosproject.net.Descriptionannotations
 
- 
 
- 
- 
- 
Method Detail- 
deviceIdjava.util.Optional<java.lang.String> deviceId() Returns the identifier of the device where this patch interface is.- Returns:
- device identifier; empty value if not set
 
 - 
ifaceNamejava.lang.String ifaceName() Return the name of the patch interface.- Returns:
- patch interface name
 
 - 
peerjava.lang.String peer() Returns the name of the interface for the other side of the patch.- Returns:
- peer patch interface name
 
 
- 
 
-