tom

Moved host core stuff to its own package.

package org.onlab.onos.net.trivial.impl;
package org.onlab.onos.net.trivial.host.impl;
import org.apache.felix.scr.annotations.Activate;
import org.apache.felix.scr.annotations.Component;
......
package org.onlab.onos.net.trivial.impl;
package org.onlab.onos.net.trivial.host.impl;
import org.onlab.onos.net.ConnectPoint;
import org.onlab.onos.net.DefaultHost;
......
......@@ -32,7 +32,9 @@ import static org.onlab.util.Tools.namedThreads;
import static org.slf4j.LoggerFactory.getLogger;
/**
* Simple implementation of a network topology provider/computor.
* Default implementation of a network topology provider that feeds off
* device and link subsystem events to trigger assembly and computation of
* new topology snapshots.
*/
@Component(immediate = true)
public class DefaultTopologyProvider extends AbstractProvider
......@@ -76,7 +78,7 @@ public class DefaultTopologyProvider extends AbstractProvider
@Activate
public synchronized void activate() {
executor = newFixedThreadPool(MAX_THREADS, namedThreads("topo-compute-%d"));
executor = newFixedThreadPool(MAX_THREADS, namedThreads("topo-build-%d"));
accumulator = new TopologyChangeAccumulator();
providerService = providerRegistry.register(this);
......
......@@ -5,7 +5,7 @@ import org.onlab.onos.net.DeviceId;
import java.util.Objects;
/**
* Key for filing src/dst paths.
* Key for filing pre-computed paths between source and destination devices.
*/
class PathKey {
private final DeviceId src;
......
......@@ -320,6 +320,7 @@
<artifactId>maven-javadoc-plugin</artifactId>
<version>2.9.1</version>
<configuration>
<show>package</show>
<docfilessubdirs>true</docfilessubdirs>
<doctitle>ONOS Java API</doctitle>
<groups>
......
......@@ -60,7 +60,7 @@ public class OpenFlowDeviceProvider extends AbstractProvider implements DevicePr
* Creates an OpenFlow device provider.
*/
public OpenFlowDeviceProvider() {
super(new ProviderId("org.onlab.onos.provider.of.device"));
super(new ProviderId("org.onlab.onos.provider.openflow"));
}
@Activate
......
......@@ -37,7 +37,7 @@ public class OpenFlowHostProvider extends AbstractProvider implements HostProvid
* Creates an OpenFlow host provider.
*/
public OpenFlowHostProvider() {
super(new ProviderId("org.onlab.onos.provider.of.host"));
super(new ProviderId("org.onlab.onos.provider.openflow"));
}
@Activate
......
......@@ -55,7 +55,7 @@ public class OpenFlowLinkProvider extends AbstractProvider implements LinkProvid
* Creates an OpenFlow link provider.
*/
public OpenFlowLinkProvider() {
super(new ProviderId("org.onlab.onos.provider.of.link"));
super(new ProviderId("org.onlab.onos.provider.openflow"));
}
@Activate
......