config/controllerconfig/controllerconfig/setup.py
Wei Zhou 2b6f92da1b Support an Alternative Backup Restore Procedure
This code change is to support system backup and restore
without reinstalling storage nodes.

The config_controller command is modified as follows:

  A new option is added to system restore command
  "config_controller --restore-system <name>" with default set
  to exclude-storage-reinstall.

  config_controller --restore-system <include-storage-reinstall |
      exclude-storage-reinstall> <name>

Add a new command "tidy_storage_post_restore" to be run after
the restore. It scans Cinder/Glance and rbd backend for any
discrepancy between the two and generates a user action log file.

This code change has been tested on a virtual box as well as
hardware lab.

Story: 2004184
Task: 27672
Change-Id: I5e64fde70b977ea4bc3a5927bcbd852a393caec2
Signed-off-by: Wei Zhou <wei.zhou@windriver.com>
2018-11-08 18:36:46 -05:00

31 lines
1.0 KiB
Python

#
# Copyright (c) 2015-2017 Wind River Systems, Inc.
#
# SPDX-License-Identifier: Apache-2.0
#
from setuptools import setup, find_packages
setup(
name='controllerconfig',
description='Controller Configuration',
version='1.0.0',
license='Apache-2.0',
platforms=['any'],
provides=['controllerconfig'],
packages=find_packages(),
package_data={},
include_package_data=False,
entry_points={
'console_scripts': [
'config_controller = controllerconfig.systemconfig:main',
'config_region = controllerconfig.regionconfig:region_main',
'config_subcloud = controllerconfig.regionconfig:subcloud_main',
'config_management = controllerconfig.config_management:main',
'upgrade_controller = controllerconfig.upgrades.controller:main',
'upgrade_controller_simplex = '
'controllerconfig.upgrades.controller:simplex_main',
'tidy_storage_post_restore = controllerconfig.tidy_storage:main'
],
}
)