public class AccessDeviceData extends Object
| Constructor and Description |
|---|
AccessDeviceData(org.onosproject.net.DeviceId deviceId,
org.onosproject.net.PortNumber uplink,
org.onlab.packet.VlanId vlan,
Optional<org.onlab.packet.VlanId> defaultVlan)
Class constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Optional<org.onlab.packet.VlanId> |
defaultVlan()
Retrieves the default VLAN ID that will be used for this device.
|
org.onosproject.net.DeviceId |
deviceId()
Retrieves the access device ID.
|
org.onosproject.net.PortNumber |
uplink()
Retrieves the uplink port number.
|
org.onlab.packet.VlanId |
vlan()
Retrieves the VLAN ID assigned to the device.
|
public AccessDeviceData(org.onosproject.net.DeviceId deviceId,
org.onosproject.net.PortNumber uplink,
org.onlab.packet.VlanId vlan,
Optional<org.onlab.packet.VlanId> defaultVlan)
deviceId - access device IDuplink - uplink port numbervlan - device VLAN IDdefaultVlan - default device VLAN IDpublic org.onosproject.net.DeviceId deviceId()
public org.onosproject.net.PortNumber uplink()
public org.onlab.packet.VlanId vlan()
public Optional<org.onlab.packet.VlanId> defaultVlan()
Copyright © 2016. All rights reserved.