dfex / lattice Goto Github PK
View Code? Open in Web Editor NEWJunos configuration tool
Junos configuration tool
SSH Keys would be ideal, however we'll most likely be using the EOS REST API, and will need to store credentials in a reversible format.
Yeah, I know, unit tests should come first!
This project was only every going to be a toy : P
Use standardised templates, populate with variables and merge into configuration, if this makes sense in a multi-vendor environment.
Hi,
I have two functions in python process accessing same database at the same time, which gives database lock error. I need to get the return status of self.table.update(values=values_dict).execute() function call to see the status of update and need to add some mechanism to avoid continuous database lock condition.
Please share your views to implement the error check mechanisms for sqlalchemy API.
There is no logic for checking that a single sub-interface is bound to a specific port.
Multiple sub-interfaces with the same sub_interface_unit should be allowed, as long as the derived Port_ID is unique.
Re-visit db schema and adjust functions to match - eg: referencing via PKs (IDs), only required/relevant fields for functions, and map to end-user operational flow (more tables, rigour around NOT NULL requirements)
Confirm ELS and EX interface templates to apply to multiple services (eg: EX won't require sub-interface - either add to port, or add port to VLAN) - build j2 templates for each
Add functionality to add and delete all system elements (Locations, Nodes, Ports, Sub-Interfaces, Services, Customers, Users) - ensure deletion of parent removes all child entities
Pave the way for loading in a vendor/device-specific configuration template based on the service-type requested.
Add in logic to ensure that the derived PortID that is referenced in sub-interface creation still exists in PortTable
Process is as follows:
Hi,
Is there best alternative available for sqlalchemy library for python?
Please share your views/inputs on implementing database engine on python using sqlite libraries.
Update functions, modules and classes with DocStrings, DocTests (where relevant) and Wiki Documentation (as well as README.md update).
Show end-to-end node creation, database population and configuration application
Refactor lattice.py so that we're parsing CLI commands, building objects and passing them to functions
When we add ports to db, we have no context that includes the node the ports were read from (so we can't populate the NodeID column).
Need to re-work code so that ports are added with the node being added (somewhere deeper than the main program)
This is going to cause problems when indexes roll over 9 objects - eg: '10' will be seen as '1'
Add functions to write out from db to device configuration via j2 templates or just the required RPC calls?
Build a quick example to update Interface Descriptions with Port Owner when they are imported into PortTable
Add in RESTful hooks in parallel to all CLI Arguments in preparation for migration to WebApp
Make db more pythonic, rather than modifying direct SQL statements
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.