Page tree

Checks the current state of the license.

Endpoint

https://<Director_IP_address>:4443/c/router

Request Example

curl
 curl --request POST \
    --url https://<Director_IP_address>:4443/c/router \
    --header "content-type: application/json" \
    --cookie @cookies.txt \
    --data "{
        "action": "LicensingManagement",
        "method": "getLicenseInfo",
        "data": null,
        "type": "rpc",
        "tid": 1}"

Request Fields

Field
Type
Value(s)
Description
actionstring

LicensingManagement

The action that is invoked
methodstring

getLicenseInfo

The method that is invoked
datastring

null


typestring

rpc

Type of communication protocol
tidinteger

1

Transaction ID. Used to identify the request by both the client and the server

Response Sample

 {
    "action": " LicensingManagement",
    "method": " getLicenseInfo",
    "tid": "1",
    "type": "rpc",
    "message": null,
    "where": null,
    "cause": null,
    "data": {
            "installed": true,
	      "serial": "D3ECEAFE-3BB0-476D-A718-39A04C1E5FD8",
		"client": "NAKIVO",
		"usedSockets": 0,
		"usedVms": 0,
		"usedEc2Instances": 0,
		"usedPhysicalServers": 0,
		"serverTime": "2018-12-12T17:04:39.043+02:00"
           }
}

Response Fields

Field
Value
Description
messagestringMessage if the request failed
wherestringReference to the method where the problem occurred
causestringCause of failure
dataarrayLicense data

data

Field
Value
Description

installed

booleantrue if a license is registered

serial

string

License serial number

client

string

The client name

usedSockets

intNumber of used sockets

usedVms

int

Number of used VMs

usedEc2Instances

int

Number of used EC2 instances

usedPhysicalServers

int

Number of used physical servers

serverTime

string

Date and time on the server

  • No labels