Class XconnectDesc
- java.lang.Object
-
- org.onosproject.segmentrouting.xconnect.api.XconnectDesc
-
public class XconnectDesc extends Object
Xconnect description.
-
-
Constructor Summary
Constructors Constructor Description XconnectDesc(XconnectKey key, Set<XconnectEndpoint> endpoints)Constructs new Xconnect description with given device ID and VLAN ID.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Set<XconnectEndpoint>endpoints()Gets endpoints.booleanequals(Object obj)inthashCode()XconnectKeykey()Gets Xconnect key.StringtoString()
-
-
-
Constructor Detail
-
XconnectDesc
public XconnectDesc(XconnectKey key, Set<XconnectEndpoint> endpoints)
Constructs new Xconnect description with given device ID and VLAN ID.- Parameters:
key- Xconnect keyendpoints- set of endpoints
-
-
Method Detail
-
key
public XconnectKey key()
Gets Xconnect key.- Returns:
- Xconnect key
-
endpoints
public Set<XconnectEndpoint> endpoints()
Gets endpoints.- Returns:
- set of endpoints
-
-