Committed by
Gerrit Code Review
Remove references to SDN-IP from components that have been generalized.
Change-Id: Ib22d5abe8feddb805f803baa74085f079ca5f536
Showing
5 changed files
with
13 additions
and
12 deletions
| ... | @@ -22,7 +22,7 @@ package org.onosproject.routing; | ... | @@ -22,7 +22,7 @@ package org.onosproject.routing; |
| 22 | public interface IntentSynchronizationAdminService { | 22 | public interface IntentSynchronizationAdminService { |
| 23 | 23 | ||
| 24 | /** | 24 | /** |
| 25 | - * Changes whether this SDN-IP instance is the primary or not based on the | 25 | + * Changes whether this instance is the primary or not based on the |
| 26 | * boolean parameter. | 26 | * boolean parameter. |
| 27 | * | 27 | * |
| 28 | * @param isPrimary true if the instance is primary, false if it is not | 28 | * @param isPrimary true if the instance is primary, false if it is not | ... | ... |
| ... | @@ -49,16 +49,16 @@ public interface RoutingService { | ... | @@ -49,16 +49,16 @@ public interface RoutingService { |
| 49 | void stop(); | 49 | void stop(); |
| 50 | 50 | ||
| 51 | /** | 51 | /** |
| 52 | - * Gets all IPv4 routes known to SDN-IP. | 52 | + * Gets all IPv4 routes from the RIB. |
| 53 | * | 53 | * |
| 54 | - * @return the SDN-IP IPv4 routes | 54 | + * @return the IPv4 routes |
| 55 | */ | 55 | */ |
| 56 | Collection<RouteEntry> getRoutes4(); | 56 | Collection<RouteEntry> getRoutes4(); |
| 57 | 57 | ||
| 58 | /** | 58 | /** |
| 59 | - * Gets all IPv6 routes known to SDN-IP. | 59 | + * Gets all IPv6 routes from the RIB. |
| 60 | * | 60 | * |
| 61 | - * @return the SDN-IP IPv6 routes | 61 | + * @return the IPv6 routes |
| 62 | */ | 62 | */ |
| 63 | Collection<RouteEntry> getRoutes6(); | 63 | Collection<RouteEntry> getRoutes6(); |
| 64 | 64 | ... | ... |
| ... | @@ -28,20 +28,21 @@ import org.onosproject.routing.RoutingService; | ... | @@ -28,20 +28,21 @@ import org.onosproject.routing.RoutingService; |
| 28 | import java.util.Collection; | 28 | import java.util.Collection; |
| 29 | 29 | ||
| 30 | /** | 30 | /** |
| 31 | - * Command to show the list of routes in SDN-IP's routing table. | 31 | + * Command to show the routes in the routing table. |
| 32 | */ | 32 | */ |
| 33 | @Command(scope = "onos", name = "routes", | 33 | @Command(scope = "onos", name = "routes", |
| 34 | - description = "Lists all SDN-IP best routes") | 34 | + description = "Lists all routes in the RIB") |
| 35 | public class RoutesListCommand extends AbstractShellCommand { | 35 | public class RoutesListCommand extends AbstractShellCommand { |
| 36 | + | ||
| 36 | @Option(name = "-s", aliases = "--summary", | 37 | @Option(name = "-s", aliases = "--summary", |
| 37 | - description = "SDN-IP routes summary", | 38 | + description = "Show summary of routes", |
| 38 | required = false, multiValued = false) | 39 | required = false, multiValued = false) |
| 39 | private boolean routesSummary = false; | 40 | private boolean routesSummary = false; |
| 40 | 41 | ||
| 41 | private static final String FORMAT_SUMMARY_V4 = | 42 | private static final String FORMAT_SUMMARY_V4 = |
| 42 | - "Total SDN-IP IPv4 routes = %d"; | 43 | + "Total IPv4 routes = %d"; |
| 43 | private static final String FORMAT_SUMMARY_V6 = | 44 | private static final String FORMAT_SUMMARY_V6 = |
| 44 | - "Total SDN-IP IPv6 routes = %d"; | 45 | + "Total IPv6 routes = %d"; |
| 45 | private static final String FORMAT_HEADER = | 46 | private static final String FORMAT_HEADER = |
| 46 | " Network Next Hop"; | 47 | " Network Next Hop"; |
| 47 | private static final String FORMAT_ROUTE = | 48 | private static final String FORMAT_ROUTE = | ... | ... |
| ... | @@ -125,7 +125,7 @@ public class Router implements RoutingService { | ... | @@ -125,7 +125,7 @@ public class Router implements RoutingService { |
| 125 | 125 | ||
| 126 | bgpUpdatesExecutor = Executors.newSingleThreadExecutor( | 126 | bgpUpdatesExecutor = Executors.newSingleThreadExecutor( |
| 127 | new ThreadFactoryBuilder() | 127 | new ThreadFactoryBuilder() |
| 128 | - .setNameFormat("sdnip-bgp-updates-%d").build()); | 128 | + .setNameFormat("rib-updates-%d").build()); |
| 129 | } | 129 | } |
| 130 | 130 | ||
| 131 | @Deactivate | 131 | @Deactivate | ... | ... |
| ... | @@ -136,7 +136,7 @@ public class BgpSessionManagerTest { | ... | @@ -136,7 +136,7 @@ public class BgpSessionManagerTest { |
| 136 | } | 136 | } |
| 137 | 137 | ||
| 138 | /** | 138 | /** |
| 139 | - * Starts up the BGP peer and connects it to the tested SDN-IP | 139 | + * Starts up the BGP peer and connects it to the tested BgpSessionManager |
| 140 | * instance. | 140 | * instance. |
| 141 | * | 141 | * |
| 142 | * @param connectToSocket the socket to connect to | 142 | * @param connectToSocket the socket to connect to | ... | ... |
-
Please register or login to post a comment