Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add vxlan destination port #60

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Add vxlan destination port
sojindal committed Nov 17, 2020
commit b8713bdb46da3b209f6e82ae97a9df38efaeab70
34 changes: 34 additions & 0 deletions sonic_api.yaml
Original file line number Diff line number Diff line change
@@ -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: