@@ -903,6 +903,17 @@ export default {
903
903
this .setStepStatus (STATUS_FAILED )
904
904
}
905
905
},
906
+ async stepNetworkingProviderOrStorageTraffic () {
907
+ if (this .stepData .isTungstenZone ) {
908
+ await this .stepCreateTungstenFabricPublicNetwork ()
909
+ } else if (this .stepData .isNsxZone ) {
910
+ await this .stepAddNsxController ()
911
+ } else if (this .stepData .isNetrisZone ) {
912
+ await this .stepAddNetrisProvider ()
913
+ } else {
914
+ await this .stepConfigureStorageTraffic ()
915
+ }
916
+ },
906
917
async stepConfigurePublicTraffic (message , trafficType , idx ) {
907
918
if (
908
919
(this .isBasicZone &&
@@ -997,17 +1008,11 @@ export default {
997
1008
await this .stepConfigurePublicTraffic (' message.configuring.nsx.public.traffic' , ' nsxPublicTraffic' , 1 )
998
1009
} else if (isolationMethods .includes (' netris' )) {
999
1010
await this .stepConfigurePublicTraffic (' message.configuring.netris.public.traffic' , ' netrisPublicTraffic' , 1 )
1000
- }
1001
- } else {
1002
- if (this .stepData .isTungstenZone ) {
1003
- await this .stepCreateTungstenFabricPublicNetwork ()
1004
- } else if (this .stepData .isNsxZone ) {
1005
- await this .stepAddNsxController ()
1006
- } else if (this .stepData .isNetrisZone ) {
1007
- await this .stepAddNetrisProvider ()
1008
1011
} else {
1009
- await this .stepConfigureStorageTraffic ()
1012
+ await this .stepNetworkingProviderOrStorageTraffic ()
1010
1013
}
1014
+ } else {
1015
+ await this .stepNetworkingProviderOrStorageTraffic ()
1011
1016
}
1012
1017
} else if (this .isAdvancedZone && this .sgEnabled ) {
1013
1018
if (this .stepData .isTungstenZone ) {
0 commit comments