Class IPV6InternetDefaultRouteProgrammer
- java.lang.Object
-
- org.opendaylight.netvirt.neutronvpn.IPV6InternetDefaultRouteProgrammer
-
@Singleton public class IPV6InternetDefaultRouteProgrammer extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description IPV6InternetDefaultRouteProgrammer(org.opendaylight.genius.mdsalutil.interfaces.IMdsalApiManager mdsalManager)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getIPv6FlowRefL3(org.opendaylight.yangtools.yang.common.Uint64 dpnId, short tableId, java.lang.String destPrefix, java.lang.String routerId)
void
installDefaultRoute(org.opendaylight.genius.infra.TypedWriteTransaction<org.opendaylight.genius.infra.Datastore.Configuration> tx, org.opendaylight.yangtools.yang.common.Uint64 dpnId, java.lang.String routerId, long internetBgpVpnId, long vpnId)
This method installs in the FIB table the default route for IPv6.void
removeDefaultRoute(org.opendaylight.genius.infra.TypedReadWriteTransaction<org.opendaylight.genius.infra.Datastore.Configuration> tx, org.opendaylight.yangtools.yang.common.Uint64 dpnId, java.lang.String routerId, long internetBgpVpnId, long vpnId)
-
-
-
Method Detail
-
installDefaultRoute
public void installDefaultRoute(org.opendaylight.genius.infra.TypedWriteTransaction<org.opendaylight.genius.infra.Datastore.Configuration> tx, org.opendaylight.yangtools.yang.common.Uint64 dpnId, java.lang.String routerId, long internetBgpVpnId, long vpnId)
This method installs in the FIB table the default route for IPv6.- Parameters:
dpnId
- of the compute nodeinternetBgpVpnId
- internetVpn id as longvpnId
- id of router associated to internet bgpvpn as long
-
removeDefaultRoute
public void removeDefaultRoute(org.opendaylight.genius.infra.TypedReadWriteTransaction<org.opendaylight.genius.infra.Datastore.Configuration> tx, org.opendaylight.yangtools.yang.common.Uint64 dpnId, java.lang.String routerId, long internetBgpVpnId, long vpnId) throws java.util.concurrent.ExecutionException, java.lang.InterruptedException
- Throws:
java.util.concurrent.ExecutionException
java.lang.InterruptedException
-
getIPv6FlowRefL3
public java.lang.String getIPv6FlowRefL3(org.opendaylight.yangtools.yang.common.Uint64 dpnId, short tableId, java.lang.String destPrefix, java.lang.String routerId)
-
-