Browse Source

Merge "Make ipmi lanplus the default in auto fencing" into stable/queens

tags/9.3.1
Zuul 1 month ago
parent
commit
f7badfea52

+ 6
- 0
releasenotes/notes/ipmi-lanplus-default-fb3ec3496853ed9e.yaml View File

@@ -0,0 +1,6 @@
1
+---
2
+features:
3
+  - |
4
+    Deprecate --ipmi-lanplus for ``openstack overcloud generate fencing``
5
+    command since now this is the default and add new option --ipmi-no-lanplus
6
+    to override it.

+ 1
- 1
tripleoclient/tests/v1/test_overcloud_parameters.py View File

@@ -166,7 +166,7 @@ class TestGenerateFencingParameters(utils.TestCommand):
166 166
                 'delay': None,
167 167
                 'os_auth': {},
168 168
                 'ipmi_cipher': None,
169
-                'ipmi_lanplus': False,
169
+                'ipmi_lanplus': True,
170 170
                 'ipmi_level': None
171 171
             },
172 172
             run_sync=True, save_result=True)

+ 7
- 1
tripleoclient/v1/overcloud_parameters.py View File

@@ -80,8 +80,14 @@ class GenerateFencingParameters(command.Command):
80 80
                             help=_('Wait DELAY seconds before fencing is '
81 81
                                    'started'))
82 82
         parser.add_argument('--ipmi-lanplus',
83
+                            dest='ipmi_lanplus',
84
+                            default=True,
83 85
                             action='store_true',
84
-                            help=_('Use Lanplus. Defaults to: false'))
86
+                            help=_('DEPRECATED: This is the default.'))
87
+        parser.add_argument('--ipmi-no-lanplus',
88
+                            dest='ipmi_lanplus',
89
+                            action='store_false',
90
+                            help=_('Do not use Lanplus. Defaults to: false'))
85 91
         parser.add_argument('--ipmi-cipher', type=int,
86 92
                             help=_('Ciphersuite to use (same as ipmitool -C '
87 93
                                    'parameter.'))

Loading…
Cancel
Save