@@ -903,6 +903,17 @@ export default {
903903 this .setStepStatus (STATUS_FAILED )
904904 }
905905 },
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+ },
906917 async stepConfigurePublicTraffic (message , trafficType , idx ) {
907918 if (
908919 (this .isBasicZone &&
@@ -998,26 +1009,10 @@ export default {
9981009 } else if (isolationMethods .includes (' netris' )) {
9991010 await this .stepConfigurePublicTraffic (' message.configuring.netris.public.traffic' , ' netrisPublicTraffic' , 1 )
10001011 } else {
1001- if (this .stepData .isTungstenZone ) {
1002- await this .stepCreateTungstenFabricPublicNetwork ()
1003- } else if (this .stepData .isNsxZone ) {
1004- await this .stepAddNsxController ()
1005- } else if (this .stepData .isNetrisZone ) {
1006- await this .stepAddNetrisProvider ()
1007- } else {
1008- await this .stepConfigureStorageTraffic ()
1009- }
1012+ await this .stepNetworkingProviderOrStorageTraffic ()
10101013 }
10111014 } else {
1012- if (this .stepData .isTungstenZone ) {
1013- await this .stepCreateTungstenFabricPublicNetwork ()
1014- } else if (this .stepData .isNsxZone ) {
1015- await this .stepAddNsxController ()
1016- } else if (this .stepData .isNetrisZone ) {
1017- await this .stepAddNetrisProvider ()
1018- } else {
1019- await this .stepConfigureStorageTraffic ()
1020- }
1015+ await this .stepNetworkingProviderOrStorageTraffic ()
10211016 }
10221017 } else if (this .isAdvancedZone && this .sgEnabled ) {
10231018 if (this .stepData .isTungstenZone ) {
0 commit comments