public class L2GatewayDevice extends Object
Constructor and Description |
---|
L2GatewayDevice() |
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 |
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.
|
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.
|
Map<org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid,Set<org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.l2gateways.rev150712.l2gateway.attributes.Devices>> |
getL2gwConnectionIdToDevices() |
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.
|
List<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 |
setDeviceName(String deviceName)
Sets the device name.
|
void |
setHwvtepNodeId(String nodeId)
Sets the hwvtep node id.
|
void |
setL2gwConnectionIdToDevices(Map<org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid,Set<org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.l2gateways.rev150712.l2gateway.attributes.Devices>> l2gwConnectionIdToDevices) |
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 String getDeviceName()
public void setDeviceName(String deviceName)
deviceName
- the new device namepublic String getHwvtepNodeId()
public void setHwvtepNodeId(String nodeId)
nodeId
- the new hwvtep node idpublic Set<org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpAddress> getTunnelIps()
public Map<org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid,Set<org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.l2gateways.rev150712.l2gateway.attributes.Devices>> getL2gwConnectionIdToDevices()
public void setL2gwConnectionIdToDevices(Map<org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid,Set<org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.l2gateways.rev150712.l2gateway.attributes.Devices>> l2gwConnectionIdToDevices)
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 ippublic 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 ipspublic List<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 © 2018 OpenDaylight. All rights reserved.