From 3b147e368ef6d19db4c186d03f9ab0f348366b77 Mon Sep 17 00:00:00 2001 From: Feilong Wang Date: Thu, 22 Aug 2019 15:23:24 +1200 Subject: [PATCH] [api-ref] Add network,subnet and FIP for cluster Add API ref change for fixed-network, fixed-subnet and floating_ip_enabled for cluster creation. Task: 36326 Story: 2006208 Change-Id: I2724934de96de1a348d72bf39ff114e3f323eb9e --- api-ref/source/clusters.inc | 3 +++ api-ref/source/parameters.yaml | 10 ++++++++++ 2 files changed, 13 insertions(+) diff --git a/api-ref/source/clusters.inc b/api-ref/source/clusters.inc index 1b6883392d..2244ce3c20 100644 --- a/api-ref/source/clusters.inc +++ b/api-ref/source/clusters.inc @@ -42,6 +42,9 @@ Request - master_flavor_id: master_flavor_id - labels: labels - flavor_id: flavor_id + - fixed_subnet: fixed_subnet + - fixed_network: fixed_network + - floating_ip_enabled: floating_ip_enabled_cluster .. note:: diff --git a/api-ref/source/parameters.yaml b/api-ref/source/parameters.yaml index 6a726c722d..9112a4b467 100644 --- a/api-ref/source/parameters.yaml +++ b/api-ref/source/parameters.yaml @@ -283,6 +283,16 @@ floating_ip_enabled: in: body required: true type: boolean +floating_ip_enabled_cluster: + description: | + Whether enable or not using the floating IP of cloud provider. Some + cloud providers used floating IP, some used public IP, thus Magnum + provide this option for specifying the choice of using floating IP. + If it's not set, the value of floating_ip_enabled in template + will be used. + in: body + required: false + type: boolean host: description: | The host for the service.