The following examples are valid CSV and JSON files that can be used when importing IPv4 networks into the Address Manager database with POST /v1/importEntities.
Example CSV file for type IP4Network
name | range | gateway | defaultView | defaultDomains | dnsRestrictions | lowwatermark | highwatermark |
---|---|---|---|---|---|---|---|
network(12.1/16) | 12.1.0.0 - 12.1.255.255 | 12.1.0.2 | default | zone_007.com[default] | "default,zone_007.com[default]" | 5 | 15 |
network(12.0/24) | 12.0/24 | default | zone_007.com[default] | "default,zone_007.com[default]" | 10 | 30 | |
12.3/28 |
Example JSON file for type IP4Network
{"defaultView":"default","defaultDomains":"zone_007.com[default]","gateway":"12.1.0.2","dnsRestrictions":"default,zone_007.com[default]","range":"12.1.0.0 - 12.1.255.255","highwatermark":15,"name":"network(12.1/16)","lowwatermark":"5"}
{"defaultView":"default","defaultDomains":"zone_007.com[default]","dnsRestrictions":"default,zone_007.com[default]","range":"12.2/24","highwatermark":"30","name":"network(12.2/24)","lowwatermark":10}
{"range":"12.3/28"}