nic.go
func (c *Client) CreateNic(dcid string, srvid string, nic Nic) (*Nic, error) {

	url := nicColPath(dcid, srvid) + `?depth=` + c.client.depth + `&pretty=` + strconv.FormatBool(c.client.pretty)
	ret := &Nic{}
	err := c.client.Post(url, nic, ret, http.StatusAccepted)

	return ret, err
}
func (c *Client) CreateNic(dcid string, srvid string, nic Nic) (*Nic, error) {

	url := nicColPath(dcid, srvid) + `?depth=` + c.client.depth + `&pretty=` + strconv.FormatBool(c.client.pretty)
	ret := &Nic{}
	err := c.client.Post(url, nic, ret, http.StatusAccepted)

	return ret, err
}
// CreateNic creates a nic on a server