Skip to content

Commit

Permalink
Add vxlan destination port
Browse files Browse the repository at this point in the history
  • Loading branch information
sojindal committed Nov 17, 2020
1 parent 37a7c61 commit b8713bd
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions sonic_api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit b8713bd

Please sign in to comment.