russellkelly / bgpflowspecpolicymanager Goto Github PK
View Code? Open in Web Editor NEWA Python Tkinter app that uses sFlow-RT and Exabgp to manage and program BGP Flowspec rules on edge routers
A Python Tkinter app that uses sFlow-RT and Exabgp to manage and program BGP Flowspec rules on edge routers
Hey Russell!
Something suddenly caused this code to break recently, maybe a python2 or tkinter change.
I commented out line 1318 and 1433, and it seems to be happy.
BGPFlowspecPolicyManager/FlowspecPolicyManager.py
Line 1318 in c6241de
BGPFlowspecPolicyManager/FlowspecPolicyManager.py
Line 1433 in c6241de
The traceback seen when running BGPFlowspecPolicyManager.py:
Traceback (most recent call last):
File "FlowspecPolicyManager.py", line 3438, in <module>
gui = FlowspecGUI(root, SflowQueue,FlowRouteQueueForQuit,FlowRouteQueue,UpdatePolicyQueue,SignalResetQueue)
File "FlowspecPolicyManager.py", line 1194, in __init__
self.createWidgets(BG0, BG1)
File "FlowspecPolicyManager.py", line 1433, in createWidgets
ProgrammedPolicyLabel.pack()
File "/usr/lib64/python2.7/lib-tk/Tkinter.py", line 1951, in pack_configure
+ self._options(cnf, kw))
_tkinter.TclError: cannot use geometry manager pack inside .140246952039200.140246952039416.140246952040064.140246952040568 which already has slaves managed by grid
Python 2.7.16
package:
Name : python2-tkinter
Version : 2.7.16
Release : 12.module_el8.1.0+219+cf9e6ac9
In line 75 it says remote_as
instead of remote-as
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.