Bump pre-commit black to 22.1.0
[integration/test.git] / tools / odl-lispflowmapping-performance-tests / create_lisp_control_plane_pcap.py
index 00ed0e70f57c6fd059877fd2947d05977a200edf..30a01b0b67d15c1db2a9aa30fa6369d4659a6f7b 100755 (executable)
@@ -58,7 +58,7 @@ def generate_map_request(eid):
     """
     sport1 = random.randint(60000, 65000)
     sport2 = random.randint(60000, 65000)
-    rnonce = random.randint(0, 2 ** 63)
+    rnonce = random.randint(0, 2**63)
 
     itr_rloc = [lisp.LISP_AFI_Address(address=src_rloc, afi=1)]
     record = [
@@ -92,7 +92,7 @@ def generate_map_register(eid, rloc, key_id):
         :return : returns a Scapy Map-Request packet object
     """
     sport1 = random.randint(60000, 65000)
-    rnonce = random.randint(0, 2 ** 63)
+    rnonce = random.randint(0, 2**63)
 
     rlocs = [
         lisp.LISP_Locator_Record(