Comments (4)
Update:
I think ansible is sending the following in the data field of the POST request (which is built from .ansible/collections/ansible_collections/cisco/dcnm/plugins/modules/dcnm_interface.py):
{
"policy": "int_loopback_11_1",
"interfaces": [
{"interfaceType": "INTERFACE_LOOPBACK",
"nvPairs": {
"ROUTE_MAP_TAG": "",
"CONF": "no shutdown",
"IP": "99.99.99.99",
"V6IP": "",
"INTF_VRF": "",
"ADMIN_STATE": "true",
"INTF_NAME": "Loopback95",
"DESC": "loopback interface 95 configuration"
},
"ifName": "Loopback95",
"serialNumber": "SDDSFOSEF4",
"fabricName": "my-fabric"}
],
"skipResourceCheck": "true"
}
From the latest DCNM API documentation, what is should look like is:
{
"policy": "int_loopback_11_1",
"interfaceType": "INTERFACE_LOOPBACK",
"interfaces": [
{
"serialNumber": "SDDSFOSEF4",
"ifName": "Loopback95",
"nvPairs": {
"ROUTE_MAP_TAG": "",
"CONF": "no shutdown",
"IP": "99.99.99.99",
"V6IP": "",
"INTF_VRF": "",
"ADMIN_STATE": "true",
"INTF_NAME": "Loopback95",
"DESC": "loopback interface 95 configuration"
}
}
]
}
from ansible-dcnm.
resolved in develop branch...
from ansible-dcnm.
@Tessier-Ashp001 Thanks for opening this issue. Just for clarification, were you testing with the latest release version from Ansible galaxy but then discovered that this is resolved in the develop
branch?
from ansible-dcnm.
Hi @mikewiebe That's it exactly. Ansible Galaxy gave me the 1.0.0 version I think, which looks to be from last September. So I just reinstalled the collection specifying the develop branch this time. It's working fine now.
Thanks!
from ansible-dcnm.
Related Issues (20)
- Configure cisco.dcnm.dcnm_interface with vpc mode HOT 2
- dcnm_vrf should attach the vrf to switches when deploy is false HOT 1
- dcnm_network should attach the network to switches without deploying when deploy=false HOT 1
- module error when deploy second vrf using state=overridden HOT 1
- dcnm_link error when trying to modify the auto-discovered link HOT 3
- support `save` and `deploy` option on dcnm_inventory module
- can't create a vrf in NDFC HOT 2
- NDFC Support for login Domain HOT 1
- task failed when re-run with same configuration HOT 1
- support secondary_ip of loopback interface
- support `int_fabric_loopback_11_1` type of interface
- support two new types of link template `ext_vxlan_mpls_overlay_setup` and `ext_vxlan_mpls_underlay_setup`
- Please DON'T use version 9.50.60 HOT 1
- support MPLS extension when attach the vrf to the border
- Support attach network to TOR switches and interfaces
- dcnm_image_upload module
- dcnm_image_policy HOT 1
- dcnm_image_upgrade HOT 1
- dcnm_maintenance
- dcnm_switch_bootflash
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ansible-dcnm.