src/Ovh/Dedicated/Server/ServerClient.php
public function setVmacIPAddresses($domain, $vmac, $ip, $vmname) {
		$domain 	=(string)$domain;
		$vmac		=(string)$vmac;
		$ip			=(string)$ip;
		$vmname		=(string)$vmname;
        
        if (!$domain)
            throw new BadMethodCallException('Parameter $domain is missing.');
        if (!$ip)
            throw new BadMethodCallException('Parameter $ip is missing.');
        if (!$vmac)
            throw new BadMethodCallException('Parameter $vmac is missing.');
        if (!$vmname)
            throw new BadMethodCallException('Parameter $vmname is missing.');

		$payload=array(
			"ipAddress"=>$ip,
			"virtualMachineName"=>$vmname
  		);
		
        try {
            $r = $this->post('dedicated/server/' . $domain . '/virtualMac/' . $vmac . '/virtualAddress' , array('Content-Type' => 'application/json;charset=UTF-8'), json_encode($payload))->send();
        } catch (\Exception $e) {
            throw new ServerException($e->getMessage(), $e->getCode(), $e);
        }
        return $r->getBody(true);
	
	}
public function setVmacIPAddresses($domain, $vmac, $ip, $vmname) {
		$domain 	=(string)$domain;
		$vmac		=(string)$vmac;
		$ip			=(string)$ip;
		$vmname		=(string)$vmname;
        
        if (!$domain)
            throw new BadMethodCallException('Parameter $domain is missing.');
        if (!$ip)
            throw new BadMethodCallException('Parameter $ip is missing.');
        if (!$vmac)
            throw new BadMethodCallException('Parameter $vmac is missing.');
        if (!$vmname)
            throw new BadMethodCallException('Parameter $vmname is missing.');

		$payload=array(
			"ipAddress"=>$ip,
			"virtualMachineName"=>$vmname
  		);
		
        try {
            $r = $this->post('dedicated/server/' . $domain . '/virtualMac/' . $vmac . '/virtualAddress' , array('Content-Type' => 'application/json;charset=UTF-8'), json_encode($payload))->send();
        } catch (\Exception $e) {
            throw new ServerException($e->getMessage(), $e->getCode(), $e);
        }
        return $r->getBody(true);
	
	}
POST /dedicated/server/{serviceName}/virtualMac/{virtualmac}/virtualAddress