ONOS-7000 P4 tutorial application and P4 program
Change-Id: Ia0a6befa6374a1950485c1fba0cfacb5ff4ce52c
diff --git a/apps/p4-tutorial/icmpdropper/BUCK b/apps/p4-tutorial/icmpdropper/BUCK
new file mode 100644
index 0000000..026827d
--- /dev/null
+++ b/apps/p4-tutorial/icmpdropper/BUCK
@@ -0,0 +1,25 @@
+COMPILE_DEPS = [
+ '//lib:CORE_DEPS',
+ '//apps/p4-tutorial/pipeconf:onos-apps-p4-tutorial-pipeconf',
+]
+
+osgi_jar (
+ deps = COMPILE_DEPS,
+)
+
+BUNDLES = [
+ '//apps/p4-tutorial/icmpdropper:onos-apps-p4-tutorial-icmpdropper',
+]
+
+onos_app (
+ app_name = 'org.onosproject.p4tutorial.icmpdropper',
+ title = 'ICMP Dropper (P4 Tutorial)',
+ category = 'Security',
+ url = 'http://onosproject.org',
+ description = 'Inhibits forwarding of ICMP packets for PI-enabled devices using the ' +
+ 'p4-tutorial-pipeconf.',
+ included_bundles = BUNDLES,
+ required_apps = [
+ 'org.onosproject.p4tutorial.pipeconf',
+ ]
+)