Refactored the OpenFlow controller package name-space and fixed a number of Javadoc warnings.
Showing
78 changed files
with
168 additions
and
165 deletions
... | @@ -25,9 +25,9 @@ import java.util.Map; | ... | @@ -25,9 +25,9 @@ import java.util.Map; |
25 | import java.util.Set; | 25 | import java.util.Set; |
26 | import java.util.concurrent.Future; | 26 | import java.util.concurrent.Future; |
27 | 27 | ||
28 | -import net.onrc.onos.of.ctl.debugcounter.IDebugCounterService; | 28 | +import org.onlab.onos.of.controller.impl.debugcounter.IDebugCounterService; |
29 | -import net.onrc.onos.of.ctl.debugcounter.IDebugCounterService.CounterException; | 29 | +import org.onlab.onos.of.controller.impl.debugcounter.IDebugCounterService.CounterException; |
30 | -import net.onrc.onos.of.ctl.util.OrderedCollection; | 30 | +import org.onlab.onos.of.controller.impl.util.OrderedCollection; |
31 | 31 | ||
32 | import org.jboss.netty.channel.Channel; | 32 | import org.jboss.netty.channel.Channel; |
33 | import org.projectfloodlight.openflow.protocol.OFActionType; | 33 | import org.projectfloodlight.openflow.protocol.OFActionType; | ... | ... |
... | @@ -2,7 +2,7 @@ package net.onrc.onos.of.ctl; | ... | @@ -2,7 +2,7 @@ package net.onrc.onos.of.ctl; |
2 | 2 | ||
3 | import org.projectfloodlight.openflow.protocol.OFVersion; | 3 | import org.projectfloodlight.openflow.protocol.OFVersion; |
4 | 4 | ||
5 | -import net.onrc.onos.of.ctl.registry.IControllerRegistry; | 5 | +import org.onlab.onos.of.controller.impl.registry.IControllerRegistry; |
6 | 6 | ||
7 | /** | 7 | /** |
8 | * Interface to passed to controller class in order to allow | 8 | * Interface to passed to controller class in order to allow | ... | ... |
... | @@ -15,7 +15,7 @@ | ... | @@ -15,7 +15,7 @@ |
15 | * under the License. | 15 | * under the License. |
16 | **/ | 16 | **/ |
17 | 17 | ||
18 | -package net.onrc.onos.of.ctl.annotations; | 18 | +package org.onlab.onos.of.controller.impl.annotations; |
19 | 19 | ||
20 | import java.lang.annotation.ElementType; | 20 | import java.lang.annotation.ElementType; |
21 | import java.lang.annotation.Target; | 21 | import java.lang.annotation.Target; | ... | ... |
... | @@ -15,7 +15,7 @@ | ... | @@ -15,7 +15,7 @@ |
15 | * under the License. | 15 | * under the License. |
16 | **/ | 16 | **/ |
17 | 17 | ||
18 | -package net.onrc.onos.of.ctl.annotations; | 18 | +package org.onlab.onos.of.controller.impl.annotations; |
19 | 19 | ||
20 | import java.lang.annotation.ElementType; | 20 | import java.lang.annotation.ElementType; |
21 | import java.lang.annotation.Target; | 21 | import java.lang.annotation.Target; | ... | ... |
... | @@ -15,7 +15,7 @@ | ... | @@ -15,7 +15,7 @@ |
15 | * under the License. | 15 | * under the License. |
16 | **/ | 16 | **/ |
17 | 17 | ||
18 | -package net.onrc.onos.of.ctl.annotations; | 18 | +package org.onlab.onos.of.controller.impl.annotations; |
19 | 19 | ||
20 | import java.lang.annotation.ElementType; | 20 | import java.lang.annotation.ElementType; |
21 | import java.lang.annotation.Target; | 21 | import java.lang.annotation.Target; | ... | ... |
1 | -package net.onrc.onos.of.ctl.debugcounter; | 1 | +package org.onlab.onos.of.controller.impl.debugcounter; |
2 | 2 | ||
3 | 3 | ||
4 | 4 | ||
5 | import java.util.List; | 5 | import java.util.List; |
6 | 6 | ||
7 | -import net.onrc.onos.of.ctl.debugcounter.DebugCounter.DebugCounterInfo; | 7 | +import org.onlab.onos.of.controller.impl.debugcounter.DebugCounter.DebugCounterInfo; |
8 | 8 | ||
9 | public interface IDebugCounterService { | 9 | public interface IDebugCounterService { |
10 | 10 | ... | ... |
1 | -package net.onrc.onos.of.ctl.debugcounter; | 1 | +package org.onlab.onos.of.controller.impl.debugcounter; |
2 | 2 | ||
3 | import java.util.Collections; | 3 | import java.util.Collections; |
4 | import java.util.List; | 4 | import java.util.List; |
5 | 5 | ||
6 | -import net.onrc.onos.of.ctl.debugcounter.DebugCounter.DebugCounterInfo; | 6 | +import org.onlab.onos.of.controller.impl.debugcounter.DebugCounter.DebugCounterInfo; |
7 | 7 | ||
8 | public class NullDebugCounter implements IDebugCounterService { | 8 | public class NullDebugCounter implements IDebugCounterService { |
9 | 9 | ... | ... |
... | @@ -15,7 +15,7 @@ | ... | @@ -15,7 +15,7 @@ |
15 | * under the License. | 15 | * under the License. |
16 | **/ | 16 | **/ |
17 | 17 | ||
18 | -package net.onrc.onos.of.ctl.internal; | 18 | +package org.onlab.onos.of.controller.impl.internal; |
19 | 19 | ||
20 | import java.lang.management.ManagementFactory; | 20 | import java.lang.management.ManagementFactory; |
21 | import java.lang.management.RuntimeMXBean; | 21 | import java.lang.management.RuntimeMXBean; |
... | @@ -31,20 +31,20 @@ import java.util.concurrent.Executors; | ... | @@ -31,20 +31,20 @@ import java.util.concurrent.Executors; |
31 | 31 | ||
32 | import net.onrc.onos.of.ctl.IOFSwitchManager; | 32 | import net.onrc.onos.of.ctl.IOFSwitchManager; |
33 | import net.onrc.onos.of.ctl.Role; | 33 | import net.onrc.onos.of.ctl.Role; |
34 | -import net.onrc.onos.of.ctl.annotations.LogMessageDoc; | 34 | +import org.onlab.onos.of.controller.impl.annotations.LogMessageDoc; |
35 | -import net.onrc.onos.of.ctl.annotations.LogMessageDocs; | 35 | +import org.onlab.onos.of.controller.impl.annotations.LogMessageDocs; |
36 | -import net.onrc.onos.of.ctl.debugcounter.DebugCounter; | 36 | +import org.onlab.onos.of.controller.impl.debugcounter.DebugCounter; |
37 | -import net.onrc.onos.of.ctl.debugcounter.IDebugCounter; | 37 | +import org.onlab.onos.of.controller.impl.debugcounter.IDebugCounter; |
38 | -import net.onrc.onos.of.ctl.debugcounter.IDebugCounterService; | 38 | +import org.onlab.onos.of.controller.impl.debugcounter.IDebugCounterService; |
39 | -import net.onrc.onos.of.ctl.debugcounter.IDebugCounterService.CounterException; | 39 | +import org.onlab.onos.of.controller.impl.debugcounter.IDebugCounterService.CounterException; |
40 | -import net.onrc.onos.of.ctl.debugcounter.IDebugCounterService.CounterType; | 40 | +import org.onlab.onos.of.controller.impl.debugcounter.IDebugCounterService.CounterType; |
41 | -import net.onrc.onos.of.ctl.internal.OFChannelHandler.RoleRecvStatus; | 41 | +import org.onlab.onos.of.controller.impl.internal.OFChannelHandler.RoleRecvStatus; |
42 | -import net.onrc.onos.of.ctl.registry.IControllerRegistry; | 42 | +import org.onlab.onos.of.controller.impl.registry.IControllerRegistry; |
43 | -import net.onrc.onos.of.ctl.registry.RegistryException; | 43 | +import org.onlab.onos.of.controller.impl.registry.RegistryException; |
44 | -import net.onrc.onos.of.ctl.registry.IControllerRegistry.ControlChangeCallback; | 44 | +import org.onlab.onos.of.controller.impl.registry.IControllerRegistry.ControlChangeCallback; |
45 | -import net.onrc.onos.of.ctl.util.Dpid; | 45 | +import org.onlab.onos.of.controller.impl.util.Dpid; |
46 | -import net.onrc.onos.of.ctl.util.DummySwitchForTesting; | 46 | +import org.onlab.onos.of.controller.impl.util.DummySwitchForTesting; |
47 | -import net.onrc.onos.of.ctl.util.InstanceId; | 47 | +import org.onlab.onos.of.controller.impl.util.InstanceId; |
48 | import net.onrc.onos.of.ctl.IOFSwitch; | 48 | import net.onrc.onos.of.ctl.IOFSwitch; |
49 | import net.onrc.onos.of.ctl.IOFSwitch.PortChangeType; | 49 | import net.onrc.onos.of.ctl.IOFSwitch.PortChangeType; |
50 | 50 | ... | ... |
... | @@ -15,7 +15,7 @@ | ... | @@ -15,7 +15,7 @@ |
15 | * under the License. | 15 | * under the License. |
16 | **/ | 16 | **/ |
17 | 17 | ||
18 | -package net.onrc.onos.of.ctl.internal; | 18 | +package org.onlab.onos.of.controller.impl.internal; |
19 | 19 | ||
20 | /** | 20 | /** |
21 | * Exception is thrown when the handshake fails to complete. | 21 | * Exception is thrown when the handshake fails to complete. | ... | ... |
... | @@ -15,7 +15,7 @@ | ... | @@ -15,7 +15,7 @@ |
15 | * under the License. | 15 | * under the License. |
16 | **/ | 16 | **/ |
17 | 17 | ||
18 | -package net.onrc.onos.of.ctl.internal; | 18 | +package org.onlab.onos.of.controller.impl.internal; |
19 | 19 | ||
20 | import java.util.concurrent.TimeUnit; | 20 | import java.util.concurrent.TimeUnit; |
21 | 21 | ... | ... |
1 | -package net.onrc.onos.of.ctl.internal; | 1 | +package org.onlab.onos.of.controller.impl.internal; |
2 | 2 | ||
3 | import java.io.IOException; | 3 | import java.io.IOException; |
4 | import java.nio.channels.ClosedChannelException; | 4 | import java.nio.channels.ClosedChannelException; |
... | @@ -12,11 +12,11 @@ import java.util.concurrent.RejectedExecutionException; | ... | @@ -12,11 +12,11 @@ import java.util.concurrent.RejectedExecutionException; |
12 | import net.onrc.onos.of.ctl.IOFSwitch; | 12 | import net.onrc.onos.of.ctl.IOFSwitch; |
13 | import net.onrc.onos.of.ctl.IOFSwitch.PortChangeEvent; | 13 | import net.onrc.onos.of.ctl.IOFSwitch.PortChangeEvent; |
14 | import net.onrc.onos.of.ctl.Role; | 14 | import net.onrc.onos.of.ctl.Role; |
15 | -import net.onrc.onos.of.ctl.annotations.LogMessageDoc; | 15 | +import org.onlab.onos.of.controller.impl.annotations.LogMessageDoc; |
16 | -import net.onrc.onos.of.ctl.annotations.LogMessageDocs; | 16 | +import org.onlab.onos.of.controller.impl.annotations.LogMessageDocs; |
17 | -import net.onrc.onos.of.ctl.debugcounter.IDebugCounterService.CounterException; | 17 | +import org.onlab.onos.of.controller.impl.debugcounter.IDebugCounterService.CounterException; |
18 | -import net.onrc.onos.of.ctl.internal.Controller.Counters; | 18 | +import org.onlab.onos.of.controller.impl.internal.Controller.Counters; |
19 | -import net.onrc.onos.of.ctl.internal.OFChannelHandler.ChannelState.RoleReplyInfo; | 19 | +import org.onlab.onos.of.controller.impl.internal.OFChannelHandler.ChannelState.RoleReplyInfo; |
20 | 20 | ||
21 | import org.jboss.netty.channel.Channel; | 21 | import org.jboss.netty.channel.Channel; |
22 | import org.jboss.netty.channel.ChannelHandlerContext; | 22 | import org.jboss.netty.channel.ChannelHandlerContext; | ... | ... |
... | @@ -15,7 +15,7 @@ | ... | @@ -15,7 +15,7 @@ |
15 | * under the License. | 15 | * under the License. |
16 | **/ | 16 | **/ |
17 | 17 | ||
18 | -package net.onrc.onos.of.ctl.internal; | 18 | +package org.onlab.onos.of.controller.impl.internal; |
19 | 19 | ||
20 | 20 | ||
21 | import org.jboss.netty.buffer.ChannelBuffer; | 21 | import org.jboss.netty.buffer.ChannelBuffer; | ... | ... |
... | @@ -15,7 +15,7 @@ | ... | @@ -15,7 +15,7 @@ |
15 | * under the License. | 15 | * under the License. |
16 | **/ | 16 | **/ |
17 | 17 | ||
18 | -package net.onrc.onos.of.ctl.internal; | 18 | +package org.onlab.onos.of.controller.impl.internal; |
19 | 19 | ||
20 | import java.util.concurrent.ThreadPoolExecutor; | 20 | import java.util.concurrent.ThreadPoolExecutor; |
21 | 21 | ... | ... |
... | @@ -15,7 +15,7 @@ | ... | @@ -15,7 +15,7 @@ |
15 | * under the License. | 15 | * under the License. |
16 | **/ | 16 | **/ |
17 | 17 | ||
18 | -package net.onrc.onos.of.ctl.internal; | 18 | +package org.onlab.onos.of.controller.impl.internal; |
19 | 19 | ||
20 | /** | 20 | /** |
21 | * This exception indicates an error or unexpected message during | 21 | * This exception indicates an error or unexpected message during | ... | ... |
1 | -package net.onrc.onos.of.ctl.registry; | 1 | +package org.onlab.onos.of.controller.impl.registry; |
2 | 2 | ||
3 | import java.util.Collection; | 3 | import java.util.Collection; |
4 | import java.util.List; | 4 | import java.util.List; |
5 | import java.util.Map; | 5 | import java.util.Map; |
6 | 6 | ||
7 | -import net.onrc.onos.of.ctl.util.InstanceId; | 7 | +import org.onlab.onos.of.controller.impl.util.InstanceId; |
8 | 8 | ||
9 | /** | 9 | /** |
10 | * A registry service that allows ONOS to register controllers and switches in a | 10 | * A registry service that allows ONOS to register controllers and switches in a | ... | ... |
1 | -package net.onrc.onos.of.ctl.util; | 1 | +package org.onlab.onos.of.controller.impl.util; |
2 | 2 | ||
3 | import java.io.IOException; | 3 | import java.io.IOException; |
4 | import java.util.Collection; | 4 | import java.util.Collection; |
... | @@ -27,8 +27,8 @@ import org.slf4j.LoggerFactory; | ... | @@ -27,8 +27,8 @@ import org.slf4j.LoggerFactory; |
27 | 27 | ||
28 | import net.onrc.onos.of.ctl.IOFSwitch; | 28 | import net.onrc.onos.of.ctl.IOFSwitch; |
29 | import net.onrc.onos.of.ctl.Role; | 29 | import net.onrc.onos.of.ctl.Role; |
30 | -import net.onrc.onos.of.ctl.debugcounter.IDebugCounterService; | 30 | +import org.onlab.onos.of.controller.impl.debugcounter.IDebugCounterService; |
31 | -import net.onrc.onos.of.ctl.debugcounter.IDebugCounterService.CounterException; | 31 | +import org.onlab.onos.of.controller.impl.debugcounter.IDebugCounterService.CounterException; |
32 | 32 | ||
33 | public class DummySwitchForTesting implements IOFSwitch { | 33 | public class DummySwitchForTesting implements IOFSwitch { |
34 | 34 | ... | ... |
... | @@ -15,7 +15,7 @@ | ... | @@ -15,7 +15,7 @@ |
15 | * under the License. | 15 | * under the License. |
16 | **/ | 16 | **/ |
17 | 17 | ||
18 | -package net.onrc.onos.of.ctl.util; | 18 | +package org.onlab.onos.of.controller.impl.util; |
19 | 19 | ||
20 | import java.util.Iterator; | 20 | import java.util.Iterator; |
21 | import java.util.NoSuchElementException; | 21 | import java.util.NoSuchElementException; | ... | ... |
1 | -package net.onrc.onos.of.ctl.util; | 1 | +package org.onlab.onos.of.controller.impl.util; |
2 | 2 | ||
3 | import static com.google.common.base.Preconditions.checkNotNull; | 3 | import static com.google.common.base.Preconditions.checkNotNull; |
4 | import static com.google.common.base.Preconditions.checkArgument; | 4 | import static com.google.common.base.Preconditions.checkArgument; | ... | ... |
... | @@ -15,7 +15,7 @@ | ... | @@ -15,7 +15,7 @@ |
15 | * under the License. | 15 | * under the License. |
16 | **/ | 16 | **/ |
17 | 17 | ||
18 | -package net.onrc.onos.of.ctl.util; | 18 | +package org.onlab.onos.of.controller.impl.util; |
19 | 19 | ||
20 | import java.util.Iterator; | 20 | import java.util.Iterator; |
21 | import java.util.NoSuchElementException; | 21 | import java.util.NoSuchElementException; | ... | ... |
... | @@ -15,7 +15,7 @@ | ... | @@ -15,7 +15,7 @@ |
15 | * under the License. | 15 | * under the License. |
16 | **/ | 16 | **/ |
17 | 17 | ||
18 | -package net.onrc.onos.of.ctl.util; | 18 | +package org.onlab.onos.of.controller.impl.util; |
19 | 19 | ||
20 | import java.util.LinkedHashMap; | 20 | import java.util.LinkedHashMap; |
21 | import java.util.Map; | 21 | import java.util.Map; | ... | ... |
... | @@ -15,7 +15,7 @@ | ... | @@ -15,7 +15,7 @@ |
15 | * under the License. | 15 | * under the License. |
16 | **/ | 16 | **/ |
17 | 17 | ||
18 | -package net.onrc.onos.of.ctl.util; | 18 | +package org.onlab.onos.of.controller.impl.util; |
19 | 19 | ||
20 | import java.util.Iterator; | 20 | import java.util.Iterator; |
21 | import java.util.NoSuchElementException; | 21 | import java.util.NoSuchElementException; | ... | ... |
... | @@ -15,7 +15,7 @@ | ... | @@ -15,7 +15,7 @@ |
15 | * under the License. | 15 | * under the License. |
16 | **/ | 16 | **/ |
17 | 17 | ||
18 | -package net.onrc.onos.of.ctl.internal; | 18 | +package org.onlab.onos.of.controller.impl.internal; |
19 | 19 | ||
20 | import junit.framework.TestCase; | 20 | import junit.framework.TestCase; |
21 | import net.onrc.onos.of.ctl.IOFSwitch; | 21 | import net.onrc.onos.of.ctl.IOFSwitch; | ... | ... |
1 | -package net.onrc.onos.of.ctl.internal; | 1 | +package org.onlab.onos.of.controller.impl.internal; |
2 | 2 | ||
3 | import static org.easymock.EasyMock.capture; | 3 | import static org.easymock.EasyMock.capture; |
4 | import static org.easymock.EasyMock.createMock; | 4 | import static org.easymock.EasyMock.createMock; |
... | @@ -20,9 +20,9 @@ import java.util.Set; | ... | @@ -20,9 +20,9 @@ import java.util.Set; |
20 | 20 | ||
21 | import net.onrc.onos.of.ctl.IOFSwitch; | 21 | import net.onrc.onos.of.ctl.IOFSwitch; |
22 | import net.onrc.onos.of.ctl.Role; | 22 | import net.onrc.onos.of.ctl.Role; |
23 | -import net.onrc.onos.of.ctl.debugcounter.DebugCounter; | 23 | +import org.onlab.onos.of.controller.impl.debugcounter.DebugCounter; |
24 | -import net.onrc.onos.of.ctl.debugcounter.IDebugCounterService; | 24 | +import org.onlab.onos.of.controller.impl.debugcounter.IDebugCounterService; |
25 | -import net.onrc.onos.of.ctl.internal.OFChannelHandler.RoleRecvStatus; | 25 | +import org.onlab.onos.of.controller.impl.internal.OFChannelHandler.RoleRecvStatus; |
26 | 26 | ||
27 | import org.easymock.Capture; | 27 | import org.easymock.Capture; |
28 | import org.easymock.CaptureType; | 28 | import org.easymock.CaptureType; | ... | ... |
... | @@ -15,7 +15,7 @@ | ... | @@ -15,7 +15,7 @@ |
15 | * under the License. | 15 | * under the License. |
16 | **/ | 16 | **/ |
17 | 17 | ||
18 | -package net.onrc.onos.of.ctl; | 18 | +package org.onlab.onos.of.controller.impl; |
19 | 19 | ||
20 | import java.io.IOException; | 20 | import java.io.IOException; |
21 | import java.util.Collection; | 21 | import java.util.Collection; |
... | @@ -25,9 +25,9 @@ import java.util.Map; | ... | @@ -25,9 +25,9 @@ import java.util.Map; |
25 | import java.util.Set; | 25 | import java.util.Set; |
26 | import java.util.concurrent.Future; | 26 | import java.util.concurrent.Future; |
27 | 27 | ||
28 | -import net.onrc.onos.of.ctl.debugcounter.IDebugCounterService; | 28 | +import org.onlab.onos.of.controller.impl.debugcounter.IDebugCounterService; |
29 | -import net.onrc.onos.of.ctl.debugcounter.IDebugCounterService.CounterException; | 29 | +import org.onlab.onos.of.controller.impl.debugcounter.IDebugCounterService.CounterException; |
30 | -import net.onrc.onos.of.ctl.util.OrderedCollection; | 30 | +import org.onlab.onos.of.controller.impl.util.OrderedCollection; |
31 | 31 | ||
32 | import org.jboss.netty.channel.Channel; | 32 | import org.jboss.netty.channel.Channel; |
33 | import org.projectfloodlight.openflow.protocol.OFActionType; | 33 | import org.projectfloodlight.openflow.protocol.OFActionType; |
... | @@ -71,7 +71,6 @@ public interface IOFSwitch { | ... | @@ -71,7 +71,6 @@ public interface IOFSwitch { |
71 | * Writes to the OFMessage to the output stream. | 71 | * Writes to the OFMessage to the output stream. |
72 | * | 72 | * |
73 | * @param m | 73 | * @param m |
74 | - * @param bc | ||
75 | * @throws IOException | 74 | * @throws IOException |
76 | */ | 75 | */ |
77 | public void write(OFMessage m) throws IOException; | 76 | public void write(OFMessage m) throws IOException; |
... | @@ -80,7 +79,6 @@ public interface IOFSwitch { | ... | @@ -80,7 +79,6 @@ public interface IOFSwitch { |
80 | * Writes the list of messages to the output stream. | 79 | * Writes the list of messages to the output stream. |
81 | * | 80 | * |
82 | * @param msglist | 81 | * @param msglist |
83 | - * @param bc | ||
84 | * @throws IOException | 82 | * @throws IOException |
85 | */ | 83 | */ |
86 | public void write(List<OFMessage> msglist) throws IOException; | 84 | public void write(List<OFMessage> msglist) throws IOException; |
... | @@ -366,7 +364,7 @@ public interface IOFSwitch { | ... | @@ -366,7 +364,7 @@ public interface IOFSwitch { |
366 | public boolean portEnabled(int portName); | 364 | public boolean portEnabled(int portName); |
367 | 365 | ||
368 | /** | 366 | /** |
369 | - * @param portNumber | 367 | + * @param portName |
370 | * @return Whether a port is enabled per latest port status message | 368 | * @return Whether a port is enabled per latest port status message |
371 | * (not configured down nor link down nor in spanning tree blocking state) | 369 | * (not configured down nor link down nor in spanning tree blocking state) |
372 | */ | 370 | */ |
... | @@ -508,7 +506,7 @@ public interface IOFSwitch { | ... | @@ -508,7 +506,7 @@ public interface IOFSwitch { |
508 | /** | 506 | /** |
509 | * Set debug counter service for per-switch counters. | 507 | * Set debug counter service for per-switch counters. |
510 | * Called immediately after instantiation. | 508 | * Called immediately after instantiation. |
511 | - * @param debugCounters | 509 | + * @param debugCounter |
512 | * @throws CounterException | 510 | * @throws CounterException |
513 | */ | 511 | */ |
514 | public void setDebugCounterService(IDebugCounterService debugCounter) | 512 | public void setDebugCounterService(IDebugCounterService debugCounter) |
... | @@ -520,7 +518,8 @@ public interface IOFSwitch { | ... | @@ -520,7 +518,8 @@ public interface IOFSwitch { |
520 | * ready. | 518 | * ready. |
521 | * This method must only be called from the I/O thread | 519 | * This method must only be called from the I/O thread |
522 | * @throws IOException | 520 | * @throws IOException |
523 | - * @throws SwitchDriverSubHandshakeAlreadyStarted if the sub-handshake has | 521 | + * @throws org.onlab.onos.of.controller.impl.internal.SwitchDriverSubHandshakeAlreadyStarted |
522 | + * if the sub-handshake has | ||
524 | * already been started | 523 | * already been started |
525 | */ | 524 | */ |
526 | public void startDriverHandshake() throws IOException; | 525 | public void startDriverHandshake() throws IOException; |
... | @@ -531,7 +530,8 @@ public interface IOFSwitch { | ... | @@ -531,7 +530,8 @@ public interface IOFSwitch { |
531 | * | 530 | * |
532 | * This methods must only be called from the I/O thread | 531 | * This methods must only be called from the I/O thread |
533 | * @return true if the sub-handshake has been completed. False otherwise | 532 | * @return true if the sub-handshake has been completed. False otherwise |
534 | - * @throws SwitchDriverSubHandshakeNotStarted if startDriverHandshake() has | 533 | + * @throws org.onlab.onos.of.controller.impl.internal.SwitchDriverSubHandshakeNotStarted |
534 | + * if startDriverHandshake() has | ||
535 | * not been called yet. | 535 | * not been called yet. |
536 | */ | 536 | */ |
537 | public boolean isDriverHandshakeComplete(); | 537 | public boolean isDriverHandshakeComplete(); |
... | @@ -541,9 +541,11 @@ public interface IOFSwitch { | ... | @@ -541,9 +541,11 @@ public interface IOFSwitch { |
541 | * sub-handshake. Must not be called after the handshake has been completed | 541 | * sub-handshake. Must not be called after the handshake has been completed |
542 | * This methods must only be called from the I/O thread | 542 | * This methods must only be called from the I/O thread |
543 | * @param m The message that the driver should process | 543 | * @param m The message that the driver should process |
544 | - * @throws SwitchDriverSubHandshakeCompleted if isDriverHandshake() returns | 544 | + * @throws org.onlab.onos.of.controller.impl.internal.SwitchDriverSubHandshakeCompleted |
545 | + * if isDriverHandshake() returns | ||
545 | * false before this method call | 546 | * false before this method call |
546 | - * @throws SwitchDriverSubHandshakeNotStarted if startDriverHandshake() has | 547 | + * @throws org.onlab.onos.of.controller.impl.internal.SwitchDriverSubHandshakeNotStarted |
548 | + * if startDriverHandshake() has | ||
547 | * not been called yet. | 549 | * not been called yet. |
548 | */ | 550 | */ |
549 | public void processDriverHandshakeMessage(OFMessage m); | 551 | public void processDriverHandshakeMessage(OFMessage m); | ... | ... |
1 | -package net.onrc.onos.of.ctl; | 1 | +package org.onlab.onos.of.controller.impl; |
2 | 2 | ||
3 | import org.projectfloodlight.openflow.protocol.OFVersion; | 3 | import org.projectfloodlight.openflow.protocol.OFVersion; |
4 | 4 | ||
5 | -import net.onrc.onos.of.ctl.registry.IControllerRegistry; | 5 | +import org.onlab.onos.of.controller.impl.registry.IControllerRegistry; |
6 | 6 | ||
7 | /** | 7 | /** |
8 | * Interface to passed to controller class in order to allow | 8 | * Interface to passed to controller class in order to allow | ... | ... |
... | @@ -15,7 +15,7 @@ | ... | @@ -15,7 +15,7 @@ |
15 | * under the License. | 15 | * under the License. |
16 | **/ | 16 | **/ |
17 | 17 | ||
18 | -package net.onrc.onos.of.ctl.annotations; | 18 | +package org.onlab.onos.of.controller.impl.annotations; |
19 | 19 | ||
20 | import java.lang.annotation.ElementType; | 20 | import java.lang.annotation.ElementType; |
21 | import java.lang.annotation.Target; | 21 | import java.lang.annotation.Target; |
... | @@ -30,7 +30,7 @@ public @interface LogMessageCategory { | ... | @@ -30,7 +30,7 @@ public @interface LogMessageCategory { |
30 | /** | 30 | /** |
31 | * The category for the log messages for this class. | 31 | * The category for the log messages for this class. |
32 | * | 32 | * |
33 | - * @return | 33 | + * @return category |
34 | */ | 34 | */ |
35 | String value() default "Core"; | 35 | String value() default "Core"; |
36 | } | 36 | } | ... | ... |
... | @@ -15,7 +15,7 @@ | ... | @@ -15,7 +15,7 @@ |
15 | * under the License. | 15 | * under the License. |
16 | **/ | 16 | **/ |
17 | 17 | ||
18 | -package net.onrc.onos.of.ctl.annotations; | 18 | +package org.onlab.onos.of.controller.impl.annotations; |
19 | 19 | ||
20 | import java.lang.annotation.ElementType; | 20 | import java.lang.annotation.ElementType; |
21 | import java.lang.annotation.Target; | 21 | import java.lang.annotation.Target; | ... | ... |
... | @@ -15,7 +15,7 @@ | ... | @@ -15,7 +15,7 @@ |
15 | * under the License. | 15 | * under the License. |
16 | **/ | 16 | **/ |
17 | 17 | ||
18 | -package net.onrc.onos.of.ctl.annotations; | 18 | +package org.onlab.onos.of.controller.impl.annotations; |
19 | 19 | ||
20 | import java.lang.annotation.ElementType; | 20 | import java.lang.annotation.ElementType; |
21 | import java.lang.annotation.Target; | 21 | import java.lang.annotation.Target; | ... | ... |
1 | -package net.onrc.onos.of.ctl.debugcounter; | 1 | +package org.onlab.onos.of.controller.impl.debugcounter; |
2 | 2 | ||
3 | 3 | ||
4 | 4 | ||
5 | import java.util.List; | 5 | import java.util.List; |
6 | 6 | ||
7 | -import net.onrc.onos.of.ctl.debugcounter.DebugCounter.DebugCounterInfo; | 7 | +import org.onlab.onos.of.controller.impl.debugcounter.DebugCounter.DebugCounterInfo; |
8 | 8 | ||
9 | //CHECKSTYLE:OFF | 9 | //CHECKSTYLE:OFF |
10 | public interface IDebugCounterService { | 10 | public interface IDebugCounterService { |
... | @@ -228,7 +228,8 @@ public interface IDebugCounterService { | ... | @@ -228,7 +228,8 @@ public interface IDebugCounterService { |
228 | * may not be enabled for counting, but if it is registered the method will | 228 | * may not be enabled for counting, but if it is registered the method will |
229 | * return true. | 229 | * return true. |
230 | * | 230 | * |
231 | - * @param param | 231 | + * @param moduleName |
232 | + * @param counterHierarchy | ||
232 | * @return false if moduleCounterHierarchy is not a registered counter | 233 | * @return false if moduleCounterHierarchy is not a registered counter |
233 | */ | 234 | */ |
234 | public boolean containsModuleCounterHierarchy(String moduleName, | 235 | public boolean containsModuleCounterHierarchy(String moduleName, |
... | @@ -240,7 +241,7 @@ public interface IDebugCounterService { | ... | @@ -240,7 +241,7 @@ public interface IDebugCounterService { |
240 | * a counter enabled for counting, but if it is registered the method will | 241 | * a counter enabled for counting, but if it is registered the method will |
241 | * return true. | 242 | * return true. |
242 | * | 243 | * |
243 | - * @param param | 244 | + * @param moduleName |
244 | * @return false if moduleName is not a registered counter | 245 | * @return false if moduleName is not a registered counter |
245 | */ | 246 | */ |
246 | public boolean containsModuleName(String moduleName); | 247 | public boolean containsModuleName(String moduleName); | ... | ... |
1 | -package net.onrc.onos.of.ctl.debugcounter; | 1 | +package org.onlab.onos.of.controller.impl.debugcounter; |
2 | 2 | ||
3 | import java.util.Collections; | 3 | import java.util.Collections; |
4 | import java.util.List; | 4 | import java.util.List; |
5 | 5 | ||
6 | -import net.onrc.onos.of.ctl.debugcounter.DebugCounter.DebugCounterInfo; | 6 | +import org.onlab.onos.of.controller.impl.debugcounter.DebugCounter.DebugCounterInfo; |
7 | 7 | ||
8 | //CHECKSTYLE:OFF | 8 | //CHECKSTYLE:OFF |
9 | public class NullDebugCounter implements IDebugCounterService { | 9 | public class NullDebugCounter implements IDebugCounterService { | ... | ... |
... | @@ -15,7 +15,7 @@ | ... | @@ -15,7 +15,7 @@ |
15 | * under the License. | 15 | * under the License. |
16 | **/ | 16 | **/ |
17 | 17 | ||
18 | -package net.onrc.onos.of.ctl.internal; | 18 | +package org.onlab.onos.of.controller.impl.internal; |
19 | 19 | ||
20 | import java.lang.management.ManagementFactory; | 20 | import java.lang.management.ManagementFactory; |
21 | import java.lang.management.RuntimeMXBean; | 21 | import java.lang.management.RuntimeMXBean; |
... | @@ -29,24 +29,24 @@ import java.util.Set; | ... | @@ -29,24 +29,24 @@ import java.util.Set; |
29 | import java.util.concurrent.ConcurrentHashMap; | 29 | import java.util.concurrent.ConcurrentHashMap; |
30 | import java.util.concurrent.Executors; | 30 | import java.util.concurrent.Executors; |
31 | 31 | ||
32 | -import net.onrc.onos.of.ctl.IOFSwitchManager; | 32 | +import org.onlab.onos.of.controller.impl.IOFSwitchManager; |
33 | -import net.onrc.onos.of.ctl.Role; | 33 | +import org.onlab.onos.of.controller.impl.Role; |
34 | -import net.onrc.onos.of.ctl.annotations.LogMessageDoc; | 34 | +import org.onlab.onos.of.controller.impl.annotations.LogMessageDoc; |
35 | -import net.onrc.onos.of.ctl.annotations.LogMessageDocs; | 35 | +import org.onlab.onos.of.controller.impl.annotations.LogMessageDocs; |
36 | -import net.onrc.onos.of.ctl.debugcounter.DebugCounter; | 36 | +import org.onlab.onos.of.controller.impl.debugcounter.DebugCounter; |
37 | -import net.onrc.onos.of.ctl.debugcounter.IDebugCounter; | 37 | +import org.onlab.onos.of.controller.impl.debugcounter.IDebugCounter; |
38 | -import net.onrc.onos.of.ctl.debugcounter.IDebugCounterService; | 38 | +import org.onlab.onos.of.controller.impl.debugcounter.IDebugCounterService; |
39 | -import net.onrc.onos.of.ctl.debugcounter.IDebugCounterService.CounterException; | 39 | +import org.onlab.onos.of.controller.impl.debugcounter.IDebugCounterService.CounterException; |
40 | -import net.onrc.onos.of.ctl.debugcounter.IDebugCounterService.CounterType; | 40 | +import org.onlab.onos.of.controller.impl.debugcounter.IDebugCounterService.CounterType; |
41 | -import net.onrc.onos.of.ctl.internal.OFChannelHandler.RoleRecvStatus; | 41 | +import org.onlab.onos.of.controller.impl.internal.OFChannelHandler.RoleRecvStatus; |
42 | -import net.onrc.onos.of.ctl.registry.IControllerRegistry; | 42 | +import org.onlab.onos.of.controller.impl.registry.IControllerRegistry; |
43 | -import net.onrc.onos.of.ctl.registry.RegistryException; | 43 | +import org.onlab.onos.of.controller.impl.registry.RegistryException; |
44 | -import net.onrc.onos.of.ctl.registry.IControllerRegistry.ControlChangeCallback; | 44 | +import org.onlab.onos.of.controller.impl.registry.IControllerRegistry.ControlChangeCallback; |
45 | -import net.onrc.onos.of.ctl.util.Dpid; | 45 | +import org.onlab.onos.of.controller.impl.util.Dpid; |
46 | -import net.onrc.onos.of.ctl.util.DummySwitchForTesting; | 46 | +import org.onlab.onos.of.controller.impl.util.DummySwitchForTesting; |
47 | -import net.onrc.onos.of.ctl.util.InstanceId; | 47 | +import org.onlab.onos.of.controller.impl.util.InstanceId; |
48 | -import net.onrc.onos.of.ctl.IOFSwitch; | 48 | +import org.onlab.onos.of.controller.impl.IOFSwitch; |
49 | -import net.onrc.onos.of.ctl.IOFSwitch.PortChangeType; | 49 | +import org.onlab.onos.of.controller.impl.IOFSwitch.PortChangeType; |
50 | 50 | ||
51 | import org.apache.felix.scr.annotations.Activate; | 51 | import org.apache.felix.scr.annotations.Activate; |
52 | import org.apache.felix.scr.annotations.Component; | 52 | import org.apache.felix.scr.annotations.Component; |
... | @@ -242,7 +242,9 @@ public class Controller { | ... | @@ -242,7 +242,9 @@ public class Controller { |
242 | /** | 242 | /** |
243 | * Indicates that ports on the given switch have changed. Enqueue a | 243 | * Indicates that ports on the given switch have changed. Enqueue a |
244 | * switch update. | 244 | * switch update. |
245 | - * @param sw | 245 | + * @param dpid |
246 | + * @param port | ||
247 | + * @param changeType | ||
246 | */ | 248 | */ |
247 | protected void notifyPortChanged(long dpid, OFPortDesc port, | 249 | protected void notifyPortChanged(long dpid, OFPortDesc port, |
248 | PortChangeType changeType) { | 250 | PortChangeType changeType) { |
... | @@ -479,8 +481,6 @@ public class Controller { | ... | @@ -479,8 +481,6 @@ public class Controller { |
479 | 481 | ||
480 | /** | 482 | /** |
481 | * Tell controller that we're ready to accept switches loop. | 483 | * Tell controller that we're ready to accept switches loop. |
482 | - * | ||
483 | - * @throws IOException | ||
484 | */ | 484 | */ |
485 | @LogMessageDocs({ | 485 | @LogMessageDocs({ |
486 | @LogMessageDoc(message = "Listening for switch connections on {address}", | 486 | @LogMessageDoc(message = "Listening for switch connections on {address}", |
... | @@ -818,7 +818,7 @@ public class Controller { | ... | @@ -818,7 +818,7 @@ public class Controller { |
818 | /** | 818 | /** |
819 | * Forward to the driver-manager to get an IOFSwitch instance. | 819 | * Forward to the driver-manager to get an IOFSwitch instance. |
820 | * @param desc | 820 | * @param desc |
821 | - * @return | 821 | + * @return switch instance |
822 | */ | 822 | */ |
823 | protected IOFSwitch getOFSwitchInstance(OFDescStatsReply desc, OFVersion ofv) { | 823 | protected IOFSwitch getOFSwitchInstance(OFDescStatsReply desc, OFVersion ofv) { |
824 | if (switchManager == null) { | 824 | if (switchManager == null) { | ... | ... |
... | @@ -15,7 +15,7 @@ | ... | @@ -15,7 +15,7 @@ |
15 | * under the License. | 15 | * under the License. |
16 | **/ | 16 | **/ |
17 | 17 | ||
18 | -package net.onrc.onos.of.ctl.internal; | 18 | +package org.onlab.onos.of.controller.impl.internal; |
19 | 19 | ||
20 | /** | 20 | /** |
21 | * Exception is thrown when the handshake fails to complete. | 21 | * Exception is thrown when the handshake fails to complete. | ... | ... |
... | @@ -15,7 +15,7 @@ | ... | @@ -15,7 +15,7 @@ |
15 | * under the License. | 15 | * under the License. |
16 | **/ | 16 | **/ |
17 | 17 | ||
18 | -package net.onrc.onos.of.ctl.internal; | 18 | +package org.onlab.onos.of.controller.impl.internal; |
19 | 19 | ||
20 | import java.util.concurrent.TimeUnit; | 20 | import java.util.concurrent.TimeUnit; |
21 | 21 | ... | ... |
1 | //CHECKSTYLE:OFF | 1 | //CHECKSTYLE:OFF |
2 | -package net.onrc.onos.of.ctl.internal; | 2 | +package org.onlab.onos.of.controller.impl.internal; |
3 | 3 | ||
4 | import java.io.IOException; | 4 | import java.io.IOException; |
5 | import java.nio.channels.ClosedChannelException; | 5 | import java.nio.channels.ClosedChannelException; |
... | @@ -10,14 +10,14 @@ import java.util.List; | ... | @@ -10,14 +10,14 @@ import java.util.List; |
10 | import java.util.concurrent.CopyOnWriteArrayList; | 10 | import java.util.concurrent.CopyOnWriteArrayList; |
11 | import java.util.concurrent.RejectedExecutionException; | 11 | import java.util.concurrent.RejectedExecutionException; |
12 | 12 | ||
13 | -import net.onrc.onos.of.ctl.IOFSwitch; | 13 | +import org.onlab.onos.of.controller.impl.IOFSwitch; |
14 | -import net.onrc.onos.of.ctl.IOFSwitch.PortChangeEvent; | 14 | +import org.onlab.onos.of.controller.impl.IOFSwitch.PortChangeEvent; |
15 | -import net.onrc.onos.of.ctl.Role; | 15 | +import org.onlab.onos.of.controller.impl.Role; |
16 | -import net.onrc.onos.of.ctl.annotations.LogMessageDoc; | 16 | +import org.onlab.onos.of.controller.impl.annotations.LogMessageDoc; |
17 | -import net.onrc.onos.of.ctl.annotations.LogMessageDocs; | 17 | +import org.onlab.onos.of.controller.impl.annotations.LogMessageDocs; |
18 | -import net.onrc.onos.of.ctl.debugcounter.IDebugCounterService.CounterException; | 18 | +import org.onlab.onos.of.controller.impl.debugcounter.IDebugCounterService.CounterException; |
19 | -import net.onrc.onos.of.ctl.internal.Controller.Counters; | 19 | +import org.onlab.onos.of.controller.impl.internal.Controller.Counters; |
20 | -import net.onrc.onos.of.ctl.internal.OFChannelHandler.ChannelState.RoleReplyInfo; | 20 | +import org.onlab.onos.of.controller.impl.internal.OFChannelHandler.ChannelState.RoleReplyInfo; |
21 | 21 | ||
22 | import org.jboss.netty.channel.Channel; | 22 | import org.jboss.netty.channel.Channel; |
23 | import org.jboss.netty.channel.ChannelHandlerContext; | 23 | import org.jboss.netty.channel.ChannelHandlerContext; | ... | ... |
... | @@ -15,7 +15,7 @@ | ... | @@ -15,7 +15,7 @@ |
15 | * under the License. | 15 | * under the License. |
16 | **/ | 16 | **/ |
17 | 17 | ||
18 | -package net.onrc.onos.of.ctl.internal; | 18 | +package org.onlab.onos.of.controller.impl.internal; |
19 | 19 | ||
20 | 20 | ||
21 | import org.jboss.netty.buffer.ChannelBuffer; | 21 | import org.jboss.netty.buffer.ChannelBuffer; | ... | ... |
... | @@ -15,7 +15,7 @@ | ... | @@ -15,7 +15,7 @@ |
15 | * under the License. | 15 | * under the License. |
16 | **/ | 16 | **/ |
17 | 17 | ||
18 | -package net.onrc.onos.of.ctl.internal; | 18 | +package org.onlab.onos.of.controller.impl.internal; |
19 | 19 | ||
20 | import java.util.concurrent.ThreadPoolExecutor; | 20 | import java.util.concurrent.ThreadPoolExecutor; |
21 | 21 | ... | ... |
... | @@ -15,7 +15,7 @@ | ... | @@ -15,7 +15,7 @@ |
15 | * under the License. | 15 | * under the License. |
16 | **/ | 16 | **/ |
17 | 17 | ||
18 | -package net.onrc.onos.of.ctl.internal; | 18 | +package org.onlab.onos.of.controller.impl.internal; |
19 | 19 | ||
20 | /** | 20 | /** |
21 | * This exception indicates an error or unexpected message during | 21 | * This exception indicates an error or unexpected message during | ... | ... |
1 | -package net.onrc.onos.of.ctl.registry; | 1 | +package org.onlab.onos.of.controller.impl.registry; |
2 | 2 | ||
3 | import java.util.Collection; | 3 | import java.util.Collection; |
4 | import java.util.List; | 4 | import java.util.List; |
5 | import java.util.Map; | 5 | import java.util.Map; |
6 | 6 | ||
7 | -import net.onrc.onos.of.ctl.util.InstanceId; | 7 | +import org.onlab.onos.of.controller.impl.util.InstanceId; |
8 | 8 | ||
9 | /** | 9 | /** |
10 | * A registry service that allows ONOS to register controllers and switches in a | 10 | * A registry service that allows ONOS to register controllers and switches in a | ... | ... |
1 | -package net.onrc.onos.of.ctl.util; | 1 | +package org.onlab.onos.of.controller.impl.util; |
2 | 2 | ||
3 | import java.io.IOException; | 3 | import java.io.IOException; |
4 | import java.util.Collection; | 4 | import java.util.Collection; |
... | @@ -25,10 +25,10 @@ import org.projectfloodlight.openflow.types.U64; | ... | @@ -25,10 +25,10 @@ import org.projectfloodlight.openflow.types.U64; |
25 | import org.slf4j.Logger; | 25 | import org.slf4j.Logger; |
26 | import org.slf4j.LoggerFactory; | 26 | import org.slf4j.LoggerFactory; |
27 | 27 | ||
28 | -import net.onrc.onos.of.ctl.IOFSwitch; | 28 | +import org.onlab.onos.of.controller.impl.IOFSwitch; |
29 | -import net.onrc.onos.of.ctl.Role; | 29 | +import org.onlab.onos.of.controller.impl.Role; |
30 | -import net.onrc.onos.of.ctl.debugcounter.IDebugCounterService; | 30 | +import org.onlab.onos.of.controller.impl.debugcounter.IDebugCounterService; |
31 | -import net.onrc.onos.of.ctl.debugcounter.IDebugCounterService.CounterException; | 31 | +import org.onlab.onos.of.controller.impl.debugcounter.IDebugCounterService.CounterException; |
32 | 32 | ||
33 | public class DummySwitchForTesting implements IOFSwitch { | 33 | public class DummySwitchForTesting implements IOFSwitch { |
34 | 34 | ... | ... |
... | @@ -15,7 +15,7 @@ | ... | @@ -15,7 +15,7 @@ |
15 | * under the License. | 15 | * under the License. |
16 | **/ | 16 | **/ |
17 | 17 | ||
18 | -package net.onrc.onos.of.ctl.util; | 18 | +package org.onlab.onos.of.controller.impl.util; |
19 | 19 | ||
20 | import java.util.Iterator; | 20 | import java.util.Iterator; |
21 | import java.util.NoSuchElementException; | 21 | import java.util.NoSuchElementException; | ... | ... |
1 | -package net.onrc.onos.of.ctl.util; | 1 | +package org.onlab.onos.of.controller.impl.util; |
2 | 2 | ||
3 | import static com.google.common.base.Preconditions.checkNotNull; | 3 | import static com.google.common.base.Preconditions.checkNotNull; |
4 | import static com.google.common.base.Preconditions.checkArgument; | 4 | import static com.google.common.base.Preconditions.checkArgument; | ... | ... |
... | @@ -15,7 +15,7 @@ | ... | @@ -15,7 +15,7 @@ |
15 | * under the License. | 15 | * under the License. |
16 | **/ | 16 | **/ |
17 | 17 | ||
18 | -package net.onrc.onos.of.ctl.util; | 18 | +package org.onlab.onos.of.controller.impl.util; |
19 | 19 | ||
20 | import java.util.Iterator; | 20 | import java.util.Iterator; |
21 | import java.util.NoSuchElementException; | 21 | import java.util.NoSuchElementException; | ... | ... |
... | @@ -15,7 +15,7 @@ | ... | @@ -15,7 +15,7 @@ |
15 | * under the License. | 15 | * under the License. |
16 | **/ | 16 | **/ |
17 | 17 | ||
18 | -package net.onrc.onos.of.ctl.util; | 18 | +package org.onlab.onos.of.controller.impl.util; |
19 | 19 | ||
20 | import java.util.LinkedHashMap; | 20 | import java.util.LinkedHashMap; |
21 | import java.util.Map; | 21 | import java.util.Map; | ... | ... |
... | @@ -15,7 +15,7 @@ | ... | @@ -15,7 +15,7 @@ |
15 | * under the License. | 15 | * under the License. |
16 | **/ | 16 | **/ |
17 | 17 | ||
18 | -package net.onrc.onos.of.ctl.util; | 18 | +package org.onlab.onos.of.controller.impl.util; |
19 | 19 | ||
20 | import java.util.Iterator; | 20 | import java.util.Iterator; |
21 | import java.util.NoSuchElementException; | 21 | import java.util.NoSuchElementException; | ... | ... |
... | @@ -15,10 +15,10 @@ | ... | @@ -15,10 +15,10 @@ |
15 | * under the License. | 15 | * under the License. |
16 | **/ | 16 | **/ |
17 | 17 | ||
18 | -package net.onrc.onos.of.ctl.internal; | 18 | +package org.onlab.onos.of.controller.impl.internal; |
19 | 19 | ||
20 | import junit.framework.TestCase; | 20 | import junit.framework.TestCase; |
21 | -import net.onrc.onos.of.ctl.IOFSwitch; | 21 | +import org.onlab.onos.of.controller.impl.IOFSwitch; |
22 | 22 | ||
23 | import org.easymock.EasyMock; | 23 | import org.easymock.EasyMock; |
24 | import org.junit.After; | 24 | import org.junit.After; | ... | ... |
1 | -package net.onrc.onos.of.ctl.internal; | 1 | +package org.onlab.onos.of.controller.impl.internal; |
2 | 2 | ||
3 | import static org.easymock.EasyMock.capture; | 3 | import static org.easymock.EasyMock.capture; |
4 | import static org.easymock.EasyMock.createMock; | 4 | import static org.easymock.EasyMock.createMock; |
... | @@ -18,11 +18,11 @@ import java.util.HashSet; | ... | @@ -18,11 +18,11 @@ import java.util.HashSet; |
18 | import java.util.List; | 18 | import java.util.List; |
19 | import java.util.Set; | 19 | import java.util.Set; |
20 | 20 | ||
21 | -import net.onrc.onos.of.ctl.IOFSwitch; | 21 | +import org.onlab.onos.of.controller.impl.IOFSwitch; |
22 | -import net.onrc.onos.of.ctl.Role; | 22 | +import org.onlab.onos.of.controller.impl.Role; |
23 | -import net.onrc.onos.of.ctl.debugcounter.DebugCounter; | 23 | +import org.onlab.onos.of.controller.impl.debugcounter.DebugCounter; |
24 | -import net.onrc.onos.of.ctl.debugcounter.IDebugCounterService; | 24 | +import org.onlab.onos.of.controller.impl.debugcounter.IDebugCounterService; |
25 | -import net.onrc.onos.of.ctl.internal.OFChannelHandler.RoleRecvStatus; | 25 | +import org.onlab.onos.of.controller.impl.internal.OFChannelHandler.RoleRecvStatus; |
26 | 26 | ||
27 | import org.easymock.Capture; | 27 | import org.easymock.Capture; |
28 | import org.easymock.CaptureType; | 28 | import org.easymock.CaptureType; | ... | ... |
... | @@ -248,7 +248,7 @@ | ... | @@ -248,7 +248,7 @@ |
248 | <group> | 248 | <group> |
249 | <title>Network Model & Services</title> | 249 | <title>Network Model & Services</title> |
250 | <packages> | 250 | <packages> |
251 | - org.onlab.onos.net:org.onlab.onos.net.* | 251 | + org.onlab.onos.* |
252 | </packages> | 252 | </packages> |
253 | </group> | 253 | </group> |
254 | <group> | 254 | <group> | ... | ... |
-
Please register or login to post a comment