- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
IPv6 API for create/delete fixaddress, network and network container
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-28-2020 07:58 PM
Re: IPv6 API for create/delete fixaddress, network and network container
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-28-2020 11:02 PM
successful to create network and container based on below,but not ipv6addr
########################################
Create newtowrk v6 with EA
########################################
POST
https://172.28.0.82/wapi/v2.7/ipv6network?_return_fields%2B=network,extattrs&_return_as_object=1
{"network": "2001:c10:80:2::958/126","network_view":"Lab View","extattrs":{"Services":{"value":"Metro"},"IP Owner":{"value":"James Bond"}}}
########################################
Create newtwork container v6 with EA
########################################
POST
https://172.28.0.82/wapi/v2.7/ipv6networkcontainer?_return_fields%2B=network,extattrs&_return_as_obj...
{"network": "2001:d08::/32","network_view":"Lab View","extattrs":{"Services":{"value":"MetroE"},"Application Name":{"value":"FTTx services"},"Requestor Name":{"value":"Steve"},"IP Owner":{"value":"James Bond"}}}
while i try to delete the network above , below error pop up:
Re: IPv6 API for create/delete fixaddress, network and network container
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-29-2020 05:46 AM
The URL with the ref contains a space, try replacing the space with a percent-20 "%20" instead to escape the space.
Re: IPv6 API for create/delete fixaddress, network and network container
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-29-2020 10:23 AM
Hi,
The reference you are using seems to be wrong. There should be no "network" preceding the ipv6network:
network/ipv6network/ZG5zLm5ldHdvcmskMjAwMTpjMTA6ODA6Mjo6OTU4LzEyNi8z:2001:c10:80:2::958/126/Lab View
Please verify.
Also, to create a IPv6 fixed address, you need to use the ipv6fixedaddress endpoint like below:
curl -k -u admin:infoblox -H 'content-type: application/json' -X POST "https://grid-master/wapi/v2.11/ipv6fixedaddress?_return_fields%2B=ipv6addr,duid&_return_as_object=1" -d '{"ipv6addr":"2001:0db8:85a3:0000:0000:8a2e:0370:7334","duid":"00:02:00:01:02:03:04:05:07:a0"}'
Re: IPv6 API for create/delete fixaddress, network and network container
[ Edited ]- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-30-2020 01:58 AM - edited 04-30-2020 02:34 AM
hi kvasudevan
thanks for your guide, i manage to create ipv6 and done. thanks alot.
#staysafe
#stayhome