From 1ea9bfbae808fb8f869be86fc6b7dcb716b3aa32 Mon Sep 17 00:00:00 2001 From: Ming He Date: Wed, 16 Dec 2015 14:00:30 -0800 Subject: [PATCH] add compiled bundle Change-Id: I424c1d49388bbcc6155f0d4e632c0754d4973e7d --- .gitignore | 6 + v2.5/assets/css/angular-ui-tree.min.css | 0 v2.5/assets/css/chosen.css | 0 v2.5/bower.json | 1 + v2.5/data/config.json | 34 +- v2.5/data/config.json-backup | 474 ++ v2.5/data/wizard_steps.json | 30 +- v2.5/src/app/app.coffee | 14 +- v2.5/src/app/controllers/all.coffee | 0 .../src/app/controllers/baseController.coffee | 0 .../app/controllers/wizardController.coffee | 188 +- v2.5/src/app/directives/all.coffee | 0 v2.5/src/app/directives/baseDirective.coffee | 0 v2.5/src/app/factory/all.coffee | 0 v2.5/src/app/factory/baseFactory.coffee | 0 v2.5/src/app/partials/cluster-config.tpl.html | 0 v2.5/src/app/partials/cluster-nav.tpl.html | 0 .../src/app/partials/cluster-network.tpl.html | 0 .../app/partials/cluster-overview.tpl.html | 0 .../app/partials/cluster-partition.tpl.html | 0 v2.5/src/app/partials/cluster-roles.tpl.html | 0 .../app/partials/cluster-security.tpl.html | 0 v2.5/src/app/partials/cluster.tpl.html | 0 .../app/partials/find-new-servers.tpl.html | 0 v2.5/src/app/partials/network.tpl.html | 420 +- .../src/app/partials/network_mapping.tpl.html | 112 +- .../app/partials/network_mapping.tpl.html-old | 51 + v2.5/src/app/partials/progressbar.tpl.html | 0 v2.5/src/app/partials/server-list.tpl.html | 0 v2.5/src/app/partials/topnav.tpl.html | 18 +- v2.5/src/app/partials/user-setting.html | 0 v2.5/src/app/server/testServer.coffee | 0 v2.5/src/app/services/all.coffee | 0 v2.5/src/app/services/baseService.coffee | 4 +- v2.5/src/app/services/wizardService.coffee | 117 +- v2.5/src/main.coffee | 12 +- v2.5/target/assets/css/compass.min.css | 16 + ...HCpsQm3Vp6mXoaTXhCUOGz7vYGh680lGh-uXM.woff | Bin 0 -> 22656 bytes ...uBrn4kERxqtaUH3T8E0i7KZn-EPnyo3HZu7kw.woff | Bin 0 -> 21956 bytes v2.5/target/assets/fonts/FontAwesome.otf | Bin 0 -> 75188 bytes .../assets/fonts/fontawesome-webfont.eot | Bin 0 -> 72449 bytes .../assets/fonts/fontawesome-webfont.svg | 504 ++ .../assets/fonts/fontawesome-webfont.ttf | Bin 0 -> 141564 bytes .../assets/fonts/fontawesome-webfont.woff | Bin 0 -> 83760 bytes .../fonts/glyphicons-halflings-regular.woff | Bin 0 -> 23320 bytes v2.5/target/assets/img/README.md | Bin 0 -> 32103 bytes v2.5/target/assets/img/bg.png | Bin 0 -> 2841 bytes v2.5/target/assets/img/datacenter.jpg | Bin 0 -> 101794 bytes v2.5/target/assets/img/datacenter1.jpg | Bin 0 -> 1199085 bytes v2.5/target/assets/img/datacenter2.jpg | Bin 0 -> 320136 bytes v2.5/target/assets/img/dialogue-bar.jpg | Bin 0 -> 52496 bytes v2.5/target/assets/img/dialogue-bar.png | Bin 0 -> 15533 bytes v2.5/target/assets/img/dialogue-bar1.jpg | Bin 0 -> 22775 bytes v2.5/target/assets/img/fabric-texture.png | Bin 0 -> 80065 bytes v2.5/target/assets/img/happy_face.png | Bin 0 -> 7997 bytes v2.5/target/assets/img/header.png | Bin 0 -> 32606 bytes v2.5/target/assets/img/logo-header.png | Bin 0 -> 32103 bytes v2.5/target/assets/img/logo-pure.png | Bin 0 -> 24597 bytes v2.5/target/assets/img/logo-text.png | Bin 0 -> 3056 bytes v2.5/target/assets/img/logo.png | Bin 0 -> 28627 bytes v2.5/target/assets/img/logo1.png | Bin 0 -> 34432 bytes v2.5/target/assets/img/meh_face.png | Bin 0 -> 7765 bytes v2.5/target/assets/img/moni/alert.png | Bin 0 -> 3889 bytes .../assets/img/moni/cluster_summary.png | Bin 0 -> 1903 bytes v2.5/target/assets/img/moni/compute.png | Bin 0 -> 4917 bytes v2.5/target/assets/img/moni/controller.png | Bin 0 -> 10411 bytes v2.5/target/assets/img/moni/database.png | Bin 0 -> 7202 bytes v2.5/target/assets/img/moni/image.png | Bin 0 -> 16852 bytes v2.5/target/assets/img/moni/messagebus.png | Bin 0 -> 4238 bytes v2.5/target/assets/img/moni/messagebus1.png | Bin 0 -> 7306 bytes v2.5/target/assets/img/moni/monitoring.png | Bin 0 -> 7451 bytes v2.5/target/assets/img/moni/network.png | Bin 0 -> 17328 bytes v2.5/target/assets/img/moni/processes.png | Bin 0 -> 18238 bytes v2.5/target/assets/img/moni/security.png | Bin 0 -> 5818 bytes v2.5/target/assets/img/moni/store.png | Bin 0 -> 706 bytes v2.5/target/assets/img/moni/users.png | Bin 0 -> 1428 bytes v2.5/target/assets/img/network.png | Bin 0 -> 17328 bytes v2.5/target/assets/img/network_mapping.png | Bin 0 -> 29508 bytes v2.5/target/assets/img/os_global.png | Bin 0 -> 21686 bytes v2.5/target/assets/img/package_config.png | Bin 0 -> 22690 bytes v2.5/target/assets/img/partition.png | Bin 0 -> 26494 bytes v2.5/target/assets/img/review.png | Bin 0 -> 32246 bytes v2.5/target/assets/img/role_assign.png | Bin 0 -> 16884 bytes v2.5/target/assets/img/router.png | Bin 0 -> 3438 bytes v2.5/target/assets/img/server.png | Bin 0 -> 1687 bytes v2.5/target/assets/img/server1.png | Bin 0 -> 3275 bytes v2.5/target/assets/img/smile_face.png | Bin 0 -> 27580 bytes v2.5/target/assets/img/sv_selection.png | Bin 0 -> 9272 bytes v2.5/target/assets/img/switch.png | Bin 0 -> 1677 bytes v2.5/target/assets/img/switch1.png | Bin 0 -> 3920 bytes v2.5/target/assets/img/unhappy_face.png | Bin 0 -> 7888 bytes v2.5/target/data/config.json | 452 ++ v2.5/target/data/machine_host_columns.json | 237 + v2.5/target/data/monitoring_nav.json | 31 + v2.5/target/data/timezone.json | 34 + v2.5/target/data/wizard_steps.json | 121 + v2.5/target/index.html | 28 + v2.5/target/requirejs/require.js | 2129 +++++ v2.5/target/src/app/app.js | 199 + v2.5/target/src/app/controllers/all.js | 4 + .../src/app/controllers/appController.js | 23 + .../src/app/controllers/baseController.js | 7 + .../src/app/controllers/clusterController.js | 149 + .../src/app/controllers/loginController.js | 26 + .../src/app/controllers/modalControllers.js | 128 + .../src/app/controllers/serverController.js | 47 + .../src/app/controllers/topnavController.js | 30 + .../src/app/controllers/userController.js | 59 + .../src/app/controllers/wizardController.js | 600 ++ v2.5/target/src/app/directives/all.js | 4 + .../src/app/directives/baseDirective.js | 7 + .../src/app/directives/clusterNavDirective.js | 15 + .../src/app/directives/dataMatchDirective.js | 51 + .../src/app/directives/enterDirective.js | 18 + .../src/app/directives/findServerDirective.js | 161 + .../directives/hostprogressbarDirective.js | 55 + .../src/app/directives/pieChartDirective.js | 45 + .../src/app/directives/wizardDirective.js | 26 + v2.5/target/src/app/factory/all.js | 4 + v2.5/target/src/app/factory/baseFactory.js | 7 + .../src/app/factory/errorHandlingFactory.js | 29 + v2.5/target/src/app/factory/userFactory.js | 32 + v2.5/target/src/app/factory/wizardFactory.js | 193 + v2.5/target/src/app/filters/all.js | 4 + v2.5/target/src/app/filters/baseFilter.js | 7 + .../src/app/filters/healthReportFilter.js | 26 + v2.5/target/src/app/partials/ErrorInfo.html | 1 + .../app/partials/cluster-all-grid.tpl.html | 1 + .../app/partials/cluster-all-list.tpl.html | 12 + .../src/app/partials/cluster-all.tpl.html | 1 + .../src/app/partials/cluster-config.tpl.html | 1 + .../src/app/partials/cluster-nav.tpl.html | 1 + .../src/app/partials/cluster-network.tpl.html | 1 + .../app/partials/cluster-overview.tpl.html | 15 + .../app/partials/cluster-partition.tpl.html | 1 + .../src/app/partials/cluster-report.tpl.html | 1 + .../src/app/partials/cluster-roles.tpl.html | 2 + .../app/partials/cluster-security.tpl.html | 1 + v2.5/target/src/app/partials/cluster.tpl.html | 1 + .../app/partials/find-new-servers.tpl.html | 46 + v2.5/target/src/app/partials/global.tpl.html | 1 + v2.5/target/src/app/partials/login.tpl.html | 1 + .../src/app/partials/modalAddNewServers.html | 1 + .../src/app/partials/modalAddSubnet.tpl.html | 1 + .../app/partials/modalClusterCreate.tpl.html | 1 + .../app/partials/modalCreateUserSetting.html | 1 + .../src/app/partials/modalErrorMessage.html | 1 + .../src/app/partials/modalModifySwitch.html | 1 + .../src/app/partials/modalUploadFiles.html | 1 + v2.5/target/src/app/partials/network.tpl.html | 3 + .../src/app/partials/network_mapping.tpl.html | 4 + .../app/partials/network_mapping.tpl.html-old | 1 + .../src/app/partials/package_config.tpl.html | 1 + .../src/app/partials/partition.tpl.html | 1 + .../src/app/partials/progressbar.tpl.html | 1 + v2.5/target/src/app/partials/review.tpl.html | 2 + .../src/app/partials/role_assignment.tpl.html | 2 + .../src/app/partials/server-list.tpl.html | 1 + .../app/partials/server_selection.tpl.html | 2 + v2.5/target/src/app/partials/test.tpl.html | 1 + v2.5/target/src/app/partials/topnav.tpl.html | 1 + .../target/src/app/partials/user-setting.html | 1 + v2.5/target/src/app/partials/wizard.tpl.html | 1 + v2.5/target/src/app/server/appDev.js | 7090 +++++++++++++++++ v2.5/target/src/app/server/testServer.js | 148 + v2.5/target/src/app/services/all.js | 4 + .../src/app/services/authenticationService.js | 56 + v2.5/target/src/app/services/baseService.js | 11 + .../target/src/app/services/clusterService.js | 314 + v2.5/target/src/app/services/dataService.js | 197 + v2.5/target/src/app/services/userService.js | 28 + v2.5/target/src/app/services/wizardService.js | 1675 ++++ v2.5/target/src/bootstrap.js | 9 + v2.5/target/src/main.js | 97 + .../vendor/angular-dragdrop/draganddrop.js | 338 + 175 files changed, 16739 insertions(+), 333 deletions(-) mode change 100755 => 100644 v2.5/assets/css/angular-ui-tree.min.css mode change 100755 => 100644 v2.5/assets/css/chosen.css create mode 100644 v2.5/data/config.json-backup mode change 100755 => 100644 v2.5/src/app/app.coffee mode change 100755 => 100644 v2.5/src/app/controllers/all.coffee mode change 100755 => 100644 v2.5/src/app/controllers/baseController.coffee mode change 100755 => 100644 v2.5/src/app/directives/all.coffee mode change 100755 => 100644 v2.5/src/app/directives/baseDirective.coffee mode change 100755 => 100644 v2.5/src/app/factory/all.coffee mode change 100755 => 100644 v2.5/src/app/factory/baseFactory.coffee mode change 100755 => 100644 v2.5/src/app/partials/cluster-config.tpl.html mode change 100755 => 100644 v2.5/src/app/partials/cluster-nav.tpl.html mode change 100755 => 100644 v2.5/src/app/partials/cluster-network.tpl.html mode change 100755 => 100644 v2.5/src/app/partials/cluster-overview.tpl.html mode change 100755 => 100644 v2.5/src/app/partials/cluster-partition.tpl.html mode change 100755 => 100644 v2.5/src/app/partials/cluster-roles.tpl.html mode change 100755 => 100644 v2.5/src/app/partials/cluster-security.tpl.html mode change 100755 => 100644 v2.5/src/app/partials/cluster.tpl.html mode change 100755 => 100644 v2.5/src/app/partials/find-new-servers.tpl.html create mode 100644 v2.5/src/app/partials/network_mapping.tpl.html-old mode change 100755 => 100644 v2.5/src/app/partials/progressbar.tpl.html mode change 100755 => 100644 v2.5/src/app/partials/server-list.tpl.html mode change 100755 => 100644 v2.5/src/app/partials/user-setting.html mode change 100755 => 100644 v2.5/src/app/server/testServer.coffee mode change 100755 => 100644 v2.5/src/app/services/all.coffee mode change 100755 => 100644 v2.5/src/app/services/baseService.coffee create mode 100644 v2.5/target/assets/css/compass.min.css create mode 100644 v2.5/target/assets/font/DXI1ORHCpsQm3Vp6mXoaTXhCUOGz7vYGh680lGh-uXM.woff create mode 100644 v2.5/target/assets/font/cJZKeOuBrn4kERxqtaUH3T8E0i7KZn-EPnyo3HZu7kw.woff create mode 100644 v2.5/target/assets/fonts/FontAwesome.otf create mode 100644 v2.5/target/assets/fonts/fontawesome-webfont.eot create mode 100644 v2.5/target/assets/fonts/fontawesome-webfont.svg create mode 100644 v2.5/target/assets/fonts/fontawesome-webfont.ttf create mode 100644 v2.5/target/assets/fonts/fontawesome-webfont.woff create mode 100644 v2.5/target/assets/fonts/glyphicons-halflings-regular.woff create mode 100644 v2.5/target/assets/img/README.md create mode 100644 v2.5/target/assets/img/bg.png create mode 100644 v2.5/target/assets/img/datacenter.jpg create mode 100644 v2.5/target/assets/img/datacenter1.jpg create mode 100644 v2.5/target/assets/img/datacenter2.jpg create mode 100644 v2.5/target/assets/img/dialogue-bar.jpg create mode 100644 v2.5/target/assets/img/dialogue-bar.png create mode 100644 v2.5/target/assets/img/dialogue-bar1.jpg create mode 100644 v2.5/target/assets/img/fabric-texture.png create mode 100644 v2.5/target/assets/img/happy_face.png create mode 100644 v2.5/target/assets/img/header.png create mode 100644 v2.5/target/assets/img/logo-header.png create mode 100644 v2.5/target/assets/img/logo-pure.png create mode 100644 v2.5/target/assets/img/logo-text.png create mode 100644 v2.5/target/assets/img/logo.png create mode 100644 v2.5/target/assets/img/logo1.png create mode 100644 v2.5/target/assets/img/meh_face.png create mode 100644 v2.5/target/assets/img/moni/alert.png create mode 100644 v2.5/target/assets/img/moni/cluster_summary.png create mode 100644 v2.5/target/assets/img/moni/compute.png create mode 100644 v2.5/target/assets/img/moni/controller.png create mode 100644 v2.5/target/assets/img/moni/database.png create mode 100644 v2.5/target/assets/img/moni/image.png create mode 100644 v2.5/target/assets/img/moni/messagebus.png create mode 100644 v2.5/target/assets/img/moni/messagebus1.png create mode 100644 v2.5/target/assets/img/moni/monitoring.png create mode 100644 v2.5/target/assets/img/moni/network.png create mode 100644 v2.5/target/assets/img/moni/processes.png create mode 100644 v2.5/target/assets/img/moni/security.png create mode 100644 v2.5/target/assets/img/moni/store.png create mode 100644 v2.5/target/assets/img/moni/users.png create mode 100644 v2.5/target/assets/img/network.png create mode 100644 v2.5/target/assets/img/network_mapping.png create mode 100644 v2.5/target/assets/img/os_global.png create mode 100644 v2.5/target/assets/img/package_config.png create mode 100644 v2.5/target/assets/img/partition.png create mode 100644 v2.5/target/assets/img/review.png create mode 100644 v2.5/target/assets/img/role_assign.png create mode 100644 v2.5/target/assets/img/router.png create mode 100644 v2.5/target/assets/img/server.png create mode 100644 v2.5/target/assets/img/server1.png create mode 100644 v2.5/target/assets/img/smile_face.png create mode 100644 v2.5/target/assets/img/sv_selection.png create mode 100644 v2.5/target/assets/img/switch.png create mode 100644 v2.5/target/assets/img/switch1.png create mode 100644 v2.5/target/assets/img/unhappy_face.png create mode 100644 v2.5/target/data/config.json create mode 100644 v2.5/target/data/machine_host_columns.json create mode 100644 v2.5/target/data/monitoring_nav.json create mode 100644 v2.5/target/data/timezone.json create mode 100644 v2.5/target/data/wizard_steps.json create mode 100644 v2.5/target/index.html create mode 100644 v2.5/target/requirejs/require.js create mode 100644 v2.5/target/src/app/app.js create mode 100644 v2.5/target/src/app/controllers/all.js create mode 100644 v2.5/target/src/app/controllers/appController.js create mode 100644 v2.5/target/src/app/controllers/baseController.js create mode 100644 v2.5/target/src/app/controllers/clusterController.js create mode 100644 v2.5/target/src/app/controllers/loginController.js create mode 100644 v2.5/target/src/app/controllers/modalControllers.js create mode 100644 v2.5/target/src/app/controllers/serverController.js create mode 100644 v2.5/target/src/app/controllers/topnavController.js create mode 100644 v2.5/target/src/app/controllers/userController.js create mode 100644 v2.5/target/src/app/controllers/wizardController.js create mode 100644 v2.5/target/src/app/directives/all.js create mode 100644 v2.5/target/src/app/directives/baseDirective.js create mode 100644 v2.5/target/src/app/directives/clusterNavDirective.js create mode 100644 v2.5/target/src/app/directives/dataMatchDirective.js create mode 100644 v2.5/target/src/app/directives/enterDirective.js create mode 100644 v2.5/target/src/app/directives/findServerDirective.js create mode 100644 v2.5/target/src/app/directives/hostprogressbarDirective.js create mode 100644 v2.5/target/src/app/directives/pieChartDirective.js create mode 100644 v2.5/target/src/app/directives/wizardDirective.js create mode 100644 v2.5/target/src/app/factory/all.js create mode 100644 v2.5/target/src/app/factory/baseFactory.js create mode 100644 v2.5/target/src/app/factory/errorHandlingFactory.js create mode 100644 v2.5/target/src/app/factory/userFactory.js create mode 100644 v2.5/target/src/app/factory/wizardFactory.js create mode 100644 v2.5/target/src/app/filters/all.js create mode 100644 v2.5/target/src/app/filters/baseFilter.js create mode 100644 v2.5/target/src/app/filters/healthReportFilter.js create mode 100644 v2.5/target/src/app/partials/ErrorInfo.html create mode 100644 v2.5/target/src/app/partials/cluster-all-grid.tpl.html create mode 100644 v2.5/target/src/app/partials/cluster-all-list.tpl.html create mode 100644 v2.5/target/src/app/partials/cluster-all.tpl.html create mode 100644 v2.5/target/src/app/partials/cluster-config.tpl.html create mode 100644 v2.5/target/src/app/partials/cluster-nav.tpl.html create mode 100644 v2.5/target/src/app/partials/cluster-network.tpl.html create mode 100644 v2.5/target/src/app/partials/cluster-overview.tpl.html create mode 100644 v2.5/target/src/app/partials/cluster-partition.tpl.html create mode 100644 v2.5/target/src/app/partials/cluster-report.tpl.html create mode 100644 v2.5/target/src/app/partials/cluster-roles.tpl.html create mode 100644 v2.5/target/src/app/partials/cluster-security.tpl.html create mode 100644 v2.5/target/src/app/partials/cluster.tpl.html create mode 100644 v2.5/target/src/app/partials/find-new-servers.tpl.html create mode 100644 v2.5/target/src/app/partials/global.tpl.html create mode 100644 v2.5/target/src/app/partials/login.tpl.html create mode 100644 v2.5/target/src/app/partials/modalAddNewServers.html create mode 100644 v2.5/target/src/app/partials/modalAddSubnet.tpl.html create mode 100644 v2.5/target/src/app/partials/modalClusterCreate.tpl.html create mode 100644 v2.5/target/src/app/partials/modalCreateUserSetting.html create mode 100644 v2.5/target/src/app/partials/modalErrorMessage.html create mode 100644 v2.5/target/src/app/partials/modalModifySwitch.html create mode 100644 v2.5/target/src/app/partials/modalUploadFiles.html create mode 100644 v2.5/target/src/app/partials/network.tpl.html create mode 100644 v2.5/target/src/app/partials/network_mapping.tpl.html create mode 100644 v2.5/target/src/app/partials/network_mapping.tpl.html-old create mode 100644 v2.5/target/src/app/partials/package_config.tpl.html create mode 100644 v2.5/target/src/app/partials/partition.tpl.html create mode 100644 v2.5/target/src/app/partials/progressbar.tpl.html create mode 100644 v2.5/target/src/app/partials/review.tpl.html create mode 100644 v2.5/target/src/app/partials/role_assignment.tpl.html create mode 100644 v2.5/target/src/app/partials/server-list.tpl.html create mode 100644 v2.5/target/src/app/partials/server_selection.tpl.html create mode 100644 v2.5/target/src/app/partials/test.tpl.html create mode 100644 v2.5/target/src/app/partials/topnav.tpl.html create mode 100644 v2.5/target/src/app/partials/user-setting.html create mode 100644 v2.5/target/src/app/partials/wizard.tpl.html create mode 100644 v2.5/target/src/app/server/appDev.js create mode 100644 v2.5/target/src/app/server/testServer.js create mode 100644 v2.5/target/src/app/services/all.js create mode 100644 v2.5/target/src/app/services/authenticationService.js create mode 100644 v2.5/target/src/app/services/baseService.js create mode 100644 v2.5/target/src/app/services/clusterService.js create mode 100644 v2.5/target/src/app/services/dataService.js create mode 100644 v2.5/target/src/app/services/userService.js create mode 100644 v2.5/target/src/app/services/wizardService.js create mode 100644 v2.5/target/src/bootstrap.js create mode 100644 v2.5/target/src/main.js create mode 100644 v2.5/target/vendor/angular-dragdrop/draganddrop.js diff --git a/.gitignore b/.gitignore index d94c0c8..f63ae55 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,9 @@ *~ *.swp .DS_Store +node_modules +bower_components +.remote-sync.json +venv + + diff --git a/v2.5/assets/css/angular-ui-tree.min.css b/v2.5/assets/css/angular-ui-tree.min.css old mode 100755 new mode 100644 diff --git a/v2.5/assets/css/chosen.css b/v2.5/assets/css/chosen.css old mode 100755 new mode 100644 diff --git a/v2.5/bower.json b/v2.5/bower.json index aa82302..a124d3e 100644 --- a/v2.5/bower.json +++ b/v2.5/bower.json @@ -16,6 +16,7 @@ "devDependencies": { "angular-bootstrap": "~0.12.0", "angular": "1.2.16", + "angular-cookies": "1.2.16", "angular-daterangepicker": "~0.1.12", "bootstrap": "3.1.1", "angular-ui-router": "~0.2.13", diff --git a/v2.5/data/config.json b/v2.5/data/config.json index f6feeba..d8aa00f 100644 --- a/v2.5/data/config.json +++ b/v2.5/data/config.json @@ -16,38 +16,17 @@ "max_size": "20G" } }, - "interface": { - "eth0": { - "subnet_id": 1, - "is_mgmt": true, - "is_promiscuous": false - }, - "eth1": { - "subnet_id": 2, - "is_mgmt": false, - "is_promiscuous": true - }, - "eth2": { - "subnet_id": 1, - "is_mgmt": false, - "is_promiscuous": false - }, - "eth3": { - "subnet_id": 2, - "is_mgmt": false, - "is_promiscuous": false - } - }, + "interface": { }, "general": { "timezone": "America/Los_Angeles", "language": "en", "http_proxy": "", "https_proxy": "", "no_proxy": [""], - "ntp_server": "", - "dns_servers": [""], + "ntp_server": "127.0.0.1", + "dns_servers": ["ods.com"], "search_path": ["ods.com"], - "domain": "ods.com", + "domain": ["ods.com"], "default_gateway": "10.145.88.1", "local_repo": "" }, @@ -124,8 +103,7 @@ } }, "network_mapping": { - "management": "", - "tenant": "", + "mgmt": "", "storage": "", "external": "" } @@ -471,4 +449,4 @@ } } } -} \ No newline at end of file +} diff --git a/v2.5/data/config.json-backup b/v2.5/data/config.json-backup new file mode 100644 index 0000000..f6feeba --- /dev/null +++ b/v2.5/data/config.json-backup @@ -0,0 +1,474 @@ +{ + "openstack": { + "cluster": { + "id": 1, + "name": "demo", + "adapter_id": 1, + "os_id": 1 + }, + "partition": { + "/var": { + "percentage": 30, + "max_size": "10G" + }, + "/usr": { + "percentage": 30, + "max_size": "20G" + } + }, + "interface": { + "eth0": { + "subnet_id": 1, + "is_mgmt": true, + "is_promiscuous": false + }, + "eth1": { + "subnet_id": 2, + "is_mgmt": false, + "is_promiscuous": true + }, + "eth2": { + "subnet_id": 1, + "is_mgmt": false, + "is_promiscuous": false + }, + "eth3": { + "subnet_id": 2, + "is_mgmt": false, + "is_promiscuous": false + } + }, + "general": { + "timezone": "America/Los_Angeles", + "language": "en", + "http_proxy": "", + "https_proxy": "", + "no_proxy": [""], + "ntp_server": "", + "dns_servers": [""], + "search_path": ["ods.com"], + "domain": "ods.com", + "default_gateway": "10.145.88.1", + "local_repo": "" + }, + "server_credentials": { + "username": "", + "password": "" + }, + "service_credentials": { + "rabbitmq": { + "username": "guest", + "password": "guest" + }, + "compute": { + "username": "nova", + "password": "nova" + }, + "dashboard": { + "username": "dashboard", + "password": "dashboard" + }, + "identity": { + "username": "keystone", + "password": "keystone" + }, + "image": { + "username": "glance", + "password": "glance" + }, + "metering": { + "username": "ceilometer", + "password": "ceilometer" + }, + "mysql": { + "username": "root", + "password": "root" + }, + "volume": { + "username": "cinder", + "password": "cinder" + } + }, + "console_credentials": { + "admin": { + "username": "admin", + "password": "admin" + }, + "compute": { + "username": "nova", + "password": "nova" + }, + "dashboard": { + "username": "dashboard", + "password": "dashboard" + }, + "image": { + "username": "glance", + "password": "glance" + }, + "metering": { + "username": "ceilometer", + "password": "ceilometer" + }, + "network": { + "username": "quantum", + "password": "quantum" + }, + "object-store": { + "username": "swift", + "password": "swift" + }, + "volume": { + "username": "cinder", + "password": "cinder" + } + }, + "network_mapping": { + "management": "", + "tenant": "", + "storage": "", + "external": "" + } + }, + "openstack_ceph": { + "cluster": { + "id": 1, + "name": "demo", + "adapter_id": 1, + "os_id": 1 + }, + "partition": { + "/var": { + "percentage": 30, + "max_size": "10G" + }, + "/usr": { + "percentage": 30, + "max_size": "20G" + } + }, + "interface": { + "eth0": { + "subnet_id": 1, + "is_mgmt": true, + "is_promiscuous": false + }, + "eth1": { + "subnet_id": 2, + "is_mgmt": false, + "is_promiscuous": true + }, + "eth2": { + "subnet_id": 1, + "is_mgmt": false, + "is_promiscuous": false + }, + "eth3": { + "subnet_id": 2, + "is_mgmt": false, + "is_promiscuous": false + } + }, + "general": { + "timezone": "America/Los_Angeles", + "language": "en", + "http_proxy": "", + "https_proxy": "", + "no_proxy": [""], + "ntp_server": "", + "dns_servers": [""], + "search_path": ["ods.com"], + "domain": "ods.com", + "default_gateway": "10.145.88.1", + "local_repo": "" + }, + "server_credentials": { + "username": "", + "password": "" + }, + "service_credentials": { + "rabbitmq": { + "username": "guest", + "password": "guest" + }, + "compute": { + "username": "nova", + "password": "nova" + }, + "dashboard": { + "username": "dashboard", + "password": "dashboard" + }, + "identity": { + "username": "keystone", + "password": "keystone" + }, + "image": { + "username": "glance", + "password": "glance" + }, + "metering": { + "username": "ceilometer", + "password": "ceilometer" + }, + "mysql": { + "username": "root", + "password": "root" + }, + "volume": { + "username": "cinder", + "password": "cinder" + } + }, + "console_credentials": { + "admin": { + "username": "admin", + "password": "admin" + }, + "compute": { + "username": "nova", + "password": "nova" + }, + "dashboard": { + "username": "dashboard", + "password": "dashboard" + }, + "image": { + "username": "glance", + "password": "glance" + }, + "metering": { + "username": "ceilometer", + "password": "ceilometer" + }, + "network": { + "username": "quantum", + "password": "quantum" + }, + "object-store": { + "username": "swift", + "password": "swift" + }, + "volume": { + "username": "cinder", + "password": "cinder" + } + }, + "network_mapping": { + "management": "", + "tenant": "", + "storage": "", + "external": "", + "public_network": "", + "cluster_network": "" + }, + "ceph_config": { + "global_config": { + "osd_pool_pg_num": "1024", + "osd_pool_pgp_num": "1024", + "osd_pool_size": "3" + }, + "osd_config": { + "journal_size": "10000", + "op_threads": 10 + } + } + }, + "os_only": { + "cluster": { + "id": 1, + "name": "demo", + "adapter_id": 1, + "os_id": 1 + }, + "partition": { + "/var": { + "percentage": 30, + "max_size": "10G" + }, + "/usr": { + "percentage": 30, + "max_size": "20G" + } + }, + "interface": { + "eth0": { + "subnet_id": 1, + "is_mgmt": true, + "is_promiscuous": false + }, + "eth1": { + "subnet_id": 2, + "is_mgmt": false, + "is_promiscuous": true + }, + "eth2": { + "subnet_id": 1, + "is_mgmt": false, + "is_promiscuous": false + }, + "eth3": { + "subnet_id": 2, + "is_mgmt": false, + "is_promiscuous": false + } + }, + "general": { + "timezone": "America/Los_Angeles", + "language": "en", + "http_proxy": "", + "https_proxy": "", + "no_proxy": [""], + "ntp_server": "", + "dns_servers": [""], + "search_path": ["ods.com"], + "domain": "ods.com", + "default_gateway": "10.145.88.1", + "local_repo": "" + }, + "server_credentials": { + "username": "", + "password": "" + } + }, + "ceph_firefly": { + "cluster": { + "id": 1, + "name": "demo", + "adapter_id": 1, + "os_id": 1 + }, + "partition": { + "/var": { + "percentage": 30, + "max_size": "10G" + }, + "/usr": { + "percentage": 30, + "max_size": "20G" + } + }, + "interface": { + "eth0": { + "subnet_id": 1, + "is_mgmt": true, + "is_promiscuous": false + }, + "eth1": { + "subnet_id": 2, + "is_mgmt": false, + "is_promiscuous": true + }, + "eth2": { + "subnet_id": 1, + "is_mgmt": false, + "is_promiscuous": false + }, + "eth3": { + "subnet_id": 2, + "is_mgmt": false, + "is_promiscuous": false + } + }, + "general": { + "timezone": "America/Los_Angeles", + "language": "en", + "http_proxy": "", + "https_proxy": "", + "no_proxy": [""], + "ntp_server": "", + "dns_servers": [""], + "search_path": ["ods.com"], + "domain": "ods.com", + "default_gateway": "10.145.88.1", + "local_repo": "" + }, + "server_credentials": { + "username": "", + "password": "" + }, + "service_credentials": { + "rabbitmq": { + "username": "guest", + "password": "guest" + }, + "compute": { + "username": "nova", + "password": "nova" + }, + "dashboard": { + "username": "dashboard", + "password": "dashboard" + }, + "identity": { + "username": "keystone", + "password": "keystone" + }, + "image": { + "username": "glance", + "password": "glance" + }, + "metering": { + "username": "ceilometer", + "password": "ceilometer" + }, + "mysql": { + "username": "root", + "password": "root" + }, + "volume": { + "username": "cinder", + "password": "cinder" + } + }, + "console_credentials": { + "admin": { + "username": "admin", + "password": "admin" + }, + "compute": { + "username": "nova", + "password": "nova" + }, + "dashboard": { + "username": "dashboard", + "password": "dashboard" + }, + "image": { + "username": "glance", + "password": "glance" + }, + "metering": { + "username": "ceilometer", + "password": "ceilometer" + }, + "network": { + "username": "quantum", + "password": "quantum" + }, + "object-store": { + "username": "swift", + "password": "swift" + }, + "volume": { + "username": "cinder", + "password": "cinder" + } + }, + "network_mapping": { + "public_network": "", + "cluster_network": "" + }, + "ceph_config": { + "global_config": { + "osd_pool_pg_num": "1024", + "osd_pool_pgp_num": "1024", + "osd_pool_size": "3" + }, + "osd_config": { + "journal_size": "10000", + "op_threads": 10 + } + } + } +} \ No newline at end of file diff --git a/v2.5/data/wizard_steps.json b/v2.5/data/wizard_steps.json index 68857f0..67af395 100644 --- a/v2.5/data/wizard_steps.json +++ b/v2.5/data/wizard_steps.json @@ -15,39 +15,39 @@ "description": "" }, { "id": 3, - "name": "network", - "title": "Network", - "state": "", - "template": "src/app/partials/network.tpl.html", - "description": "" - }, { - "id": 4, "name": "partition", "title": "Partition", "state": "", "template": "src/app/partials/partition.tpl.html", "description": "" + }, { + "id": 4, + "name": "network", + "title": "Network", + "state": "", + "template": "src/app/partials/network.tpl.html", + "description": "" }, { "id": 5, + "name": "network_mapping", + "title": "Network Mapping", + "state": "", + "template": "src/app/partials/network_mapping.tpl.html", + "description": "" + }, { + "id": 6, "name": "package_config", "title": "Target System Config", "state": "", "template": "src/app/partials/package_config.tpl.html", "description": "" }, { - "id": 6, + "id": 7, "name": "role_assign", "title": "Role Assignment", "state": "", "template": "src/app/partials/role_assignment.tpl.html", "description": "" - }, { - "id": 7, - "name": "network_mapping", - "title": "Network Mapping", - "state": "", - "template": "src/app/partials/network_mapping.tpl.html", - "description": "" }, { "id": 8, "name": "review", diff --git a/v2.5/src/app/app.coffee b/v2.5/src/app/app.coffee old mode 100755 new mode 100644 index 8a54333..0adf45c --- a/v2.5/src/app/app.coffee +++ b/v2.5/src/app/app.coffee @@ -1,6 +1,7 @@ define(['angular' 'uiRouter' 'angularTable' + 'angularCookies' 'uiBootstrap' 'angularDragDrop' 'app/controllers/all' @@ -16,6 +17,7 @@ define(['angular' 'ngTable' 'ui.bootstrap' 'ngDragDrop' + 'ngCookies' 'compass.controllers' 'compass.services' 'compass.factories' @@ -47,21 +49,21 @@ define(['angular' controller: 'wizardCtrl' templateUrl: 'src/app/partials/wizard.tpl.html' requireAuthenticated: true - resolve: + resolve: clusterData: ['$stateParams', '$q', 'wizardService', ($stateParams, $q, wizardService) -> clusterId = $stateParams.id deferred = $q.defer() wizardService.getClusterById(clusterId).success (data) -> deferred.resolve(data) - + return deferred.promise; ] - machinesHostsData: ['$q', 'wizardService', ($q, wizardService) -> + machinesHostsData: ['$q', 'wizardService', ($q, wizardService) -> deferred = $q.defer() wizardService.getAllMachineHosts().success (data) -> deferred.resolve(data) - + return deferred.promise ] wizardStepsData: ['$q', 'wizardService', ($q, wizardService) -> # get the create-cluster-wizard steps @@ -71,7 +73,7 @@ define(['angular' ); return deferred.promise ] - clusterConfigData: ['$stateParams', '$q', 'wizardService', ($stateParams, $q, wizardService) -> + clusterConfigData: ['$stateParams', '$q', 'wizardService', ($stateParams, $q, wizardService) -> clusterId = $stateParams.id deferred = $q.defer() wizardService.getClusterConfig(clusterId).success((data) -> @@ -172,4 +174,4 @@ define(['angular' $state.transitionTo("login") event.preventDefault() ] -) \ No newline at end of file +) diff --git a/v2.5/src/app/controllers/all.coffee b/v2.5/src/app/controllers/all.coffee old mode 100755 new mode 100644 diff --git a/v2.5/src/app/controllers/baseController.coffee b/v2.5/src/app/controllers/baseController.coffee old mode 100755 new mode 100644 diff --git a/v2.5/src/app/controllers/wizardController.coffee b/v2.5/src/app/controllers/wizardController.coffee index 83fccf8..5f2c012 100644 --- a/v2.5/src/app/controllers/wizardController.coffee +++ b/v2.5/src/app/controllers/wizardController.coffee @@ -1,4 +1,4 @@ -define(['./baseController'], ()-> +define(['./baseController'], ()-> 'use strict'; angular.module('compass.controllers') @@ -44,7 +44,7 @@ define(['./baseController'], ()-> $scope.server_columns = data.showall wizardService.displayDataInTable($scope, $scope.allservers) - + wizardService.watchingTriggeredStep($scope) $scope.hideUnselected = -> @@ -52,7 +52,7 @@ define(['./baseController'], ()-> $scope.ifPreSelect = (server) -> server.disable = false - if server.clusters + if server.clusters server.disabled = true if server.clusters.length > 0 for svCluster in server.clusters if svCluster.id == $scope.cluster.id @@ -89,7 +89,7 @@ define(['./baseController'], ()-> wizardService.watchAndAddNewServers($scope) $scope.commit = (sendRequest) -> - wizardService.svSelectonCommit($scope) + wizardService.svSelectonCommit($scope) ] .controller 'globalCtrl', ['$scope', 'wizardService', '$q', ($scope, wizardService, $q) -> @@ -106,8 +106,8 @@ define(['./baseController'], ()-> $scope.commit = (sendRequest) -> wizardService.globalCommit($scope,sendRequest) ] - .controller 'networkCtrl', ['$scope', 'wizardService', 'ngTableParams', '$filter', '$modal', '$timeout' - ($scope, wizardService, ngTableParams, $filter, $modal, $timeout) -> + .controller 'networkCtrl', ['$rootScope', '$scope', 'wizardService', 'ngTableParams', '$filter', '$modal', '$timeout', '$cookieStore', + ($rootScope, $scope, wizardService, ngTableParams, $filter, $modal, $timeout, $cookieStore) -> wizardService.networkInit($scope) wizardService.watchingTriggeredStep($scope) @@ -139,6 +139,16 @@ define(['./baseController'], ()-> delete $scope.interfaces[delInterface] delete sv.networks[delInterface] for sv in $scope.servers + $scope.selectAsInstallInterface = (evt, name) -> + checkbox = evt.target + if !checkbox.checked + return + + for n of $scope.interfaces + if n != name + $scope.interfaces[n].is_mgmt = false + return + $scope.openAddSubnetModal = -> modalInstance = $modal.open( templateUrl: "src/app/partials/modalAddSubnet.tpl.html" @@ -157,6 +167,15 @@ define(['./baseController'], ()-> ) $scope.commit = (sendRequest) -> + installInterface = {}; # the physical interface to install os + $rootScope.networkMappingInterfaces = {}; # the interface name are needed to map openstack componets + for name, value of $scope.interfaces + if value.is_mgmt + installInterface[name] = value + else + $rootScope.networkMappingInterfaces[name] = value + $scope.interfaces = installInterface # only need to store install interface + $cookieStore.put('networkMappingInterfaces', $rootScope.networkMappingInterfaces) wizardService.networkCommit($scope, sendRequest) # display data in the table @@ -164,6 +183,10 @@ define(['./baseController'], ()-> $scope.servers = data if $scope.servers[0].networks and Object.keys($scope.servers[0].networks).length != 0 $scope.interfaces = $scope.servers[0].networks + # retrive saved network mapping interfaces + savedNetworkMappingInterfaces = $cookieStore.get('networkMappingInterfaces'); + for name, value of savedNetworkMappingInterfaces + $scope.interfaces[name] = value wizardService.setInterfaces($scope.interfaces) wizardService.displayDataInTable($scope, $scope.servers) @@ -284,6 +307,151 @@ define(['./baseController'], ()-> wizardService.networkMappingInit($scope) wizardService.watchingTriggeredStep($scope) + $scope.nics = { + external: 'eth1', + mgmt: 'eth1', + storage: 'eth1' + }; + + $scope.vlanTags = { + mgmt: '101', + storage: '102' + }; + + $scope.ips = { + mgmt: { + start: '172.16.1.10', + end: '172.16.1.255', + cidr: '127.16.1.0/24', + internal_vip: '172.16.1.222' + }, + external: { + start: '10.145.250.10', + end: '10.145.250.255', + cidr: '10.145.250.0/24', + gw_ip: '10.145.250.1', + public_vip: '10.145.250.221' + }, + storage: { + start: '172.16.2.10', + end: '172.16.2.255', + cidr: '172.16.2.0/24' + }, + ha_proxy: { + vip: '10.1.0.222' + } + }; + + configureNeutronCfg = -> + neutronCfg = { + 'openvswitch': { + 'tenant_network_type': 'vxlan', + 'network_vlan_ranges': ['physnet:1:4094'], + 'bridge_mappings': ['physnet:br-prv'] + } + } + return neutronCfg + + configureNetworkCfg = -> + #configure the packageConfig.network_cfg + networkCfg = { + 'bond_mappings': [], + 'sys_intf_mappings': [{ + 'interface': $scope.nics.mgmt, + 'role': ['controller', 'compute'], + 'vlan_tag': $scope.vlanTags.mgmt, + 'type': 'vlan', + 'name': 'mgmt' + }, { + 'interface': $scope.nics.storage, + 'role': ['controller', 'compute'], + 'vlan_tag': $scope.vlanTags.storage, + 'type': 'vlan', + 'name': 'storage' + }, { + 'interface': 'br-prv', + 'role': ['controller', 'compute'], + 'type': 'ovs', + 'name': 'external' + }], + 'nic_mappings': [], + 'public_net_info': { + 'no_gateway': 'False', + 'external_gw': $scope.ips.external.ip, + 'enable': 'False', + 'floating_ip_cidr': $scope.ips.external.cidr, + 'floating_ip_start': $scope.ips.external.start, + 'floating_ip_end': $scope.ips.external.end, + 'provider_network': 'physnet', + 'subnet': 'ext-subnet', + 'network': 'ext-net', + 'enable_dhcp': 'False', + 'segment_id': 1000, + 'router': 'router-ext', + 'type': 'vlan' + }, + 'internal_vip': { + 'interface': 'mgmt', + 'ip': $scope.ips.mgmt.internal_vip, + 'netmask': wizardService.getNetMaskFromCIDR($scope.ips.mgmt.cidr) + }, + 'public_vip': { + 'interface': 'external', + 'ip': $scope.ips.external.public_vip, + 'netmask': wizardService.getNetMaskFromCIDR($scope.ips.external.cidr) + }, + 'provider_net_mappings': [{ + 'interface': $scope.interfaces.external, + 'role': ['controller', 'compute'], + 'type': 'ovs', + 'name': 'br-prv', + 'network': 'physnet' + }], + 'ip_settings': [{ + 'cidr': $scope.ips.mgmt.cidr, + 'role': ['controller', 'compute'], + 'name': 'mgmt', + 'ip_ranges': [[$scope.ips.mgmt.start, $scope.ips.mgmt.end]] + }, { + 'cidr': $scope.ips.storage.cidr, + 'role': ['controller', 'compute'], + 'name': 'storage', + 'ip_ranges': [[$scope.ips.storage.start, $scope.ips.storage.end]] + }, { + 'gw': $scope.ips.external.gw_ip, + 'cidr': $scope.ips.external.cidr, + 'role': ['controller', 'compute'], + 'name': 'external', + 'ip_ranges': [[$scope.ips.external.start, $scope.ips.external.end]] + }] + } + return networkCfg + + configureNetworkMapping = -> + installNic = {} + nicName = '' + # somehow the interfaces are stored from previous step + # use it to configure the install network for networkMapping + for nic, value of $scope.interfaces + installNic = value if value.is_mgmt + nicName = nic if value.is_mgmt + $scope.networkMapping = { + 'install': { + 'interface': nicName, + 'subnet': installNic.subnet + } + } + return + + configureHAProxyCfg = -> + haCfg = { + 'vip': $scope.ips.ha_proxy.vip + } + return haCfg + + # locate the install network, it is used to setup networkMapping and HAProxy + configureNetworkMapping() + $scope.onDrop = ($event, key) -> $scope.pendingInterface = key @@ -291,14 +459,18 @@ define(['./baseController'], ()-> dict[key].mapping_interface = $scope.pendingInterface $scope.commit = (sendRequest) -> - wizardService.networkMappingCommit($scope, sendRequest) + networkCfg = configureNetworkCfg() + neutronCfg = configureNeutronCfg() + haCfg = configureHAProxyCfg() + wizardService.networkMappingCommit($scope, networkCfg, $scope.networkMapping, + neutronCfg, haCfg, sendRequest) ] .controller 'reviewCtrl', ['$scope', 'wizardService', 'ngTableParams', '$filter', '$location', '$anchorScroll' ($scope, wizardService, ngTableParams, $filter, $location, $anchorScroll) -> wizardService.reviewInit($scope) wizardService.watchingTriggeredStep($scope) - $scope.scrollTo = (id) -> + $scope.scrollTo = (id) -> old = $location.hash(); $location.hash(id); $anchorScroll(); diff --git a/v2.5/src/app/directives/all.coffee b/v2.5/src/app/directives/all.coffee old mode 100755 new mode 100644 diff --git a/v2.5/src/app/directives/baseDirective.coffee b/v2.5/src/app/directives/baseDirective.coffee old mode 100755 new mode 100644 diff --git a/v2.5/src/app/factory/all.coffee b/v2.5/src/app/factory/all.coffee old mode 100755 new mode 100644 diff --git a/v2.5/src/app/factory/baseFactory.coffee b/v2.5/src/app/factory/baseFactory.coffee old mode 100755 new mode 100644 diff --git a/v2.5/src/app/partials/cluster-config.tpl.html b/v2.5/src/app/partials/cluster-config.tpl.html old mode 100755 new mode 100644 diff --git a/v2.5/src/app/partials/cluster-nav.tpl.html b/v2.5/src/app/partials/cluster-nav.tpl.html old mode 100755 new mode 100644 diff --git a/v2.5/src/app/partials/cluster-network.tpl.html b/v2.5/src/app/partials/cluster-network.tpl.html old mode 100755 new mode 100644 diff --git a/v2.5/src/app/partials/cluster-overview.tpl.html b/v2.5/src/app/partials/cluster-overview.tpl.html old mode 100755 new mode 100644 diff --git a/v2.5/src/app/partials/cluster-partition.tpl.html b/v2.5/src/app/partials/cluster-partition.tpl.html old mode 100755 new mode 100644 diff --git a/v2.5/src/app/partials/cluster-roles.tpl.html b/v2.5/src/app/partials/cluster-roles.tpl.html old mode 100755 new mode 100644 diff --git a/v2.5/src/app/partials/cluster-security.tpl.html b/v2.5/src/app/partials/cluster-security.tpl.html old mode 100755 new mode 100644 diff --git a/v2.5/src/app/partials/cluster.tpl.html b/v2.5/src/app/partials/cluster.tpl.html old mode 100755 new mode 100644 diff --git a/v2.5/src/app/partials/find-new-servers.tpl.html b/v2.5/src/app/partials/find-new-servers.tpl.html old mode 100755 new mode 100644 diff --git a/v2.5/src/app/partials/network.tpl.html b/v2.5/src/app/partials/network.tpl.html index 92772f7..3718680 100644 --- a/v2.5/src/app/partials/network.tpl.html +++ b/v2.5/src/app/partials/network.tpl.html @@ -1,218 +1,216 @@
-
-
- - - -
-
-
-

- Autofill IP Address for Each Interface - - -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
ActionInterfaceIs Mgmt NetworkPromisc ModeSubnetAutofill Rules
- - - - - - - -
- - - - - - {{interface_name}} - - - - - - - - - -
-

Autofill Hostname

- - - -
- -
-
-
-
-
-
-
-
- - - - - - -
- - -
-
-
- -
-
- {{alert.msg}} -
-
- +
+
+ + + +
+
+
+

+ Autofill IP Address for Each Interface + + +

+
- - - - + + + + + + + + - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + -
-
{{column.title}}
-
- {{name}} - - - -
ActionInterfaceIs OS Install NetworkPromisc ModeSubnetAutofill Rules
- - - - - - - - - - - - - - - - {{cluster.name}}  - - - - {{server[column.field]}} - - - - -
+ + + + + +
+ + + + + {{interface_name}} + + + + + + + + + + + +
+

Autofill Hostname

+ + +
+ +
+
+
+
- + +
+
+ + + + + + +
+ + +
+
+
+ +
+
+ {{alert.msg}} +
+
+ + + + + + + + + + + + + + + +
+
{{column.title}}
+
+ {{name}} + + + +
+ + + + + + + + + - + + + + {{cluster.name}}  + + + {{server[column.field]}} + + + +
+
- diff --git a/v2.5/src/app/partials/network_mapping.tpl.html b/v2.5/src/app/partials/network_mapping.tpl.html index 9c5b96d..a32ec75 100644 --- a/v2.5/src/app/partials/network_mapping.tpl.html +++ b/v2.5/src/app/partials/network_mapping.tpl.html @@ -1,4 +1,113 @@
+
+
+
+
+

+ Allocate IP Address for Each Network Interface +

+ + + + + + + + + + + + + + + + + + + + + +
NetworkNICCIDRStart IPEnd IPVlan Configuration
+ + {{network_key}} + + + + + + + + + + + + Public Virtual IP + + + + Gateway IP + + + + Internal Virtual IP + + + + Vlan Tag + + +
+
+
+
+

+ HA Proxy +

+ + + + + + + + + + + + + + + +
NetworkNICIP Address
+ + install + + {{networkMapping.install.interface}} + +
+
+
+
+
+
+ + diff --git a/v2.5/src/app/partials/network_mapping.tpl.html-old b/v2.5/src/app/partials/network_mapping.tpl.html-old new file mode 100644 index 0000000..9c5b96d --- /dev/null +++ b/v2.5/src/app/partials/network_mapping.tpl.html-old @@ -0,0 +1,51 @@ +
+
+
+
+
+

Interfaces

+
+
+
+
+ {{interface_key}} + + (Promisc) + + + (Management) + +
+
+ + {{network_key}} +
+
+
+
+
+
+
+
+ +
+
+
+

Networks

+
+
+

Use drag and drop to move logical networks between physical interfaces. (Interface assigned Promisc Mode can only map with External network)

+
+
+
+
+ + {{key}} +
+
+
+
+
+
+
+
\ No newline at end of file diff --git a/v2.5/src/app/partials/progressbar.tpl.html b/v2.5/src/app/partials/progressbar.tpl.html old mode 100755 new mode 100644 diff --git a/v2.5/src/app/partials/server-list.tpl.html b/v2.5/src/app/partials/server-list.tpl.html old mode 100755 new mode 100644 diff --git a/v2.5/src/app/partials/topnav.tpl.html b/v2.5/src/app/partials/topnav.tpl.html index fce3fde..6a4ae24 100644 --- a/v2.5/src/app/partials/topnav.tpl.html +++ b/v2.5/src/app/partials/topnav.tpl.html @@ -1,14 +1,14 @@