public interface IBgpManager
Modifier and Type | Method and Description |
---|---|
void |
addPrefix(String rd,
String macAddress,
String prefix,
List<String> nextHopList,
VrfEntryBase.EncapType encapType,
int vpnLabel,
long l3vni,
String gatewayMac,
RouteOrigin origin)
Adds one or more routes, as many as nexthops provided, in a BGP neighbour.
|
void |
addPrefix(String rd,
String macAddress,
String prefix,
String nextHop,
VrfEntryBase.EncapType encapType,
int vpnLabel,
long l3vni,
String gatewayMac,
RouteOrigin origin)
Adds a route in a BGP neighbour.
|
void |
addVrf(String rd,
Collection<String> importRts,
Collection<String> exportRts,
AddressFamily addressFamily)
Create one VPN Context per address-family.
|
void |
advertisePrefix(String rd,
String macAddress,
String prefix,
List<String> nextHopList,
VrfEntryBase.EncapType encapType,
long vpnLabel,
long l3vni,
long l2vni,
String gatewayMac)
Advertises a Prefix to a BGP neighbour, using several nexthops.
|
void |
advertisePrefix(String rd,
String macAddress,
String prefix,
String nextHop,
VrfEntryBase.EncapType encapType,
long vpnLabel,
long l3vni,
long l2vni,
String gatewayMac)
Advertises a Prefix to a BGP neighbour.
|
void |
bgpRestarted() |
void |
deletePrefix(String rd,
String prefix) |
void |
deleteVrf(String rd,
boolean removeFibTable,
AddressFamily addressFamily)
Delete onv VPN table.
|
String |
getDCGwIP() |
void |
sendNotificationEvent(int code,
int subcode) |
void |
setQbgpLog(String fileName,
String logLevel) |
void |
setQbgprestartTS(long qbgprestartTS) |
void |
withdrawPrefix(String rd,
String prefix) |
void |
withdrawPrefixIfPresent(String rd,
String prefix) |
void addVrf(String rd, Collection<String> importRts, Collection<String> exportRts, AddressFamily addressFamily)
rd
- is the route distinguisher to used for this vrf for the VPN.importRts
- the import rd(s) for this vrfexportRts
- the export rd(s) for this vrfaddressFamily
- is used to pass the nature of the VPN context : IPv4, IPv6, or EVPN.void deleteVrf(String rd, boolean removeFibTable, AddressFamily addressFamily)
rd
- the route distinguisher to define the vrf to deleteremoveFibTable
- true to remove to fib tableaddressFamily
- is used to pass the nature of the VPN context : IPv4, IPv6, or EVPN.void addPrefix(String rd, String macAddress, String prefix, List<String> nextHopList, VrfEntryBase.EncapType encapType, int vpnLabel, long l3vni, String gatewayMac, RouteOrigin origin)
void addPrefix(String rd, String macAddress, String prefix, String nextHop, VrfEntryBase.EncapType encapType, int vpnLabel, long l3vni, String gatewayMac, RouteOrigin origin)
void advertisePrefix(String rd, String macAddress, String prefix, List<String> nextHopList, VrfEntryBase.EncapType encapType, long vpnLabel, long l3vni, long l2vni, String gatewayMac) throws Exception
Exception
void advertisePrefix(String rd, String macAddress, String prefix, String nextHop, VrfEntryBase.EncapType encapType, long vpnLabel, long l3vni, long l2vni, String gatewayMac) throws Exception
Exception
String getDCGwIP()
void sendNotificationEvent(int code, int subcode)
void setQbgprestartTS(long qbgprestartTS)
void bgpRestarted()
Copyright © 2019 OpenDaylight. All rights reserved.