Comments (5)
@jtaleric thank you for the suggestions, we're always welcome to improvements in design and structure. We'll chip away at this, possibly breaking them up into smaller pieces (we want to avoid large changesets for obvious reasons).
from quads.
Sounds good will, please keep this issue updated so I can track it here. I will discuss further ideas with @kambiz-aghaiepour.
from quads.
@kambiz-aghaiepour Furthermore, I would break out the expect script https://github.com/redhat-performance/quads/blob/master/bin/juniper-set-port.exp and convert that to pyexpect. Also, I would use the same methodology above for this.
Ie create a networking.py, and then a juniper.py which inherits networking.py.
from quads.
I would also recommend moving the code base into a lib/ instead of bin/ -- You can create a bin/quads.py that imports the quads lib, imports the config and executes the main method.
This part is completed. We are keeping this open and are chipping away at it.
from quads.
A lot of things have changed since this was last filed, I don't think it's relevant any longer and most of the ideas behind this have been implemented.
I think a better place to watch the more pythonic enhancements is going to be these RFE here:
Above, we're going to see a full move from a legacy API built around SimpleHTTPServer and a move into CherryPy.
We'll also see a new API that's fully RESTful put in place and lastly a move away from manipulating locking, reads and writes of flat files into a proper ODM with mongo documents.
from quads.
Related Issues (20)
- [RFE] Safeguard from defining two hosts with the same data
- If ssh during kickstart is enabled, validate mistakes the kickstart as complete
- [RFE] Split quads-cli and quads-server into separate code/packages
- [RFE] Replace QUADS Badfish with Upstream Repository
- [RFE] Simplify / Extend Server Name Support HOT 1
- [RFE] Implement quads-cli --setup for interactive setup of /opt/quads/conf/quads.yml HOT 1
- [RFE] Make all core services quads-cli sub-commands HOT 1
- [RFE] Replace Apache with Nginx in QUADS 2.0 HOT 2
- [RFE] Make quads-web talk directly to API, use separate Flask wsgi/process HOT 1
- [RFE] Achieve 70% Unit Testing Coverage for QUADS 2.0 HOT 2
- [RFE] Create Python Requests Mock Testing for Foreman API HOT 1
- [RFE] More Useful Logging Return for VSC
- [RFE] Add Host Metadata for GPU
- [RFE] Perform a BIOS bootmode check and set to preferred mode during M&R
- [RFE] Implement host metadata model for /dev/disk/by-path HOT 9
- [RFE] Remove Unused pre-2.0 values
- [RFE] Unified Documentation Update for 2.0.0 HOT 1
- cloud-only with date sometimes returns current set of hosts in cloud, if no schedules match the date given HOT 1
- Test issue for JIRA sync
- [RFE] RPM spec Release macro
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from quads.