diff --git a/schemas/pyats/show-flow-exporter.yml.j2 b/schemas/pyats/show-flow-exporter.yml.j2 index 2e1f72f..a29f9b1 100644 --- a/schemas/pyats/show-flow-exporter.yml.j2 +++ b/schemas/pyats/show-flow-exporter.yml.j2 @@ -1,20 +1,32 @@ +--- type: object +required: + - flow_exporter_name properties: flow_exporter_name: type: object + required: + - {{ check_vars.exporter_name }} properties: {{ check_vars.exporter_name }}: type: object + required: + - transport_config properties: transport_config: type: object + required: + - destination_ip_address + - destination_port + - transport_protocol properties: destination_ip_address: type: string - enum: {{ check_vars.destination_address }} + const: {{ check_vars.destination_address }} destination_port: type: integer const: {{ check_vars.destination_port }} transport_protocol: type: string const: {{ check_vars.transport_protocol }} +