{ "info": { "author": "Yang Youseok", "author_email": "ileixe@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 3.6" ], "description": "Oslo config comparator\n======================\n\nOverview\n--------\n\nWhenever you have to upgrade your OpenStack clusters, you have to\nrewrite your config files like nova.conf, cinder.conf, neutron.conf,\netc.\n\nAlthough\n`oslo.config.generator `__\nhelps you generate new config files automatically, there is no feature\nto migrate existed config data to newly generated config.\n\nThis program deals with the tedious task that compares the old config to\nnew config line by line, and updates the config value old config had.\n\nFeatures\n--------\n\n- Check two OpenStack configuration files. It shows set of attributes\n which are categorized to 5 types. This distinction is based on the\n old config file and commented attributes which means to have default\n value does not appear.\n\n - **Added** Newly added attributes. Old config does not have these\n attributes.\n - **Removed** Removed attributes. Old config had but new config does\n not have.\n - **Unchanged** Unchanged attributes. Both of new and old config\n have.\n - **Changed** Changed attributes. Group or name is changed at new\n release.\n - **Ambiguous** Ambiguous attributes. These attributes are changed\n but cannot be categorized since the name is duplicated.\n\n- Upgrade new config file with new contents based on existed config\n file. It fills out the new config file with the old config data which\n belongs to **Changed** and **Unchanged** attributes. **Note that\n Ambigouos attributes should be treated by manual.**\n\nInstallation\n------------\n\n.. code:: bash\n\n pip3 install oslo.config.comparator\n\nUsage\n-----\n\n- Check two OpenStack configuration files.\n\n .. code:: bash\n\n oslo-config-comparator check [FILE1] [FILE2] (-v)\n\n - **FILE1** Base config file which has old data.\n - **FILE2** New config file which generated by\n oslo-config-generator.\n - **-v** Show datails.\n\n- Upgrade new config file with new contents based on existed config\n file.\n\n .. code:: bash\n\n oslo-config-comparator upgrade [FILE1] [FILE2] (-o OUTPUT)\n\n - **-o OUTPUT** File to be written. Defaults to stdout.\n\nLimitation\n----------\n\n- It only parses \u201ckey = value\u201d formatted string, so if the config file\n has template engine syntax such as Jinja, ruby ERB, additional\n content surrounding the attributes must be written manually.\n\nLicenses\n--------\n\nMIT", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/Xeite/oslo.config.comparator", "keywords": "OpenStack oslo.config", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "oslo.config.comparator", "package_url": "https://pypi.org/project/oslo.config.comparator/", "platform": "", "project_url": "https://pypi.org/project/oslo.config.comparator/", "project_urls": { "Homepage": "https://github.com/Xeite/oslo.config.comparator" }, "release_url": "https://pypi.org/project/oslo.config.comparator/0.3.1/", "requires_dist": null, "requires_python": ">=3.6", "summary": "OpenStack configure file comparator.", "version": "0.3.1" }, "last_serial": 4623211, "releases": { "0.3": [ { "comment_text": "", "digests": { "md5": "08ed548881f2a4686c3f748f92bb074d", "sha256": "07df0a47b125c62cd700ae4c1a544bcd9c7b84a3674c486b0d4176a542457881" }, "downloads": -1, "filename": "oslo.config.comparator-0.3.tar.gz", "has_sig": false, "md5_digest": "08ed548881f2a4686c3f748f92bb074d", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 6019, "upload_time": "2017-12-21T03:30:02", "url": "https://files.pythonhosted.org/packages/65/3b/b2d6e5d21027e7c18acc98f92e42e25e6acf170b6ddfe80712c2e079f4a2/oslo.config.comparator-0.3.tar.gz" } ], "0.3.1": [ { "comment_text": "", "digests": { "md5": "98b947ddac19ae84788afe40c88016fa", "sha256": "06f5107187068a231e5ffd6b96bcfdfd80ec631317b88ae0b151ef2fc46e09ef" }, "downloads": -1, "filename": "oslo.config.comparator-0.3.1.tar.gz", "has_sig": false, "md5_digest": "98b947ddac19ae84788afe40c88016fa", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 6018, "upload_time": "2018-12-21T01:32:23", "url": "https://files.pythonhosted.org/packages/7f/4b/4f9b1654624bfe239abd2c7f9bd6b2a7ca631b6f4b3ae3a28b6089095133/oslo.config.comparator-0.3.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "98b947ddac19ae84788afe40c88016fa", "sha256": "06f5107187068a231e5ffd6b96bcfdfd80ec631317b88ae0b151ef2fc46e09ef" }, "downloads": -1, "filename": "oslo.config.comparator-0.3.1.tar.gz", "has_sig": false, "md5_digest": "98b947ddac19ae84788afe40c88016fa", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 6018, "upload_time": "2018-12-21T01:32:23", "url": "https://files.pythonhosted.org/packages/7f/4b/4f9b1654624bfe239abd2c7f9bd6b2a7ca631b6f4b3ae3a28b6089095133/oslo.config.comparator-0.3.1.tar.gz" } ] }