[SDFAB-90] Implement priority mechanism in the Policy framework.
Change-Id: I738956566bfcf1bd5e2d4fcd9bfef153b5fb674a
diff --git a/web/src/main/resources/definitions/TrafficMatchCreate.json b/web/src/main/resources/definitions/TrafficMatchCreate.json
index 3ab1022..f901e33 100644
--- a/web/src/main/resources/definitions/TrafficMatchCreate.json
+++ b/web/src/main/resources/definitions/TrafficMatchCreate.json
@@ -3,6 +3,7 @@
"title": "traffic-match-creation",
"required": [
"policy_id",
+ "priority",
"selector"
],
"properties": {
@@ -11,6 +12,11 @@
"example": "DROP",
"description": "ID of associated policy"
},
+ "priority": {
+ "type": "int",
+ "example": "60000",
+ "description": "Priority of the TrafficMatch"
+ },
"selector": {
"type": "object",
"title": "selector",