User Tools

Site Tools


ov:geyserrest

The following REST interfaces are available on the Geyser module:

- GET: /status

  • It returns a simple acknowledge message
  • body: empty
  • return value: HTTP 200, xml
    <status>OK</status>
  1. GET: /stats
  • It shows the servers' monitoring data
  • body: empty
  • return value: HTTP 200, xml
      <server>
        <name>{value: string}</name>
        <total_memory>{value: integer}</total_memory>
        <free_memory_percentage>{value: integer [0-100]}</free_memory_percentage>
        <cpus>
          <cpu_node>
      	  <id>{value: string}</id>
      	  <load>{value: integer [0-100]}</load>
      	  <idle>{value: integer [0-100]}</idle>
      	  <freq>{value: integer}</freq>
      	</cpu_node>
        </cpus>
        <virtual_machines>
          <virtual_machine>
      	  <name>{value: string}</name>
            <used_memory>{value: integer}</used_memory>
            <used_cpu>{value: integer [0-100]}</used_cpu>
      	</virtual_machine>
        </virtual_machines>
        <network_functions>
          <network_function>
            <name>{value: string}</name>
            <used_memory>{value: integer}</used_memory>
            <used_cpu>{value: integer [0-100]}</used_cpu>
          </network_function>
        </network_functions>
      </server>
ov/geyserrest.txt · Last modified: 2018/04/11 10:44 by 130.251.17.67