From b8713bdb46da3b209f6e82ae97a9df38efaeab70 Mon Sep 17 00:00:00 2001 From: Sonika Jindal Date: Tue, 17 Nov 2020 06:01:26 -0800 Subject: [PATCH] Add vxlan destination port --- sonic_api.yaml | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/sonic_api.yaml b/sonic_api.yaml index 7e86d10..27e0aa6 100644 --- a/sonic_api.yaml +++ b/sonic_api.yaml @@ -1255,6 +1255,40 @@ paths: schema: $ref: '#/definitions/Error' #---------------------------------------------- +# Setup dummy udp dst port for vxlan tunnel +#---------------------------------------------- + '/config/vxlan-udp-port/{port_num}': + put: + summary: Set the destination UDP port number for VXLAN encapsulated packets + parameters: + - name: port_num + in: path + required: true + type: integer + responses: + '204': + description: OK + '400': + description: Malformed arguments for API call + schema: + $ref: '#/definitions/Error' + '401': + description: Invalid authentication credentials + schema: + $ref: '#/definitions/Error' + '403': + description: Capacity insufficient + schema: + $ref: '#/definitions/Error' + '500': + description: Internal service error + schema: + $ref: '#/definitions/Error' + '503': + description: Maintanence mode + schema: + $ref: '#/definitions/Error' +#---------------------------------------------- # Schema definitions #---------------------------------------------- definitions: