Adding Organization
|
- curl -k -X POST -H ""Content-Type: application/json"" -H
'TIMS-Session-Token: 84d55774-c562-4dcf-9646-ce7fed4dabfd' -d '{
"name": "Internal", "enable_root_zone": "1",
"description": "" }'
|
Adding Domain
|
- curl -k -X POST -H "Content-Type: application/json" -H
'TIMS-Session-Token: ae48de10-8928-47e3-9656-e4788f0aa2e6' -d '{
"name": "curl.com", "description": "curlcom",
"organization_name": "Internal" }'
|
Adding Network
|
- curl -k -X POST -H "Content-Type: application/json" -H
'TIMS-Session-Token: ae48de10-8928-47e3-9656-e4788f0aa2e6' -d '{
"address": "22.22.0.0", "mask_length": "16", "name": "Curl
Network", "description": "curlnet", "createRevZone": "yes",
"autoCreateBlock": "no", "dmzVisible": "no", "dnssec_enable":
"no", "nsec_option": "NSEC3", "monitoringService": "no",
"enable_discovery": "no", "discovery_template": "",
"discoveryApplianceIp": null, "vrf_name": "", "region": "",
"percentageFull": 100, "email_check": 1, "snmp_check": 0,
"log_check": 0, "zoneTemplateName": "Sample-Predefined-Template",
"addr1": "22", "addr2": "22", "addr3": "0", "addr4": "0",
"organization_name": "Internal", "extensions": [] }'
|
Adding Subnet
|
- curl -k -X POST -H "Content-Type: application/json" -H
'TIMS-Session-Token: 84d55774-c562-4dcf-9646-ce7fed4dabfd' -d '{
"network_address":"22.22.0.0", "nw_mask_length": 16,
"mask_length": "24", "subnet": { "name": "", "description": "",
"vlan_id": "", "location_id": null, "vrf_id": "",
"subnet_group_name": "", "router_option": "First IP in the
subnet", "created_by": "22321", "primary_domain": "curl.com",
"secondaryDomains": null, "organization_name": "Internal",
"sharedNetwork": null, "dhcpFailoverPeer": "",
"subnetTemplateName": null, "enable_discovery": "no",
"discovery_template": null, "reclaim_objects": "no",
"extensions": [], "array_params": [], "primary_dhcp_server":
null, "template_id": null } }'
|
Adding Object
|
- curl k -X POST -H "Content-Type: application/json" -H
'TIMS-Session-Token: ae48de10-8928-47e3-9656-e4788f0aa2e6' -d '{
"name": "objcurl", "class_code": "3G Phone", "alloc_type": "1",
"mac": "", "ttl": "1222", "rsrv_exp_dt": "", "objectview": "",
"option_template_name": "", "dhcp_server": "", "update_ns_a":
true, "update_ns_ptr": true, "dyn_update_rrs_a": true,
"dyn_update_rrs_ptr": true, "dyn_update_rrs_cname": true,
"dyn_update_rrs_mx": true, "cloudInstanceTemplate": ""
"description": "", "change_control_team": "", "end_of_life": "",
"room": "", "floor": "", "systemLocation": "",
"terminal_server_kvm": "", "switch_name": "", "port_name": "",
"duplex_name": "", "serial_num": "", "managed_by": "",
"monitored_by": "", "vmware_port": "", "vmware_user_name": "",
"vmware_password": "", "addr1": "22", "addr2": "22", "addr3":
"0", "addr4": "2", "subnet_address": "22.22.0.0", "domain_name":
"curl.com", "rrs": [], "organization_name": "Internal" }'
|