Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ public class AddNetscalerLoadBalancerCmd extends BaseAsyncCmd {
@Parameter(name = ApiConstants.GSLB_PROVIDER_PUBLIC_IP, type = CommandType.STRING, required = false, description = "public IP of the site")
private String gslbSitePublicIp;

@Parameter(name = ApiConstants.GSLB_PROVIDER_PRIVATE_IP, type = CommandType.STRING, required = false, description = "public IP of the site")
@Parameter(name = ApiConstants.GSLB_PROVIDER_PRIVATE_IP, type = CommandType.STRING, required = false, description = "private IP of the site")
private String gslbSitePrivateIp;

@Parameter(name = ApiConstants.EXCLUSIVE_GSLB_PROVIDER,
Expand Down
8 changes: 8 additions & 0 deletions ui/src/views/infra/network/providers/AddF5LoadBalancer.vue
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
<a-col :md="24" :lg="24">
<a-form-item :label="$t('label.ip')">
<a-input
:placeholder="apiParams.url.description"
autoFocus
v-decorator="['ip', {
rules: [{ required: true, message: $t('message.error.required.input') }]
Expand All @@ -36,6 +37,7 @@
<a-col :md="24" :lg="24">
<a-form-item :label="$t('label.username')">
<a-input
:placeholder="apiParams.username.description"
v-decorator="['username', {
rules: [{ required: true, message: $t('message.error.required.input') }]
}]" />
Expand All @@ -46,6 +48,7 @@
<a-col :md="24" :lg="24">
<a-form-item :label="$t('label.password')">
<a-input-password
:placeholder="apiParams.password.description"
v-decorator="['password', {
rules: [{ required: true, message: $t('message.error.required.input') }]
}]" />
Expand All @@ -56,6 +59,7 @@
<a-col :md="24" :lg="24">
<a-form-item :label="$t('label.networkdevicetype')">
<a-select
:placeholder="apiParams.networkdevicetype.description"
v-decorator="['networkdevicetype', {
rules: [{ required: true, message: $t('message.error.select') }]
}]"
Expand Down Expand Up @@ -135,6 +139,7 @@ export default {
},
data () {
return {
apiParams: {},
loading: false,
nsp: {}
}
Expand All @@ -153,6 +158,9 @@ export default {
beforeCreate () {
this.form = this.$form.createForm(this)
},
created () {
this.apiParams = this.$getApiParams('addF5LoadBalancer')
},
mounted () {
if (this.resource && Object.keys(this.resource).length > 0) {
this.nsp = this.resource
Expand Down
11 changes: 11 additions & 0 deletions ui/src/views/infra/network/providers/AddNetscalerLoadBalancer.vue
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
<a-col :md="24" :lg="24">
<a-form-item :label="$t('label.ip')">
<a-input
:placeholder="apiParams.url.description"
autoFocus
v-decorator="['ip', {
rules: [{ required: true, message: $t('message.error.required.input') }]
Expand All @@ -36,6 +37,7 @@
<a-col :md="24" :lg="24">
<a-form-item :label="$t('label.username')">
<a-input
:placeholder="apiParams.username.description"
v-decorator="['username', {
rules: [{ required: true, message: $t('message.error.required.input') }]
}]" />
Expand All @@ -46,6 +48,7 @@
<a-col :md="24" :lg="24">
<a-form-item :label="$t('label.password')">
<a-input-password
:placeholder="apiParams.password.description"
v-decorator="['password', {
rules: [{ required: true, message: $t('message.error.required.input') }]
}]" />
Expand All @@ -56,6 +59,7 @@
<a-col :md="24" :lg="24">
<a-form-item :label="$t('label.networkdevicetype')">
<a-select
:placeholder="apiParams.networkdevicetype.description"
v-decorator="['networkdevicetype', {
rules: [{ required: true, message: $t('message.error.select') }]
}]"
Expand Down Expand Up @@ -91,6 +95,7 @@
<a-col :md="24" :lg="24">
<a-form-item :label="$t('label.gslbprovider')">
<a-switch
:placeholder="apiParams.gslbprovider.description"
v-decorator="['gslbprovider', { initialValue: false }]" />
</a-form-item>
</a-col>
Expand All @@ -99,6 +104,7 @@
<a-col :md="24" :lg="24">
<a-form-item :label="$t('label.gslbproviderpublicip')">
<a-input
:placeholder="apiParams.gslbproviderpublicip.description"
v-decorator="['gslbproviderpublicip']" />
</a-form-item>
</a-col>
Expand All @@ -107,6 +113,7 @@
<a-col :md="24" :lg="24">
<a-form-item :label="$t('label.gslbproviderprivateip')">
<a-input
:placeholder="apiParams.gslbproviderprivateip.description"
v-decorator="['gslbproviderprivateip']" />
</a-form-item>
</a-col>
Expand Down Expand Up @@ -159,6 +166,7 @@ export default {
},
data () {
return {
apiParams: {},
loading: false,
nsp: {}
}
Expand All @@ -185,6 +193,9 @@ export default {
beforeCreate () {
this.form = this.$form.createForm(this)
},
created () {
this.apiParams = this.$getApiParams('addNetscalerLoadBalancer')
},
mounted () {
if (this.resource && Object.keys(this.resource).length > 0) {
this.nsp = this.resource
Expand Down
10 changes: 10 additions & 0 deletions ui/src/views/infra/network/providers/AddNiciraNvpDevice.vue
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
<a-form-item :label="$t('label.ip')">
<a-input
autoFocus
:placeholder="apiParams.hostname.description"
v-decorator="['ip', {
rules: [{ required: true, message: $t('message.error.required.input') }]
}]" />
Expand All @@ -36,6 +37,7 @@
<a-col :md="24" :lg="24">
<a-form-item :label="$t('label.username')">
<a-input
:placeholder="apiParams.username.description"
v-decorator="['username', {
rules: [{ required: true, message: $t('message.error.required.input') }]
}]" />
Expand All @@ -46,6 +48,7 @@
<a-col :md="24" :lg="24">
<a-form-item :label="$t('label.password')">
<a-input-password
:placeholder="apiParams.password.description"
v-decorator="['password', {
rules: [{ required: true, message: $t('message.error.required.input') }]
}]" />
Expand All @@ -65,6 +68,7 @@
<a-col :md="24" :lg="24">
<a-form-item :label="$t('label.transportzoneuuid')">
<a-input
:placeholder="apiParams.transportzoneuuid.description"
v-decorator="['transportzoneuuid']" />
</a-form-item>
</a-col>
Expand All @@ -73,6 +77,7 @@
<a-col :md="24" :lg="24">
<a-form-item :label="$t('label.l3gatewayserviceuuid')">
<a-input
:placeholder="apiParams.l3gatewayserviceuuid.description"
v-decorator="['l3gatewayserviceuuid']" />
</a-form-item>
</a-col>
Expand All @@ -81,6 +86,7 @@
<a-col :md="24" :lg="24">
<a-form-item :label="$t('label.l2gatewayserviceuuid')">
<a-input
:placeholder="apiParams.l2gatewayserviceuuid.description"
v-decorator="['l2gatewayserviceuuid']" />
</a-form-item>
</a-col>
Expand Down Expand Up @@ -110,13 +116,17 @@ export default {
},
data () {
return {
apiParams: {},
loading: false,
nsp: {}
}
},
beforeCreate () {
this.form = this.$form.createForm(this)
},
created () {
this.apiParams = this.$getApiParams('addNiciraNvpDevice')
},
mounted () {
if (this.resource && Object.keys(this.resource).length > 0) {
this.nsp = this.resource
Expand Down
8 changes: 8 additions & 0 deletions ui/src/views/infra/network/providers/AddPaloAltoFirewall.vue
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
<a-form-item :label="$t('label.ip')">
<a-input
autoFocus
:placeholder="apiParams.url.description"
v-decorator="['ip', {
rules: [{ required: true, message: $t('message.error.required.input') }]
}]" />
Expand All @@ -36,6 +37,7 @@
<a-col :md="24" :lg="24">
<a-form-item :label="$t('label.username')">
<a-input
:placeholder="apiParams.username.description"
v-decorator="['username', {
rules: [{ required: true, message: $t('message.error.required.input') }]
}]" />
Expand All @@ -46,6 +48,7 @@
<a-col :md="24" :lg="24">
<a-form-item :label="$t('label.password')">
<a-input-password
:placeholder="apiParams.password.description"
v-decorator="['password', {
rules: [{ required: true, message: $t('message.error.required.input') }]
}]" />
Expand All @@ -56,6 +59,7 @@
<a-col :md="24" :lg="24">
<a-form-item :label="$t('label.networkdevicetype')">
<a-select
:placeholder="apiParams.networkdevicetype.description"
v-decorator="['networkdevicetype', {
rules: [{ required: true, message: $t('message.error.select') }]
}]"
Expand Down Expand Up @@ -182,6 +186,7 @@ export default {
},
data () {
return {
apiParams: {},
loading: false,
nsp: {}
}
Expand All @@ -200,6 +205,9 @@ export default {
beforeCreate () {
this.form = this.$form.createForm(this)
},
created () {
this.apiParams = this.$getApiParams('addPaloAltoFirewall')
},
mounted () {
if (this.resource && Object.keys(this.resource).length > 0) {
this.nsp = this.resource
Expand Down
8 changes: 8 additions & 0 deletions ui/src/views/infra/network/providers/AddSrxFirewall.vue
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
<a-col :md="24" :lg="24">
<a-form-item :label="$t('label.ip')">
<a-input
:placeholder="apiParams.url.description"
autoFocus
v-decorator="['ip', {
rules: [{ required: true, message: $t('message.error.required.input') }]
Expand All @@ -36,6 +37,7 @@
<a-col :md="24" :lg="24">
<a-form-item :label="$t('label.username')">
<a-input
:placeholder="apiParams.username.description"
v-decorator="['username', {
rules: [{ required: true, message: $t('message.error.required.input') }]
}]" />
Expand All @@ -46,6 +48,7 @@
<a-col :md="24" :lg="24">
<a-form-item :label="$t('label.password')">
<a-input-password
:placeholder="apiParams.password.description"
v-decorator="['password', {
rules: [{ required: true, message: $t('message.error.required.input') }]
}]" />
Expand All @@ -56,6 +59,7 @@
<a-col :md="24" :lg="24">
<a-form-item :label="$t('label.networkdevicetype')">
<a-select
:placeholder="apiParams.networkdevicetype.description"
v-decorator="['networkdevicetype', {
rules: [{ required: true, message: $t('message.error.select') }]
}]"
Expand Down Expand Up @@ -160,6 +164,7 @@ export default {
},
data () {
return {
apiParams: {},
loading: false,
nsp: {}
}
Expand All @@ -178,6 +183,9 @@ export default {
beforeCreate () {
this.form = this.$form.createForm(this)
},
created () {
this.apiParams = this.$getApiParams('addSrxFirewall')
},
mounted () {
if (this.resource && Object.keys(this.resource).length > 0) {
this.nsp = this.resource
Expand Down