public class L2GatewayDevice extends Object
Constructor and Description |
---|
L2GatewayDevice(String deviceName) |
Modifier and Type | Method and Description |
---|---|
void |
addL2GatewayId(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid l2GatewayId)
Adds the l2 gateway id.
|
void |
addL2gwConnectionIdToDevice(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid connectionId,
org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.l2gateways.rev150712.l2gateway.attributes.Devices device) |
void |
addTunnelIp(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpAddress tunnelIp)
Adds the tunnel ip.
|
void |
addUcastLocalMac(org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ovsdb.hwvtep.rev150901.hwvtep.global.attributes.LocalUcastMacs localUcastMacs)
Adds the ucast local mac.
|
void |
clearHwvtepNodeData()
Clear hwvtep node data.
|
boolean |
containsUcastMac(org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ovsdb.hwvtep.rev150901.hwvtep.global.attributes.LocalUcastMacs mac) |
boolean |
equals(Object obj) |
String |
getDeviceName()
VTEP device name mentioned with L2 Gateway.
|
Collection<org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.l2gateways.rev150712.l2gateway.attributes.Devices> |
getDevicesForL2gwConnectionId(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid connectionId) |
String |
getHwvtepNodeId()
VTEP Node id for the device mentioned with L2 Gateway.
|
Set<org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid> |
getL2GatewayIds()
UUID representing L2Gateway.
|
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpAddress |
getTunnelIp()
Gets the tunnel ip.
|
Set<org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpAddress> |
getTunnelIps()
Tunnel IP created with in the device mentioned with L2 Gateway.
|
Collection<org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ovsdb.hwvtep.rev150901.hwvtep.global.attributes.LocalUcastMacs> |
getUcastLocalMacs()
Gets the ucast local macs.
|
int |
hashCode() |
boolean |
isConnected() |
void |
removeL2GatewayId(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid l2GatewayId)
Removes the l2 gateway id.
|
void |
removeUcastLocalMac(org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ovsdb.hwvtep.rev150901.hwvtep.global.attributes.LocalUcastMacs localUcastMacs)
Removes the ucast local mac.
|
void |
setConnected(boolean connected) |
void |
setHwvtepNodeId(String nodeId)
Sets the hwvtep node id.
|
void |
setTunnelIps(Set<org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpAddress> tunnelIps)
Sets the tunnel ips.
|
String |
toString() |
public L2GatewayDevice(String deviceName)
public String getDeviceName()
public String getHwvtepNodeId()
public void setHwvtepNodeId(String nodeId)
nodeId
- the new hwvtep node id@Nonnull public Set<org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpAddress> getTunnelIps()
public void addL2gwConnectionIdToDevice(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid connectionId, org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.l2gateways.rev150712.l2gateway.attributes.Devices device)
@Nonnull public Collection<org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.l2gateways.rev150712.l2gateway.attributes.Devices> getDevicesForL2gwConnectionId(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid connectionId)
public org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpAddress getTunnelIp()
public void addTunnelIp(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpAddress tunnelIp)
tunnelIp
- the tunnel ip@Nonnull public Set<org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid> getL2GatewayIds()
public void addL2GatewayId(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid l2GatewayId)
l2GatewayId
- the l2 gateway idpublic void removeL2GatewayId(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid l2GatewayId)
l2GatewayId
- the l2 gateway idpublic void clearHwvtepNodeData()
public void setTunnelIps(Set<org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpAddress> tunnelIps)
tunnelIps
- the new tunnel ips@Nonnull public Collection<org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ovsdb.hwvtep.rev150901.hwvtep.global.attributes.LocalUcastMacs> getUcastLocalMacs()
public void addUcastLocalMac(org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ovsdb.hwvtep.rev150901.hwvtep.global.attributes.LocalUcastMacs localUcastMacs)
localUcastMacs
- the local ucast macspublic void removeUcastLocalMac(org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ovsdb.hwvtep.rev150901.hwvtep.global.attributes.LocalUcastMacs localUcastMacs)
localUcastMacs
- the local ucast macspublic boolean isConnected()
public void setConnected(boolean connected)
public boolean containsUcastMac(org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ovsdb.hwvtep.rev150901.hwvtep.global.attributes.LocalUcastMacs mac)
Copyright © 2019 OpenDaylight. All rights reserved.