-
Notifications
You must be signed in to change notification settings - Fork 36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RFE: Support other switches besides Juniper. #46
Comments
I had originally thought to do just that. The current switch mappings are not in the yaml but moving them back is not out of scope. I will have to consider where all the dependencies are though (e.g. wiki regeneration and instackenv.json file generation). |
Adding to this, the mappings are done in a way that it doesn't matter anyway what the switch technology is - only that the port mappings are accurate. For example:
The xe-* could easily be named something different above. Also of note is we have a stub field called One future enhancement we've discussed that I'd really like to see is a kind of discovery tool that you can point towards a switch with adequate credentials and it will generate your |
They are not hard-coded for any kind of switch technology, Juniper just happens to use It currently works with Juniper simply because we only have Juniper switches. If we had Cisco, Force10 or anything else it would also work. The key here is that each ports file is specific to only one host not a switch type so it can be updated to reflect what it's currently plugged into (even if it plugs into different switch types per port). Because each machine has it's own Knowing what Force10 uses an equivalent server connected to a Force10 switch might look like this for that host.
In order to support other switch types we'd just need to populate the We have a stub here where we'd start to do this when we need to support other vendors (or more importantly when we have equipment we can test against). https://github.com/redhat-performance/quads/blob/master/bin/move-and-rebuild-host.sh#L232 |
As we make further improvements to QUADS and possible have a base Networking Class that is inherited by classes specific to vendors like Juniper.py, Cisco.py as some of the other issues point out, it would be helpful to have a YAML file where we define the switch port to machine mappings that is consumed by QUADS to operate in a Lab Agnostic fashion when making switch config changes. This would make QUADS readily portable to BAGL.
The text was updated successfully, but these errors were encountered: