-
Notifications
You must be signed in to change notification settings - Fork 97
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
Add module for mgmt:OOB to contract binding (mgmtRsOoBProv) (DCNE-212) #696
Conversation
black formatting failed, please format code with black |
Hi @edudppaz, I think we should make a decision here before we proceed with review. Currently in the collection we have the module aci_node_mgmt_epg to configure in-band and out-of-band mgmt EPGs. I think there are 2 ways we can proceed to expose the contract functionality.
My personal preference would be option 1 since this is then in line with the current module structure. What is your thought on this? I had a meeting with the PR raiser of #658. Adjustments can be made from that side to conform with option 2. He is in parallel also working on a aci_oob_contract module (nearing completion, just requires documentation updates). @shrsr, @samiib, @sajagana, @anvitha-jain, @gmicol, @lhercot what are your your thoughts? |
Hi :) both options work for me , so its ok. I did this one as i saw the other PR have not been changed since 5 months ago, and the code was focused on the in-band side but nothing with oob, as it is using variables as contract_types, priority, etc that are not needed for the epg to contract binding, only for the contract itself. The in-band EPG is more a "normal" epg (with a bridge-domain, provided/consumed) etc than the out-of-band, so if the contract binding will be kept in a single module , as you say, we need to split the whole logic with an "if" matching the epg type. Maybe we can just join both PRs in a single one and reuse the oob code here and the in-band code from Ziaf |
Hi @akinross, Option 1 will be good. |
I can work on getting this done. Already have modules ready for inband and OOB, need to join them in one module now. |
Great @Ziaf007 then this PR can be closed :) |
@akinross I would go with option 1. |
I have a preference for option 1 @akinross. It's more consistent with the way we build modules. |
Option 1 is chosen, closing this PR. Follow #658 for progress. |
Community Note
Description
Adds a new module for binding of out-of-band EPG to a provided contract. As the
aci_epg_to_contract
does not apply to OOB epgsNew or Affected Module(s):
APIC version and APIC Platform
Tested on:
Collection versions
References