Thomas Vachuska
Committed by Gerrit Code Review

Fixing javadocs.

Change-Id: Ifc894fce6366baf6cfed655b4bfc5885710be77c
......@@ -39,12 +39,15 @@ public class PolicyHandler {
protected final Logger log = getLogger(getClass());
// FIXME: references to manager components should be avoided
private final SegmentRoutingManager srManager;
private final EventuallyConsistentMap<String, Policy> policyStore;
/**
* Creates a reference.
* @param policyStore
*
* @param srManager segment routing manager
* @param policyStore policy store
*/
public PolicyHandler(SegmentRoutingManager srManager,
EventuallyConsistentMap<String, Policy> policyStore) {
......
......@@ -47,6 +47,7 @@ public interface Tunnel {
/**
* Sets group ID for the tunnel.
*
* @param groupId group identifier
*/
void setGroupId(int groupId);
......
......@@ -50,6 +50,7 @@ public class TunnelHandler {
* Creates a tunnel.
*
* @param tunnel tunnel reference to create a tunnel
* @return true if creation succeeded
*/
public boolean createTunnel(Tunnel tunnel) {
......
/*
* Copyright 2015 Open Networking Laboratory
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
/**
* Services for reserving devices as network resources.
*/
package org.onosproject.net.resource.device;
/*
* Copyright 2015 Open Networking Laboratory
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
/**
* Services for reserving links and their capacity as network resources,
* e.g.&nbsp;bandwidth, lambdas.
*/
package org.onosproject.net.resource.link;
......@@ -15,6 +15,6 @@
*/
/**
* Services for reserving network resources, e.g.&nbsp;bandwidth, lambdas.
* Abstractions for reserving network resources.
*/
package org.onosproject.net.resource;
......
......@@ -79,7 +79,7 @@
<group>
<title>Incubator for Core Subsystems &amp; Distributed Stores</title>
<packages>
org.onosproject.incubator.net.impl:org.onosproject.incubator.store.impl
org.onosproject.incubator.net.impl:org.onosproject.incubator.store.impl:org.onosproject.incubator.net.resource.label.impl:org.onosproject.incubator.store.resource.impl:org.onosproject.incubator.net.tunnel.impl:org.onosproject.incubator.store.tunnel.impl
</packages>
</group>
<group>
......
......@@ -16,8 +16,9 @@ public interface LabelResource extends Annotated, Provided, NetworkResource {
DeviceId deviceId();
/**
* Returns labelResource Id.
* @return LabelResourceId
* Returns label resource identifier.
*
* @return resource id
*/
LabelResourceId labelResourceId();
}
......
/*
* Copyright 2015 Open Networking Laboratory
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
/**
* Service for reserving labels as network resources.
*/
package org.onosproject.incubator.net.resource.label;
\ No newline at end of file
/*
* Copyright 2015 Open Networking Laboratory
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
/**
* Implementation of the label resource subsystem.
*/
package org.onosproject.incubator.net.resource.label.impl;
\ No newline at end of file
/*
* Copyright 2015 Open Networking Laboratory
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
/**
* Implementation of the label resource distributed store.
*/
package org.onosproject.incubator.store.resource.impl;
\ No newline at end of file