@Singleton public class DhcpManager extends Object
Constructor and Description |
---|
DhcpManager(org.opendaylight.genius.mdsalutil.interfaces.IMdsalApiManager mdsalApiManager,
INeutronVpnManager neutronVpnManager,
DhcpserviceConfig config,
org.opendaylight.controller.md.sal.binding.api.DataBroker dataBroker,
DhcpExternalTunnelManager dhcpExternalTunnelManager,
org.opendaylight.genius.interfacemanager.interfaces.IInterfaceManager interfaceManager,
IElanService ielanService,
DhcpPortCache dhcpPortCache) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
protected String |
getDhcpDefDomain() |
protected int |
getDhcpLeaseTime() |
protected int |
getDhcpRebindingTime() |
protected int |
getDhcpRenewalTime() |
org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.ports.rev150712.ports.attributes.ports.Port |
getNeutronPort(String name) |
org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.subnets.rev150712.subnets.attributes.subnets.Subnet |
getNeutronSubnet(org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.ports.rev150712.ports.attributes.ports.Port port) |
void |
init() |
void |
installDhcpEntries(BigInteger dpnId,
String vmMacAddress,
org.opendaylight.controller.md.sal.binding.api.WriteTransaction tx) |
String |
setDefaultDomain(String defaultDomain) |
int |
setLeaseDuration(int leaseDuration) |
void |
setupDefaultDhcpFlows(BigInteger dpId) |
void |
unInstallDhcpEntries(BigInteger dpId,
String vmMacAddress,
org.opendaylight.controller.md.sal.binding.api.WriteTransaction tx) |
@Inject public DhcpManager(org.opendaylight.genius.mdsalutil.interfaces.IMdsalApiManager mdsalApiManager, INeutronVpnManager neutronVpnManager, DhcpserviceConfig config, org.opendaylight.controller.md.sal.binding.api.DataBroker dataBroker, DhcpExternalTunnelManager dhcpExternalTunnelManager, org.opendaylight.genius.interfacemanager.interfaces.IInterfaceManager interfaceManager, @Named(value="elanService") IElanService ielanService, DhcpPortCache dhcpPortCache)
@PostConstruct public void init()
@PreDestroy public void close() throws Exception
Exception
public int setLeaseDuration(int leaseDuration)
protected int getDhcpLeaseTime()
protected int getDhcpRenewalTime()
protected int getDhcpRebindingTime()
protected String getDhcpDefDomain()
public org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.subnets.rev150712.subnets.attributes.subnets.Subnet getNeutronSubnet(org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.ports.rev150712.ports.attributes.ports.Port port)
public org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.ports.rev150712.ports.attributes.ports.Port getNeutronPort(String name)
public void installDhcpEntries(BigInteger dpnId, String vmMacAddress, org.opendaylight.controller.md.sal.binding.api.WriteTransaction tx)
public void unInstallDhcpEntries(BigInteger dpId, String vmMacAddress, org.opendaylight.controller.md.sal.binding.api.WriteTransaction tx)
public void setupDefaultDhcpFlows(BigInteger dpId)
Copyright © 2018 OpenDaylight. All rights reserved.