Giter Club home page Giter Club logo

lattice's People

Contributors

dfex avatar

Watchers

 avatar  avatar

lattice's Issues

Build user/pass storage into db

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.

Sqlalchemy self.table.update().execute() function return status

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.

duplicate sub-interface to port mappings

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-design DB schema

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)

Build EX and ELS J2 configuration templates

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

Allow service definition

  • Create a "service" between two nodes that is either:
    • an 802.1q tagged or untagged VLAN
    • an 802.1ad double-tagged VLAN will an all-to-one mapping of CVLANs
    • an 802.1ad double-tagged VLAN with one-to-one mapping of individual CVLANs

Process is as follows:

  • Create a J2 template for service type
  • Provide a cli argument for each service type along with any required parameters
  • Add entry into lattice db
  • Push configuration out to referenced nodes and commit

alternative libraries for sqlalchemy

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.

Documentation

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

Move port additions into node context

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.