mirror of
https://github.com/opennetworkinglab/onos.git
synced 2025-12-16 23:01:28 +01:00
Remove methods deprecated in Drake from RoutingConfigurationService API
Change-Id: Ib9f65f8cff9bc0a763b0000fff1996c4404fac39
This commit is contained in:
parent
f1f5886690
commit
c94e8bca35
@ -73,15 +73,6 @@ public interface RoutingConfigurationService {
|
|||||||
*/
|
*/
|
||||||
boolean isIpPrefixLocal(IpPrefix ipPrefix);
|
boolean isIpPrefixLocal(IpPrefix ipPrefix);
|
||||||
|
|
||||||
/**
|
|
||||||
* Retrieves the entire set of interfaces in the network.
|
|
||||||
*
|
|
||||||
* @return the set of interfaces
|
|
||||||
* @deprecated in Drake release - use InterfaceService instead
|
|
||||||
*/
|
|
||||||
@Deprecated
|
|
||||||
Set<Interface> getInterfaces();
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Retrieves the entire set of connect points connected to BGP peers in the
|
* Retrieves the entire set of connect points connected to BGP peers in the
|
||||||
* network.
|
* network.
|
||||||
@ -90,27 +81,6 @@ public interface RoutingConfigurationService {
|
|||||||
*/
|
*/
|
||||||
Set<ConnectPoint> getBgpPeerConnectPoints();
|
Set<ConnectPoint> getBgpPeerConnectPoints();
|
||||||
|
|
||||||
/**
|
|
||||||
* Retrieves the interface associated with the given connect point.
|
|
||||||
*
|
|
||||||
* @param connectPoint the connect point to retrieve interface information
|
|
||||||
* for
|
|
||||||
* @return the interface
|
|
||||||
* @deprecated in Drake release - use InterfaceService instead
|
|
||||||
*/
|
|
||||||
@Deprecated
|
|
||||||
Interface getInterface(ConnectPoint connectPoint);
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Retrieves the interface associated with the given IP address.
|
|
||||||
*
|
|
||||||
* @param ip IP address of the interface
|
|
||||||
* @return the interface
|
|
||||||
* @deprecated in Drake release - use InterfaceService instead
|
|
||||||
*/
|
|
||||||
@Deprecated
|
|
||||||
Interface getInterface(IpAddress ip);
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Retrieves the interface that matches the given IP address. Matching
|
* Retrieves the interface that matches the given IP address. Matching
|
||||||
* means that the IP address is in one of the interface's assigned subnets.
|
* means that the IP address is in one of the interface's assigned subnets.
|
||||||
|
|||||||
@ -195,11 +195,6 @@ public class RoutingConfigurationImpl implements RoutingConfigurationService {
|
|||||||
return Collections.unmodifiableMap(bgpPeers);
|
return Collections.unmodifiableMap(bgpPeers);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public Set<Interface> getInterfaces() {
|
|
||||||
return Collections.emptySet();
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public Set<ConnectPoint> getBgpPeerConnectPoints() {
|
public Set<ConnectPoint> getBgpPeerConnectPoints() {
|
||||||
// TODO perhaps cache this result in future
|
// TODO perhaps cache this result in future
|
||||||
@ -221,16 +216,6 @@ public class RoutingConfigurationImpl implements RoutingConfigurationService {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public Interface getInterface(ConnectPoint connectPoint) {
|
|
||||||
return null;
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public Interface getInterface(IpAddress ip) {
|
|
||||||
return null;
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public Interface getMatchingInterface(IpAddress ipAddress) {
|
public Interface getMatchingInterface(IpAddress ipAddress) {
|
||||||
return null;
|
return null;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user