@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,
org.opendaylight.infrautils.jobcoordinator.JobCoordinator jobCoordinator,
org.opendaylight.yang.gen.v1.urn.opendaylight.genius.itm.rpcs.rev160406.ItmRpcService itmRpcService) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
String |
getDhcpDefDomain() |
int |
getDhcpLeaseTime() |
int |
getDhcpRebindingTime() |
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(List<org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.ports.rev150712.port.attributes.FixedIps> fixedIps) |
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, org.opendaylight.infrautils.jobcoordinator.JobCoordinator jobCoordinator, org.opendaylight.yang.gen.v1.urn.opendaylight.genius.itm.rpcs.rev160406.ItmRpcService itmRpcService)
@PostConstruct public void init()
@PreDestroy public void close()
public int setLeaseDuration(int leaseDuration)
public int getDhcpLeaseTime()
public int getDhcpRenewalTime()
public int getDhcpRebindingTime()
public 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.subnets.rev150712.subnets.attributes.subnets.Subnet getNeutronSubnet(List<org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.ports.rev150712.port.attributes.FixedIps> fixedIps)
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 © 2019 OpenDaylight. All rights reserved.