python-openstackclient/releasenotes/notes/bug-1637365-b90cdcc05ffc7d3a.yaml
Dean Troyer 0ac4370c09 Do proper deprecation for security group rule create
Review I03fd0e14e470e7272930ac2651e73263b83bd4e1 renamed the
--src-group and --src-ip options to --remote-group and --remote-ip
but did not properly deprecate the old option names.

Add deprecation warnings when the old option names are used.

Also, format the warnings using the new proposed translation guideline
for marking substrings to not be translated, such as literal names
and option names.

Change-Id: I63d085d190fc28b8637e7686016eda4efbdda1be
2016-11-16 07:53:30 -06:00

9 lines
384 B
YAML

upgrade:
- |
Rename the ``--src-group`` and ``--src-ip`` options in the
``security group rule create`` command to ``--remote-group``
and ``--remote-ip``.
The ``--src-group`` and ``--src-ip`` options are deprecated but still
supported, and will be removed in a future release.
[Bug `1637365 <https://bugs.launchpad.net/python-openstackclient/+bug/1637365>`_]