Skip to content

NAC playbook failed with message: Invalid BOOTSTRAP_MULTISUBNET format #778

@skaszlik

Description

@skaszlik

Ansible Version

ansible [core 2.16.3]

Ansible Collection Versions

Collection         Version   
------------------ ----------
ansible.netcommon  7.1.0     
ansible.posix      2.0.0     
ansible.utils      5.1.2     
cisco.dcnm         3.11.0-dev
cisco.nac_dc_vxlan 0.7.1-dev 
community.general  10.1.0

Cisco Nexus Dashboard Version

ND 4.2

Cisco NX-OS Version

Which role is this issue related to?

cisco.nac_dc_vxlan.dtc.create

Which section of the data model is this issue related to?

vxlan.global

Expected Behavior

Actual Behavior

Ansible Playbook

follow data model

Data Model

vxlan:
  global:
    ibgp:
        dhcp_v4:
          scope_start_address: 10.10.50.10
          scope_end_address: 10.10.50.100
          switch_mgmt_default_gw: 10.10.50.1
          mgmt_prefix: 24
          multi_subnet_scope: "10.10.51.10-10.10.51.50"

Steps to Reproduce

.

Relevant Debug Output

"Invalid JSON response: Invalid BOOTSTRAP_MULTISUBNET format: 10.10.51.10-10.10.51.50"
#            "Request failed. Failed to update the fabric: Gateway/s should not be repeated for following Start/End IP or Multisubnet DHCP Scopes {10.10.51.10,10.10.51.50,10.10.50.1,24},{10.10.50.10,10.10.50.100,10.10.50.1,24}.
# Please make sure to use unique gateways"

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions