OSGi property annotations for forwarding app
Change-Id: I3e4fa79e42edb232b141559823545494d117c4bf
diff --git a/apps/fwd/src/main/java/org/onosproject/fwd/OsgiPropertyConstants.java b/apps/fwd/src/main/java/org/onosproject/fwd/OsgiPropertyConstants.java
new file mode 100644
index 0000000..e4c795a
--- /dev/null
+++ b/apps/fwd/src/main/java/org/onosproject/fwd/OsgiPropertyConstants.java
@@ -0,0 +1,67 @@
+/*
+ * Copyright 2018-present Open Networking Foundation
+ *
+ * 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.
+ */
+
+package org.onosproject.fwd;
+
+public final class OsgiPropertyConstants {
+ private OsgiPropertyConstants() {
+ }
+
+ static final String PACKET_OUT_ONLY = "packetOutOnly";
+ static final boolean PACKET_OUT_ONLY_DEFAULT = false;
+
+ static final String PACKET_OUT_OFPP_TABLE = "packetOutOfppTable";
+ static final boolean PACKET_OUT_OFPP_TABLE_DEFAULT = false;
+
+ static final String FLOW_TIMEOUT = "flowTimeout";
+ static final int FLOW_TIMEOUT_DEFAULT = 10;
+
+ static final String FLOW_PRIORITY = "flowPriority";
+ static final int FLOW_PRIORITY_DEFAULT = 10;
+
+ static final String IPV6_FORWARDING = "ipv6Forwarding";
+ static final boolean IPV6_FORWARDING_DEFAULT = false;
+
+ static final String MATCH_DST_MAC_ONLY = "matchDstMacOnly";
+ static final boolean MATCH_DST_MAC_ONLY_DEFAULT = false;
+
+ static final String MATCH_VLAN_ID = "matchVlanId";
+ static final boolean MATCH_VLAN_ID_DEFAULT = false;
+
+ static final String MATCH_IPV4_ADDRESS = "matchIpv4Address";
+ static final boolean MATCH_IPV4_ADDRESS_DEFAULT = false;
+
+ static final String MATCH_IPV4_DSCP = "matchIpv4Dscp";
+ static final boolean MATCH_IPV4_DSCP_DEFAULT = false;
+
+ static final String MATCH_IPV6_ADDRESS = "matchIpv6Address";
+ static final boolean MATCH_IPV6_ADDRESS_DEFAULT = false;
+
+ static final String MATCH_IPV6_FLOW_LABEL = "matchIpv6FlowLabel";
+ static final boolean MATCH_IPV6_FLOW_LABEL_DEFAULT = false;
+
+ static final String MATCH_TCP_UDP_PORTS = "matchTcpUdpPorts";
+ static final boolean MATCH_TCP_UDP_PORTS_DEFAULT = false;
+
+ static final String MATCH_ICMP_FIELDS = "matchIcmpFields";
+ static final boolean MATCH_ICMP_FIELDS_DEFAULT = false;
+
+ static final String IGNORE_IPV4_MCAST_PACKETS = "ignoreIPv4Multicast";
+ static final boolean IGNORE_IPV4_MCAST_PACKETS_DEFAULT = false;
+
+ static final String RECORD_METRICS = "recordMetrics";
+ static final boolean RECORD_METRICS_DEFAULT = false;
+}