Class VirtualNetwork
- java.lang.Object
-
- org.opendaylight.netvirt.ipv6service.VirtualNetwork
-
- All Implemented Interfaces:
IVirtualNetwork
public class VirtualNetwork extends java.lang.Object implements IVirtualNetwork
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
VirtualNetwork.DpnInterfaceInfo
-
Constructor Summary
Constructors Constructor Description VirtualNetwork(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid networkUUID)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clearDpnInterfaceList()
@Nullable VirtualNetwork.DpnInterfaceInfo
getDpnIfaceInfo(org.opendaylight.yangtools.yang.common.Uint64 dpId)
java.util.Collection<VirtualNetwork.DpnInterfaceInfo>
getDpnIfaceList()
java.util.List<org.opendaylight.yangtools.yang.common.Uint64>
getDpnsHostingNetwork()
java.lang.Long
getElanTag()
int
getMtu()
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid
getNetworkUuid()
int
getRSPuntFlowStatusOnDpnId(org.opendaylight.yangtools.yang.common.Uint64 dpnId)
void
removeSelf()
void
setElanTag(java.lang.Long etag)
void
setMtu(int mtu)
void
setRSPuntFlowStatusOnDpnId(org.opendaylight.yangtools.yang.common.Uint64 dpnId, int action)
java.lang.String
toString()
void
updateDpnPortInfo(org.opendaylight.yangtools.yang.common.Uint64 dpnId, java.lang.Long ofPort, org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid portId, int addOrRemove)
-
-
-
Method Detail
-
getNetworkUuid
public org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid getNetworkUuid()
- Specified by:
getNetworkUuid
in interfaceIVirtualNetwork
-
updateDpnPortInfo
public void updateDpnPortInfo(org.opendaylight.yangtools.yang.common.Uint64 dpnId, java.lang.Long ofPort, org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid portId, int addOrRemove)
-
getElanTag
public java.lang.Long getElanTag()
- Specified by:
getElanTag
in interfaceIVirtualNetwork
-
setElanTag
public void setElanTag(java.lang.Long etag)
-
getDpnsHostingNetwork
public java.util.List<org.opendaylight.yangtools.yang.common.Uint64> getDpnsHostingNetwork()
- Specified by:
getDpnsHostingNetwork
in interfaceIVirtualNetwork
-
getDpnIfaceList
public java.util.Collection<VirtualNetwork.DpnInterfaceInfo> getDpnIfaceList()
-
getDpnIfaceInfo
public @Nullable VirtualNetwork.DpnInterfaceInfo getDpnIfaceInfo(org.opendaylight.yangtools.yang.common.Uint64 dpId)
-
setRSPuntFlowStatusOnDpnId
public void setRSPuntFlowStatusOnDpnId(org.opendaylight.yangtools.yang.common.Uint64 dpnId, int action)
-
getRSPuntFlowStatusOnDpnId
public int getRSPuntFlowStatusOnDpnId(org.opendaylight.yangtools.yang.common.Uint64 dpnId)
-
clearDpnInterfaceList
public void clearDpnInterfaceList()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
removeSelf
public void removeSelf()
-
setMtu
public void setMtu(int mtu)
-
getMtu
public int getMtu()
- Specified by:
getMtu
in interfaceIVirtualNetwork
-
-