diff --git a/ApacheHTTPServer/package/UI/ui.yaml b/ApacheHTTPServer/package/UI/ui.yaml index 60164737..7eca92a7 100644 --- a/ApacheHTTPServer/package/UI/ui.yaml +++ b/ApacheHTTPServer/package/UI/ui.yaml @@ -10,7 +10,14 @@ # License for the specific language governing permissions and limitations # under the License. -Version: 2 +Version: 2.1 + +Templates: + customJoinNet: + - ?: + type: io.murano.resources.ExistingNeutronNetwork + internalNetworkName: $.instanceConfiguration.network[0] + internalSubnetworkName: $.instanceConfiguration.network[1] Application: ?: @@ -26,6 +33,10 @@ Application: keyname: $.instanceConfiguration.keyPair availabilityZone: $.instanceConfiguration.availabilityZone assignFloatingIp: $.appConfiguration.assignFloatingIP + networks: + useEnvironmentNetwork: $.instanceConfiguration.network[0]=null + useFlatNetwork: false + customNetworks: switch($.instanceConfiguration.network[0], $=null=>list(), $!=null=>$customJoinNet) Forms: - appConfiguration: @@ -98,6 +109,12 @@ Forms: label: Availability zone description: Select availability zone where application would be installed. required: false + - name: network + type: network + label: Network + description: Select a network to join. 'Auto' corresponds to a default environment's network. + required: false + murano_networks: translate - name: unitNamingPattern type: string label: Instance Naming Pattern