From dead99134659dbc35bf3dbe6a6da3448ddd41701 Mon Sep 17 00:00:00 2001 From: Boden R Date: Thu, 7 Sep 2017 15:22:11 -0600 Subject: [PATCH] api-ref for inherit trunk segmentation type This patch updates the api-ref for trunk networking by describing the applicable values for segmentation_type including the inherit type. Change-Id: I0772463d71cbb6703345e66f52ad6c02163a00ff Partial-Bug: #1679999 --- api-ref/source/v2/parameters.yaml | 12 +++++++++++- api-ref/source/v2/trunk.inc | 2 +- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/api-ref/source/v2/parameters.yaml b/api-ref/source/v2/parameters.yaml index 0ac55dec6..4a64aa907 100644 --- a/api-ref/source/v2/parameters.yaml +++ b/api-ref/source/v2/parameters.yaml @@ -5114,7 +5114,17 @@ segmentation_id: type: integer segmentation_type: description: | - The segmentation type for the subport. + The segmentation type for the subport. Possible values include ``vlan`` + and ``inherit``. When ``inherit`` is specified, a port gets its + segmentation type from the network its connected to. + in: body + required: true + type: string +segmentation_type-request: + description: | + The segmentation type for the subport. Possible values include ``vlan`` + and ``inherit``. When ``inherit`` is specified, a port gets its + segmentation type from the network its connected to. in: body required: false type: string diff --git a/api-ref/source/v2/trunk.inc b/api-ref/source/v2/trunk.inc index ed08981b5..06d9c01cb 100644 --- a/api-ref/source/v2/trunk.inc +++ b/api-ref/source/v2/trunk.inc @@ -157,7 +157,7 @@ Request - trunk_id: trunk_id - segmentation_id: segmentation_id - - segmentation_type: segmentation_type + - segmentation_type: segmentation_type-request - port_id: port_id_subport Request Example