summaryrefslogtreecommitdiffstats
path: root/app/test/event_based_scan/test_interface_add.py
diff options
context:
space:
mode:
authorKoren Lev <korenlev@gmail.com>2017-09-29 01:38:18 +0300
committerYaron Yogev <yaronyogev@gmail.com>2017-10-03 09:46:58 +0000
commitd0adff06bed72f9a0edd7adccfa6a1111784bc8b (patch)
tree4b5eaf1107e6973b1eac636309a99c83074acbfc /app/test/event_based_scan/test_interface_add.py
parentfbbaf20912c79bd99a5c3696850d70c11965f56b (diff)
release 1.0 calipso for opnfv apex
Change-Id: I3e63cd27c5f4d3756e67a07c749863a68e84dde2 Signed-off-by: Koren Lev <korenlev@gmail.com> (cherry picked from commit d32f75145676bacefde0d08a14680a5984623451)
Diffstat (limited to 'app/test/event_based_scan/test_interface_add.py')
-rw-r--r--app/test/event_based_scan/test_interface_add.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/test/event_based_scan/test_interface_add.py b/app/test/event_based_scan/test_interface_add.py
index 04a1982..542f84e 100644
--- a/app/test/event_based_scan/test_interface_add.py
+++ b/app/test/event_based_scan/test_interface_add.py
@@ -25,7 +25,7 @@ class TestInterfaceAdd(TestEvent):
def get_by_id(self, env, object_id):
interface = self.values["payload"]["router_interface"]
host_id = self.values["publisher_id"].replace("network.", "", 1)
- router_id = encode_router_id(host_id, interface['id'])
+ router_id = encode_router_id(interface['id'])
if object_id == host_id:
return HOST