Jonathan Hart
Committed by Gerrit Code Review

Remove references to SDN-IP from components that have been generalized.

Change-Id: Ib22d5abe8feddb805f803baa74085f079ca5f536
......@@ -22,7 +22,7 @@ package org.onosproject.routing;
public interface IntentSynchronizationAdminService {
/**
* Changes whether this SDN-IP instance is the primary or not based on the
* Changes whether this instance is the primary or not based on the
* boolean parameter.
*
* @param isPrimary true if the instance is primary, false if it is not
......
......@@ -49,16 +49,16 @@ public interface RoutingService {
void stop();
/**
* Gets all IPv4 routes known to SDN-IP.
* Gets all IPv4 routes from the RIB.
*
* @return the SDN-IP IPv4 routes
* @return the IPv4 routes
*/
Collection<RouteEntry> getRoutes4();
/**
* Gets all IPv6 routes known to SDN-IP.
* Gets all IPv6 routes from the RIB.
*
* @return the SDN-IP IPv6 routes
* @return the IPv6 routes
*/
Collection<RouteEntry> getRoutes6();
......
......@@ -28,20 +28,21 @@ import org.onosproject.routing.RoutingService;
import java.util.Collection;
/**
* Command to show the list of routes in SDN-IP's routing table.
* Command to show the routes in the routing table.
*/
@Command(scope = "onos", name = "routes",
description = "Lists all SDN-IP best routes")
description = "Lists all routes in the RIB")
public class RoutesListCommand extends AbstractShellCommand {
@Option(name = "-s", aliases = "--summary",
description = "SDN-IP routes summary",
description = "Show summary of routes",
required = false, multiValued = false)
private boolean routesSummary = false;
private static final String FORMAT_SUMMARY_V4 =
"Total SDN-IP IPv4 routes = %d";
"Total IPv4 routes = %d";
private static final String FORMAT_SUMMARY_V6 =
"Total SDN-IP IPv6 routes = %d";
"Total IPv6 routes = %d";
private static final String FORMAT_HEADER =
" Network Next Hop";
private static final String FORMAT_ROUTE =
......
......@@ -125,7 +125,7 @@ public class Router implements RoutingService {
bgpUpdatesExecutor = Executors.newSingleThreadExecutor(
new ThreadFactoryBuilder()
.setNameFormat("sdnip-bgp-updates-%d").build());
.setNameFormat("rib-updates-%d").build());
}
@Deactivate
......
......@@ -136,7 +136,7 @@ public class BgpSessionManagerTest {
}
/**
* Starts up the BGP peer and connects it to the tested SDN-IP
* Starts up the BGP peer and connects it to the tested BgpSessionManager
* instance.
*
* @param connectToSocket the socket to connect to
......