Remove test route from SDN-IP
Change-Id: I767cc9829438e56da945ab35def86a3f7b9b244d
Showing
1 changed file
with
0 additions
and
7 deletions
... | @@ -12,12 +12,9 @@ import org.apache.felix.scr.annotations.ReferenceCardinality; | ... | @@ -12,12 +12,9 @@ import org.apache.felix.scr.annotations.ReferenceCardinality; |
12 | import org.apache.felix.scr.annotations.Service; | 12 | import org.apache.felix.scr.annotations.Service; |
13 | import org.onlab.onos.net.host.HostService; | 13 | import org.onlab.onos.net.host.HostService; |
14 | import org.onlab.onos.net.intent.IntentService; | 14 | import org.onlab.onos.net.intent.IntentService; |
15 | -import org.onlab.onos.sdnip.RouteUpdate.Type; | ||
16 | import org.onlab.onos.sdnip.bgp.BgpRouteEntry; | 15 | import org.onlab.onos.sdnip.bgp.BgpRouteEntry; |
17 | import org.onlab.onos.sdnip.bgp.BgpSessionManager; | 16 | import org.onlab.onos.sdnip.bgp.BgpSessionManager; |
18 | import org.onlab.onos.sdnip.config.SdnIpConfigReader; | 17 | import org.onlab.onos.sdnip.config.SdnIpConfigReader; |
19 | -import org.onlab.packet.IpAddress; | ||
20 | -import org.onlab.packet.IpPrefix; | ||
21 | import org.slf4j.Logger; | 18 | import org.slf4j.Logger; |
22 | 19 | ||
23 | /** | 20 | /** |
... | @@ -59,10 +56,6 @@ public class SdnIp implements SdnIpService { | ... | @@ -59,10 +56,6 @@ public class SdnIp implements SdnIpService { |
59 | bgpSessionManager.startUp(2000); // TODO | 56 | bgpSessionManager.startUp(2000); // TODO |
60 | 57 | ||
61 | // TODO need to disable link discovery on external ports | 58 | // TODO need to disable link discovery on external ports |
62 | - | ||
63 | - router.update(new RouteUpdate(Type.UPDATE, new RouteEntry( | ||
64 | - IpPrefix.valueOf("172.16.20.0/24"), | ||
65 | - IpAddress.valueOf("192.168.10.1")))); | ||
66 | } | 59 | } |
67 | 60 | ||
68 | @Deactivate | 61 | @Deactivate | ... | ... |
-
Please register or login to post a comment