Skip to content
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

mso_schema_site should accept a list of templates to assign to the site (DCNE-100) #50

Open
adealdag opened this issue Sep 10, 2021 · 0 comments
Labels
enhancement New feature or request jira-sync Sync this issue to Jira

Comments

@adealdag
Copy link

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Description

With the current implementation of mso_schema_site, if a site has associated multiple templates, multiple resources are needed.

User experience would be much better and much similar to the experience the UI offer if template_name accepts a list of template names and assign all of them at the same time

New or Affected Resource(s) + MSO Class(es):

  • mso_schema_site (resource)

MSO version

  • V 3.4(1a) running on top of ND Version 2.0(2h)

APIC version and APIC Platform for Site level Resources

  • V 5.2.2f, APIC on-prem

Potential Terraform Configuration

Current configuration needed

resource "mso_schema_site" "schema_site_1_tpl1" {
  schema_id       =  mso_schema.ms_prod.id
  site_id         =  local.site1
  template_name   =  mso_schema_template.ms_prod_stretched.id
}

resource "mso_schema_site" "schema_site_1_tpl2" {
  schema_id       =  mso_schema.ms_prod.id
  site_id         =  local.site1
  template_name   =  mso_schema_template.ms_prod_site1_only.id
}

Suggested configuration

resource "mso_schema_site" "schema_site_1" {
  schema_id       =  mso_schema.ms_prod.id
  site_id         =  local.site1
  template_name   =  [mso_schema_template.ms_prod_stretched.id, mso_schema_template.ms_prod_site1_only.id]
}

References

  • #0000
@adealdag adealdag added the enhancement New feature or request label Sep 10, 2021
@samiib samiib added the jira-sync Sync this issue to Jira label Aug 14, 2024
@github-actions github-actions bot changed the title mso_schema_site should accept a list of templates to assign to the site mso_schema_site should accept a list of templates to assign to the site (DCNE-100) Aug 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request jira-sync Sync this issue to Jira
Projects
None yet
Development

No branches or pull requests

2 participants