replace portmapping FNV1-128 by FNV1-64 + Base64
[transportpce.git] / tests / transportpce_tests / 2.2.1 / test_otn_renderer.py
index 6b72ede018d2b7c99801ee97e56b4ad3b9cf4206..2644439c5835416be151d9bb35fbe4af778fb9cc 100644 (file)
@@ -9,16 +9,10 @@
 # http://www.apache.org/licenses/LICENSE-2.0
 ##############################################################################
 
+import unittest
 import json
-import os
-import psutil
-import requests
-import signal
-import shutil
-import subprocess
 import time
-import unittest
-import logging
+import requests
 from common import test_utils
 
 
@@ -78,7 +72,7 @@ class TransportPCEtesting(unittest.TestCase):
              'logical-connection-point': 'XPDR1-CLIENT1',
              'port-direction': 'bidirectional',
              'port-qual': 'xpdr-client',
-             'lcp-hash-val': '8b3efff522736722500b5e68fb6e696e'},
+             'lcp-hash-val': 'AIg960BwzGKe'},
             res['mapping'])
 
     def test_03_get_portmapping_NETWORK1(self):
@@ -99,7 +93,7 @@ class TransportPCEtesting(unittest.TestCase):
                 "port-qual": "xpdr-network",
                 "supporting-circuit-pack-name": "CP1-CFP0",
                 "xponder-type": "mpdr",
-             'lcp-hash-val': '1021db8d2affe7386705c438c67ea21f'},
+             'lcp-hash-val': 'AM7VlW5NpPm3'},
             res['mapping'])
 
     def test_04_service_path_create_OCH_OTU4(self):
@@ -143,7 +137,7 @@ class TransportPCEtesting(unittest.TestCase):
                 "port-qual": "xpdr-network",
                 "supporting-circuit-pack-name": "CP1-CFP0",
                 "xponder-type": "mpdr",
-                "lcp-hash-val": "1021db8d2affe7386705c438c67ea21f"},
+                "lcp-hash-val": "AM7VlW5NpPm3"},
             res['mapping'])
 
     def test_06_check_interface_och(self):
@@ -251,7 +245,7 @@ class TransportPCEtesting(unittest.TestCase):
                 "supporting-circuit-pack-name": "CP1-CFP0",
                 "xponder-type": "mpdr",
                 "supporting-odu4": "XPDR1-NETWORK1-ODU4",
-                "lcp-hash-val": "1021db8d2affe7386705c438c67ea21f"
+                "lcp-hash-val": "AM7VlW5NpPm3"
              },
             res['mapping'])