VGA

You can retrieve Vamp gateway driver marshaller configurations and templates using the Vamp API.

Actions

Get configuration

Return the current VGA configuration for the specified marshaller.

Request

  • GET
  • api/v1/vga/{type}/{name}/configuration
    for example GET <vamp url>/api/v1/vga/haproxy/1.7/configuration
  • The request body should be empty.

Response

Will return the current VGA configuration. If there is no current configuration for the specified marshaller, the response will be empty.

Get template

Request

  • GET
  • api/v1/vga/{type}/{name}/template
    for example GET <vamp url>/api/v1/vga/haproxy/1.7/template
  • The request body should be empty.

Response

Will return the configuration template for the specified marshaller. If no template is available, the response will be empty.

Update template

Update the stored configuration template for the specified marshaller.

Request

  • PUT
  • api/v1/vga/{type}/{name}/template
    for example PUT <vamp url>/api/v1/vga/haproxy/1.7/template
  • The request body should contain the complete, new template.

Response

If successful, the key value store response wil be returned.