Package org.onosproject.net.optical
Interface OmsPort
-
- All Superinterfaces:
org.onosproject.net.Annotated,org.onosproject.net.Port,ProjectedPort
- All Known Implementing Classes:
DefaultOmsPort
@Beta public interface OmsPort extends ProjectedPort
OMS port (Optical Multiplexing Section). Also referred to as a WDM port or W-port. See ITU G.709 "Interfaces for the Optical Transport Network (OTN)" Assumes we only support fixed grid for now.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description org.onlab.util.Frequencygrid()Returns the grid spacing frequency.org.onlab.util.FrequencymaxFrequency()Returns the maximum frequency.org.onlab.util.FrequencyminFrequency()Returns the minimum frequency.default shorttotalChannels()Returns the total number of channels on the port.-
Methods inherited from interface org.onosproject.net.Port
element, isEnabled, number, portSpeed, type
-
Methods inherited from interface org.onosproject.net.optical.ProjectedPort
unhandledAnnotations
-
-
-
-
Method Detail
-
totalChannels
default short totalChannels()
Returns the total number of channels on the port.- Returns:
- total number of channels
-
minFrequency
org.onlab.util.Frequency minFrequency()
Returns the minimum frequency.- Returns:
- minimum frequency
-
maxFrequency
org.onlab.util.Frequency maxFrequency()
Returns the maximum frequency.- Returns:
- maximum frequency
-
grid
org.onlab.util.Frequency grid()
Returns the grid spacing frequency.- Returns:
- grid spacing frequency
-
-