Are you interested in our Early Access Program (EAP)? This program allows you to preview code, test in your lab and provide feedback prior to General Availability (GA) release of all Infoblox products. If so, please click the link here.

API Examples

Reply

WAPI for adding an HA Grid member definition that joins the grid using MGMT port

Member
Posts: 1
699     0

curl -g -k -u admin:infoblox -X POST -H "Content-Type:application/json" -d "{\"config_addr_type\": \"BOTH\", \"enable_ha\": true, \"host_name\": \"hadhcp.lab\", \"ipv6_setting\": {\"cidr_prefix\": 64, \"enabled\": true, \"gateway\": \"fd00:4889:0:3::1\", \"virtual_ip\": \"fd00:4889:0:3::200\"}, \"mgmt_port_setting\": {\"enabled\": true, \"vpn_enabled\": true}, \"node_info\": [{\"lan_ha_port_setting\": {\"ha_ip_address\": \"192.168.255.202\", \"mgmt_ipv6addr\": \"fd00:4889:0:3::201\", \"mgmt_lan\": \"192.168.255.201\"}, \"mgmt_network_setting\": {\"address\": \"172.17.64.166\", \"gateway\": \"172.17.64.161\", \"subnet_mask\": \"255.255.255.240\"}}, {\"lan_ha_port_setting\": {\"ha_ip_address\": \"192.168.255.204\", \"mgmt_ipv6addr\": \"fd00:4889:0:3::203\", \"mgmt_lan\": \"192.168.255.203\"}, \"mgmt_network_setting\": {\"address\": \"172.17.64.167\", \"gateway\": \"172.17.64.161\", \"subnet_mask\": \"255.255.255.240\"}}], \"platform\": \"VNIOS\", \"router_id\": 200, \"service_type_configuration\": \"ALL_V4\", \"vip_setting\": {\"address\": \"192.168.255.200\", \"gateway\": \"192.168.255.1\", \"subnet_mask\": \"255.255.255.0\"}}" https://172.17.64.164/wapi/v2.11/member

 

 

Human friendly text for the curl data

{
        "config_addr_type": "BOTH",
        "enable_ha": true,
        "host_name": "hadhcp.lab",
        "ipv6_setting": {
            "cidr_prefix": 64,
            "enabled": true,
            "gateway": "fd00:4889:0:3::1",
            "virtual_ip": "fd00:4889:0:3::200"
        },
        "mgmt_port_setting": {
            "enabled": true,
            "vpn_enabled": true
        },
        "node_info": [
            {
                "lan_ha_port_setting": {
                    "ha_ip_address": "192.168.255.202",
                    "mgmt_ipv6addr": "fd00:4889:0:3::201",
                    "mgmt_lan": "192.168.255.201"
                },
                "mgmt_network_setting": {
                    "address": "172.17.64.166",
                    "gateway": "172.17.64.161",
                    "subnet_mask": "255.255.255.240"
                }
            },
            {
                "lan_ha_port_setting": {
                    "ha_ip_address": "192.168.255.204",
                    "mgmt_ipv6addr": "fd00:4889:0:3::203",
                    "mgmt_lan": "192.168.255.203"
                },
                "mgmt_network_setting": {
                    "address": "172.17.64.167",
                    "gateway": "172.17.64.161",
                    "subnet_mask": "255.255.255.240"
                }
            }
        ],
        "platform": "VNIOS",
        "router_id": 200,
        "service_type_configuration": "ALL_V4",
        "vip_setting": {
            "address": "192.168.255.200",
            "gateway": "192.168.255.1",
            "subnet_mask": "255.255.255.0"
        }
    }
Showing results for 
Search instead for 
Did you mean: 

Recommended for You