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

Resource to configure a Fabric #113

Open
jgomezve opened this issue Nov 29, 2022 · 1 comment · May be fixed by #124
Open

Resource to configure a Fabric #113

jgomezve opened this issue Nov 29, 2022 · 1 comment · May be fixed by #124
Labels
enhancement New feature or request

Comments

@jgomezve
Copy link

jgomezve commented Nov 29, 2022

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

Resource that manages the Fabric endpoint /appcenter/cisco/ndfc/api/v1/lan-fabric/rest/control/fabrics. It should be able to create, update and delete a Fabric based on a template

New or Affected Resource(s):

  • dcnm_fabirc

DCNM version

  • V 12.1.1e

Potential Terraform Configuration

resource "dcnm_fabric" "my_fabric" {
  name          = "MyFabric"
  template_name = "Easy_Fabric"
  template_props = {
    "FABRIC_NAME" : "MyFabric",
    "BGP_AS" : "6500",
    "RR_COUNT" : "2",
    "ANYCAST_GW_MAC" : "2020.0000.00aa",
    "PM_ENABLE" : "false",
    "L2_SEGMENT_ID_RANGE" : "30000-49000",
    "L3_PARTITION_ID_RANGE" : "50000-59000",
    "NETWORK_VLAN_RANGE" : "2300-2999",
    "VRF_VLAN_RANGE" : "2000-2299",
  }
}
@jgomezve jgomezve added the enhancement New feature or request label Nov 29, 2022
@jgomezve
Copy link
Author

jgomezve commented Nov 29, 2022

If I am not mistaken the Fabric endpoint supports all the CRUD operations. It is still open if upon Fabric deletion we should delete any switch associated with the Fabric.

As this resource requires an additional data struct I will create the respective PR in the Repo https://github.com/ciscoecosystem/dcnm-go-client.

You can reach out to me internally in Cisco Webex :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
1 participant