Committed by
Gerrit Code Review
Fixing @Beta tags
Change-Id: I93a3be9a81a8f29f7b1ce29b66f09c9bcd31e639
Showing
15 changed files
with
35 additions
and
0 deletions
... | @@ -17,9 +17,12 @@ | ... | @@ -17,9 +17,12 @@ |
17 | package org.onosproject.security; | 17 | package org.onosproject.security; |
18 | 18 | ||
19 | 19 | ||
20 | +import com.google.common.annotations.Beta; | ||
21 | + | ||
20 | /** | 22 | /** |
21 | * Aids SM-ONOS to perform API-level permission checking. | 23 | * Aids SM-ONOS to perform API-level permission checking. |
22 | */ | 24 | */ |
25 | +@Beta | ||
23 | public final class AppGuard { | 26 | public final class AppGuard { |
24 | 27 | ||
25 | private AppGuard() { | 28 | private AppGuard() { | ... | ... |
... | @@ -16,11 +16,14 @@ | ... | @@ -16,11 +16,14 @@ |
16 | 16 | ||
17 | package org.onosproject.security; | 17 | package org.onosproject.security; |
18 | 18 | ||
19 | +import com.google.common.annotations.Beta; | ||
20 | + | ||
19 | import java.security.BasicPermission; | 21 | import java.security.BasicPermission; |
20 | 22 | ||
21 | /** | 23 | /** |
22 | * Implementation of API access permission. | 24 | * Implementation of API access permission. |
23 | */ | 25 | */ |
26 | +@Beta | ||
24 | public class AppPermission extends BasicPermission { | 27 | public class AppPermission extends BasicPermission { |
25 | 28 | ||
26 | public enum Type { | 29 | public enum Type { | ... | ... |
... | @@ -16,6 +16,9 @@ | ... | @@ -16,6 +16,9 @@ |
16 | 16 | ||
17 | package org.onosproject.security; | 17 | package org.onosproject.security; |
18 | 18 | ||
19 | +import com.google.common.annotations.Beta; | ||
20 | + | ||
21 | +@Beta | ||
19 | public class Permission { | 22 | public class Permission { |
20 | 23 | ||
21 | protected String classname; | 24 | protected String classname; | ... | ... |
... | @@ -16,6 +16,7 @@ | ... | @@ -16,6 +16,7 @@ |
16 | 16 | ||
17 | package org.onosproject.security; | 17 | package org.onosproject.security; |
18 | 18 | ||
19 | +import com.google.common.annotations.Beta; | ||
19 | import org.onosproject.core.ApplicationId; | 20 | import org.onosproject.core.ApplicationId; |
20 | 21 | ||
21 | import java.security.Permission; | 22 | import java.security.Permission; |
... | @@ -25,6 +26,7 @@ import java.util.Map; | ... | @@ -25,6 +26,7 @@ import java.util.Map; |
25 | /** | 26 | /** |
26 | * Security-Mode ONOS service. | 27 | * Security-Mode ONOS service. |
27 | */ | 28 | */ |
29 | +@Beta | ||
28 | public interface SecurityAdminService { | 30 | public interface SecurityAdminService { |
29 | 31 | ||
30 | /** | 32 | /** | ... | ... |
... | @@ -16,6 +16,7 @@ | ... | @@ -16,6 +16,7 @@ |
16 | 16 | ||
17 | package org.onosproject.security; | 17 | package org.onosproject.security; |
18 | 18 | ||
19 | +import com.google.common.annotations.Beta; | ||
19 | import org.onlab.osgi.DefaultServiceDirectory; | 20 | import org.onlab.osgi.DefaultServiceDirectory; |
20 | import org.onlab.osgi.ServiceDirectory; | 21 | import org.onlab.osgi.ServiceDirectory; |
21 | import org.onlab.osgi.ServiceNotFoundException; | 22 | import org.onlab.osgi.ServiceNotFoundException; |
... | @@ -24,6 +25,7 @@ import org.onosproject.core.ApplicationId; | ... | @@ -24,6 +25,7 @@ import org.onosproject.core.ApplicationId; |
24 | /** | 25 | /** |
25 | * Utility class to aid Security-Mode ONOS. | 26 | * Utility class to aid Security-Mode ONOS. |
26 | */ | 27 | */ |
28 | +@Beta | ||
27 | public final class SecurityUtil { | 29 | public final class SecurityUtil { |
28 | 30 | ||
29 | protected static ServiceDirectory serviceDirectory = new DefaultServiceDirectory(); | 31 | protected static ServiceDirectory serviceDirectory = new DefaultServiceDirectory(); | ... | ... |
... | @@ -16,9 +16,12 @@ | ... | @@ -16,9 +16,12 @@ |
16 | 16 | ||
17 | package org.onosproject.incubator.net.config.basics; | 17 | package org.onosproject.incubator.net.config.basics; |
18 | 18 | ||
19 | +import com.google.common.annotations.Beta; | ||
20 | + | ||
19 | /** | 21 | /** |
20 | * Signals that an error was encountered while reading/writing configuration. | 22 | * Signals that an error was encountered while reading/writing configuration. |
21 | */ | 23 | */ |
24 | +@Beta | ||
22 | public class ConfigException extends Exception { | 25 | public class ConfigException extends Exception { |
23 | 26 | ||
24 | /** | 27 | /** | ... | ... |
... | @@ -15,12 +15,14 @@ | ... | @@ -15,12 +15,14 @@ |
15 | */ | 15 | */ |
16 | package org.onosproject.incubator.net.config.basics; | 16 | package org.onosproject.incubator.net.config.basics; |
17 | 17 | ||
18 | +import com.google.common.annotations.Beta; | ||
18 | import org.onosproject.incubator.net.domain.IntentDomainId; | 19 | import org.onosproject.incubator.net.domain.IntentDomainId; |
19 | import org.onosproject.net.config.SubjectFactory; | 20 | import org.onosproject.net.config.SubjectFactory; |
20 | 21 | ||
21 | /** | 22 | /** |
22 | * Set of subject factories for potential configuration subjects. | 23 | * Set of subject factories for potential configuration subjects. |
23 | */ | 24 | */ |
25 | +@Beta | ||
24 | public final class ExtraSubjectFactories { | 26 | public final class ExtraSubjectFactories { |
25 | 27 | ||
26 | // Construction forbidden | 28 | // Construction forbidden | ... | ... |
... | @@ -17,6 +17,7 @@ | ... | @@ -17,6 +17,7 @@ |
17 | package org.onosproject.incubator.net.config.basics; | 17 | package org.onosproject.incubator.net.config.basics; |
18 | 18 | ||
19 | import com.fasterxml.jackson.databind.JsonNode; | 19 | import com.fasterxml.jackson.databind.JsonNode; |
20 | +import com.google.common.annotations.Beta; | ||
20 | import com.google.common.collect.Sets; | 21 | import com.google.common.collect.Sets; |
21 | import org.onlab.packet.MacAddress; | 22 | import org.onlab.packet.MacAddress; |
22 | import org.onlab.packet.VlanId; | 23 | import org.onlab.packet.VlanId; |
... | @@ -30,6 +31,7 @@ import java.util.Set; | ... | @@ -30,6 +31,7 @@ import java.util.Set; |
30 | /** | 31 | /** |
31 | * Configuration for interfaces. | 32 | * Configuration for interfaces. |
32 | */ | 33 | */ |
34 | +@Beta | ||
33 | public class InterfaceConfig extends Config<ConnectPoint> { | 35 | public class InterfaceConfig extends Config<ConnectPoint> { |
34 | public static final String IPS = "ips"; | 36 | public static final String IPS = "ips"; |
35 | public static final String MAC = "mac"; | 37 | public static final String MAC = "mac"; | ... | ... |
... | @@ -15,12 +15,14 @@ | ... | @@ -15,12 +15,14 @@ |
15 | */ | 15 | */ |
16 | package org.onosproject.incubator.net.domain; | 16 | package org.onosproject.incubator.net.domain; |
17 | 17 | ||
18 | +import com.google.common.annotations.Beta; | ||
18 | import org.onosproject.core.ApplicationId; | 19 | import org.onosproject.core.ApplicationId; |
19 | import org.onosproject.net.ConnectPoint; | 20 | import org.onosproject.net.ConnectPoint; |
20 | 21 | ||
21 | /** | 22 | /** |
22 | * Provides connectivity through a domain. | 23 | * Provides connectivity through a domain. |
23 | */ | 24 | */ |
25 | +@Beta | ||
24 | public class TunnelPrimitive extends IntentPrimitive { | 26 | public class TunnelPrimitive extends IntentPrimitive { |
25 | 27 | ||
26 | private final ConnectPoint one; | 28 | private final ConnectPoint one; | ... | ... |
... | @@ -15,6 +15,7 @@ | ... | @@ -15,6 +15,7 @@ |
15 | */ | 15 | */ |
16 | package org.onosproject.incubator.net.intf; | 16 | package org.onosproject.incubator.net.intf; |
17 | 17 | ||
18 | +import com.google.common.annotations.Beta; | ||
18 | import com.google.common.base.MoreObjects; | 19 | import com.google.common.base.MoreObjects; |
19 | import com.google.common.collect.Sets; | 20 | import com.google.common.collect.Sets; |
20 | import org.onlab.packet.MacAddress; | 21 | import org.onlab.packet.MacAddress; |
... | @@ -31,6 +32,7 @@ import static com.google.common.base.Preconditions.checkNotNull; | ... | @@ -31,6 +32,7 @@ import static com.google.common.base.Preconditions.checkNotNull; |
31 | * An Interface maps network configuration information (such as addresses and | 32 | * An Interface maps network configuration information (such as addresses and |
32 | * vlans) to a port in the network. | 33 | * vlans) to a port in the network. |
33 | */ | 34 | */ |
35 | +@Beta | ||
34 | public class Interface { | 36 | public class Interface { |
35 | private final ConnectPoint connectPoint; | 37 | private final ConnectPoint connectPoint; |
36 | private final Set<InterfaceIpAddress> ipAddresses; | 38 | private final Set<InterfaceIpAddress> ipAddresses; | ... | ... |
... | @@ -16,6 +16,7 @@ | ... | @@ -16,6 +16,7 @@ |
16 | 16 | ||
17 | package org.onosproject.incubator.net.intf; | 17 | package org.onosproject.incubator.net.intf; |
18 | 18 | ||
19 | +import com.google.common.annotations.Beta; | ||
19 | import org.onlab.packet.IpAddress; | 20 | import org.onlab.packet.IpAddress; |
20 | import org.onlab.packet.VlanId; | 21 | import org.onlab.packet.VlanId; |
21 | import org.onosproject.net.ConnectPoint; | 22 | import org.onosproject.net.ConnectPoint; |
... | @@ -25,6 +26,7 @@ import java.util.Set; | ... | @@ -25,6 +26,7 @@ import java.util.Set; |
25 | /** | 26 | /** |
26 | * Service for interacting with interfaces. | 27 | * Service for interacting with interfaces. |
27 | */ | 28 | */ |
29 | +@Beta | ||
28 | public interface InterfaceService { | 30 | public interface InterfaceService { |
29 | 31 | ||
30 | /** | 32 | /** | ... | ... |
... | @@ -16,12 +16,15 @@ | ... | @@ -16,12 +16,15 @@ |
16 | 16 | ||
17 | package org.onosproject.incubator.net.tunnel; | 17 | package org.onosproject.incubator.net.tunnel; |
18 | 18 | ||
19 | +import com.google.common.annotations.Beta; | ||
20 | + | ||
19 | import java.time.Duration; | 21 | import java.time.Duration; |
20 | import java.util.List; | 22 | import java.util.List; |
21 | 23 | ||
22 | /** | 24 | /** |
23 | * Default implementation of immutable tunnel statistics. | 25 | * Default implementation of immutable tunnel statistics. |
24 | */ | 26 | */ |
27 | +@Beta | ||
25 | public final class DefaultTunnelStatistics implements TunnelStatistics { | 28 | public final class DefaultTunnelStatistics implements TunnelStatistics { |
26 | private final TunnelId tunnelId; | 29 | private final TunnelId tunnelId; |
27 | private final double bwUtilization; | 30 | private final double bwUtilization; | ... | ... |
... | @@ -16,6 +16,7 @@ | ... | @@ -16,6 +16,7 @@ |
16 | package org.onosproject.incubator.net.tunnel; | 16 | package org.onosproject.incubator.net.tunnel; |
17 | 17 | ||
18 | 18 | ||
19 | +import com.google.common.annotations.Beta; | ||
19 | import org.onosproject.ui.table.CellFormatter; | 20 | import org.onosproject.ui.table.CellFormatter; |
20 | import org.onosproject.ui.table.cell.AbstractCellFormatter; | 21 | import org.onosproject.ui.table.cell.AbstractCellFormatter; |
21 | 22 | ||
... | @@ -23,6 +24,7 @@ import org.onosproject.ui.table.cell.AbstractCellFormatter; | ... | @@ -23,6 +24,7 @@ import org.onosproject.ui.table.cell.AbstractCellFormatter; |
23 | * Formats a optical tunnel endpoint as "(type)/(element-id)/(port)". | 24 | * Formats a optical tunnel endpoint as "(type)/(element-id)/(port)". |
24 | * Formats a ip tunnel endpoint as "ip". | 25 | * Formats a ip tunnel endpoint as "ip". |
25 | */ | 26 | */ |
27 | +@Beta | ||
26 | public final class TunnelEndPointFormatter extends AbstractCellFormatter { | 28 | public final class TunnelEndPointFormatter extends AbstractCellFormatter { |
27 | //non-instantiable | 29 | //non-instantiable |
28 | private TunnelEndPointFormatter() { | 30 | private TunnelEndPointFormatter() { | ... | ... |
... | @@ -16,12 +16,15 @@ | ... | @@ -16,12 +16,15 @@ |
16 | 16 | ||
17 | package org.onosproject.incubator.net.tunnel; | 17 | package org.onosproject.incubator.net.tunnel; |
18 | 18 | ||
19 | +import com.google.common.annotations.Beta; | ||
20 | + | ||
19 | import java.time.Duration; | 21 | import java.time.Duration; |
20 | import java.util.List; | 22 | import java.util.List; |
21 | 23 | ||
22 | /** | 24 | /** |
23 | * Statistics of a tunnel. | 25 | * Statistics of a tunnel. |
24 | */ | 26 | */ |
27 | +@Beta | ||
25 | public interface TunnelStatistics { | 28 | public interface TunnelStatistics { |
26 | 29 | ||
27 | /** | 30 | /** | ... | ... |
-
Please register or login to post a comment