Server IP Justification

From INAP Dropzone API
(Difference between revisions)
Jump to: navigation, search
(Returned Data)
Line 20: Line 20:
  
 
==Returned Data==
 
==Returned Data==
 +
application/json
 
<pre>
 
<pre>
stdClass Object(
+
[
  [success] => TRUE/FALSE
+
    {
  [data] => stdClass Object(
+
         "request_id": This is the uniuqe ID of the request
  [public] => Array(
+
         "client_id": ,
      [0] => stdClass Object(
+
         "justification_id": ,
         [ip_id] => The ID number of the assigned IP block.
+
         "notes": ,
        [prefix] => The network IP address.
+
         "ip_amount": ,
        [cidr] => The CIDR of the assigned IP block.
+
         "ticket_id": ,
        [parent_id] =>
+
         "created_on": ,
        [parent_prefix] =>
+
     }
        [parent_cidr] =>
+
 
        [uberid] =>
+
]
        [assigned_to] => The ID number of the assigned server.
+
         [staticrouting] =>
+
         [last_router] => Hostname of the switch in the server rack.
+
         [last_vlan] => The VLAN of the "last_router".
+
         [last_destination] =>
+
         [filterdev] =>
+
         [guard_zone] =>
+
        [hsrp_ip1] =>
+
        [hsrp_ip2] =>
+
        [netboot] =>
+
        [spamscore] =>
+
        [dc] => The datacenter the block of IP addresses belong to (dupont,cimco).
+
        [updated] => The last time and date the IP information was updated.
+
        [gateway] => The gateway IP address of the assigned IP block.
+
        [ip] => The network IP address of the assigned IP block.
+
        [netmask] => The subnet mask of the assigned IP block.
+
        [wildcard] => Wildcard mask of the of the assigned IP block.
+
        [broadcast] => The broadcast IP address of the assigned IP block.
+
        [allips] => An array of all the IP addresses that are in the assignment.
+
        [allusable] => An array of all the usable IP addresses that are in the assignment.
+
        [firstip] => The first usable IP address that is in the assignment.
+
        [secondip] => The second usable IP address that is in the assignment.
+
        [lastip] => The last usable IP address that is in the assignment.
+
        [range] => The range of usable IP addresses that are in the assignment.
+
      )
+
     )
+
    [private] => stdClass Object(
+
      [vlan_id] => The ID number of the assigned private network VLAN.
+
      [dc] => The CIDR of the assigned IP block.
+
      [vlan] => The number of the assigned VLAN.
+
      [type] =>
+
      [uberid] => The assigned client ID.
+
      [name] =>
+
      [networks] => Array(
+
        [0] => stdClass Object(
+
          [id] => The ID number of the assigned VLAN.
+
          [network] => The network address of the assigned IP block.
+
          [cidr] => The CIDR of the assigned IP block.
+
          [dc] => The datacenter the block of IP addresses belong to (dupont,cimco).
+
          [vlan_id] => The ID number of the assigned private network VLAN.
+
          [usable] => An array of all the usable IP addresses that are in the assignment.
+
        )
+
      )
+
      [ip] => The private IP that is assigned the server.
+
      [cidr] => The CIDR of the assigned IP address.
+
      [network] => The network address of the assigned IP address.
+
      [netmask] => The subnet mask of the assigned IP address.
+
      [gateway] => The gateway address of the assigned IP address.
+
      [speed] => The speed of the NIC used with the private network.
+
    )
+
  )
+
)
+
 
</pre>
 
</pre>

Revision as of 23:27, 30 September 2013

IP Justification is used for all requests for additional IPs.

Contents

Path

  • /server/ip/justification/{$serverid}

Method

Availability

Required Data Parameters

  • {$serverid}: The server ID that is returned when using the list command.

Optional Data Parameters

  • None

Returned Data

application/json

[
    {
        "request_id": This is the uniuqe ID of the request
        "client_id": ,
        "justification_id": ,
        "notes": ,
        "ip_amount": ,
        "ticket_id": ,
        "created_on": ,
    }

]
Personal tools