From 34f4f7e9c0c7c84a0645dc9e7d829a895d363415 Mon Sep 17 00:00:00 2001 From: Tomas Cechvala Date: Tue, 14 Apr 2015 17:54:13 -0700 Subject: [PATCH] Parameter of classifiers changed in POC parameter 'type' of string value changed to parameter 'proto' of int value. Signed-off-by: Tomas Cechvala --- util/testOfOverlay/odl_gbp.py | 8 ++++---- util/use-cases/2-client-1-provider/policy_config.py | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/util/testOfOverlay/odl_gbp.py b/util/testOfOverlay/odl_gbp.py index 7de93d48e..8b87c46b5 100644 --- a/util/testOfOverlay/odl_gbp.py +++ b/util/testOfOverlay/odl_gbp.py @@ -43,16 +43,16 @@ def get_tenant(tenantId): {"name": "http-dest", "classifier-definition-id": "4250ab32-e8b8-445a-aebb-e1bd2cdd291f", "parameter-value": [ - {"name": "type", - "string-value": "TCP"}, + {"name": "proto", + "int-value": "6"}, {"name": "destport", "int-value": "80"} ]}, {"name": "http-src", "classifier-definition-id": "4250ab32-e8b8-445a-aebb-e1bd2cdd291f", "parameter-value": [ - {"name": "type", - "string-value": "TCP"}, + {"name": "proto", + "int-value": "6"}, {"name": "sourceport", "int-value": "80"} ]}, diff --git a/util/use-cases/2-client-1-provider/policy_config.py b/util/use-cases/2-client-1-provider/policy_config.py index e80636357..b56cb7ebe 100644 --- a/util/use-cases/2-client-1-provider/policy_config.py +++ b/util/use-cases/2-client-1-provider/policy_config.py @@ -10,16 +10,16 @@ tenants = [ {'name': 'http-dest', 'classifier-definition-id': '4250ab32-e8b8-445a-aebb-e1bd2cdd291f', 'parameter-value': [ - {'name': 'type', - 'string-value': 'TCP'}, + {"name": "proto", + "int-value": "6"}, {'name': 'destport', 'int-value': '80'} ]}, {'name': 'http-src', 'classifier-definition-id': '4250ab32-e8b8-445a-aebb-e1bd2cdd291f', 'parameter-value': [ - {'name': 'type', - 'string-value': 'TCP'}, + {"name": "proto", + "int-value": "6"}, {'name': 'sourceport', 'int-value': '80'} ]}, -- 2.36.6