diff --git a/ui/src/config/section/infra/zones.js b/ui/src/config/section/infra/zones.js index 347c6549d1e..ff94ca23dd6 100644 --- a/ui/src/config/section/infra/zones.js +++ b/ui/src/config/section/infra/zones.js @@ -23,10 +23,6 @@ export default { columns: ['name', 'state', 'networktype', 'clusters', 'cpuused', 'cpumaxdeviation', 'cpuallocated', 'cputotal', 'memoryused', 'memorymaxdeviation', 'memoryallocated', 'memorytotal', 'order'], details: ['name', 'id', 'allocationstate', 'networktype', 'guestcidraddress', 'localstorageenabled', 'securitygroupsenabled', 'dns1', 'dns2', 'internaldns1', 'internaldns2'], related: [{ - name: 'physicalnetwork', - title: 'Physical Networks', - param: 'zoneid' - }, { name: 'pod', title: 'Pods', param: 'zoneid' @@ -38,10 +34,6 @@ export default { name: 'host', title: 'Hosts', param: 'zoneid' - }, { - name: 'systemvm', - title: 'SystemVMs', - param: 'zoneid' }, { name: 'storagepool', title: 'Primate Storage', @@ -54,9 +46,15 @@ export default { tabs: [{ name: 'details', component: () => import('@/components/view/DetailsTab.vue') + }, { + name: 'Physical Networks', + component: () => import('@/views/infra/zone/PhysicalNetworksTab.vue') + }, { + name: 'System VMs', + component: () => import('@/views/infra/zone/SystemVmsTab.vue') }, { name: 'resources', - component: () => import('@/views/infra/ZoneResources.vue') + component: () => import('@/views/infra/zone/ZoneResources.vue') }, { name: 'settings', component: () => import('@/components/view/SettingsTab.vue') @@ -68,7 +66,7 @@ export default { label: 'Add Zone', listView: true, popup: true, - component: () => import('@/views/infra/ZoneWizard.vue') + component: () => import('@/views/infra/zone/ZoneWizard.vue') }, { api: 'updateZone', diff --git a/ui/src/locales/en.json b/ui/src/locales/en.json index 73c7bc0e745..d66908940a9 100644 --- a/ui/src/locales/en.json +++ b/ui/src/locales/en.json @@ -611,6 +611,7 @@ "label.recover.vm": "Recover VM", "label.refresh.blades": "Refresh Blades", "label.reinstall.vm": "Reinstall VM", +"label.release.account": "Release from Account", "label.release.dedicated.cluster": "Release Dedicated Cluster", "label.release.dedicated.host": "Release Dedicated Host", "label.release.dedicated.pod": "Release Dedicated Pod", @@ -639,6 +640,7 @@ "label.secondary.storage.vm":"Secondary storage VM", "label.service.offering":"Service Offering", "label.set.default.NIC": "Set default NIC", +"label.set.reservation": "Set Reservation", "label.shutdown.provider": "Shutdown provider", "label.snapshot.schedule": "Set up Recurring Snapshot", "label.standard.us.keyboard": "Standard (US) keyboard", @@ -1011,7 +1013,7 @@ "vmdisplayname": "VM display name", "vmipaddress": "VM IP Address", "vmname": "VM Name", -"vmstate": "VM state", +"vmstate": "VM State", "vmtotal": "Total of VMs", "vmwaredcId": "VMware Datacenter ID", "vmwaredcName": "VMware Datacenter Name", diff --git a/ui/src/views/infra/network/IpRangesTabManagement.vue b/ui/src/views/infra/network/IpRangesTabManagement.vue new file mode 100644 index 00000000000..3fb324a9df4 --- /dev/null +++ b/ui/src/views/infra/network/IpRangesTabManagement.vue @@ -0,0 +1,413 @@ +// Licensed to the Apache Software Foundation (ASF) under one +// or more contributor license agreements. See the NOTICE file +// distributed with this work for additional information +// regarding copyright ownership. The ASF licenses this file +// to you under the Apache License, Version 2.0 (the +// "License"); you may not use this file except in compliance +// with the License. You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, +// software distributed under the License is distributed on an +// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +// KIND, either express or implied. See the License for the +// specific language governing permissions and limitations +// under the License. + + + + + + diff --git a/ui/src/views/infra/network/IpRangesTabPublic.vue b/ui/src/views/infra/network/IpRangesTabPublic.vue new file mode 100644 index 00000000000..7fa4f722e3a --- /dev/null +++ b/ui/src/views/infra/network/IpRangesTabPublic.vue @@ -0,0 +1,489 @@ +// Licensed to the Apache Software Foundation (ASF) under one +// or more contributor license agreements. See the NOTICE file +// distributed with this work for additional information +// regarding copyright ownership. The ASF licenses this file +// to you under the Apache License, Version 2.0 (the +// "License"); you may not use this file except in compliance +// with the License. You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, +// software distributed under the License is distributed on an +// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +// KIND, either express or implied. See the License for the +// specific language governing permissions and limitations +// under the License. + + + + + + diff --git a/ui/src/views/infra/network/IpRangesTabStorage.vue b/ui/src/views/infra/network/IpRangesTabStorage.vue new file mode 100644 index 00000000000..f506e3f88a2 --- /dev/null +++ b/ui/src/views/infra/network/IpRangesTabStorage.vue @@ -0,0 +1,398 @@ +// Licensed to the Apache Software Foundation (ASF) under one +// or more contributor license agreements. See the NOTICE file +// distributed with this work for additional information +// regarding copyright ownership. The ASF licenses this file +// to you under the Apache License, Version 2.0 (the +// "License"); you may not use this file except in compliance +// with the License. You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, +// software distributed under the License is distributed on an +// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +// KIND, either express or implied. See the License for the +// specific language governing permissions and limitations +// under the License. + + + + + + diff --git a/ui/src/views/infra/network/NetworkTab.vue b/ui/src/views/infra/network/NetworkTab.vue index 7181bfc0841..bd23c8ae180 100644 --- a/ui/src/views/infra/network/NetworkTab.vue +++ b/ui/src/views/infra/network/NetworkTab.vue @@ -17,18 +17,34 @@