lfidapi create group checks if group exists 26/15826/2
authorAric Gardner <agardner@linuxfoundation.org>
Thu, 6 Jun 2019 17:25:14 +0000 (13:25 -0400)
committerAric Gardner <agardner@linuxfoundation.org>
Thu, 6 Jun 2019 17:40:35 +0000 (13:40 -0400)
commite485d2a9da67087e0d06b02c9632bff43b69c239
tree40c027a41dd963b0b1895ac4e47385c47c6dbdb3
parentfcd29c1c74575dda69052a45f1b65349008bb094
lfidapi create group checks if group exists

There is a bug in lfidapi where if a group exists
the reponse code does the right thing but some
shadow group is created.

Add a check so that we only create a group
if it does not yet exist.

Signed-off-by: Aric Gardner <agardner@linuxfoundation.org>
Change-Id: Ia80400cf74431a8ffdea1ae06459969649d94501
lftools/lfidapi.py
releasenotes/notes/lfidapi-3265c24947b95d20.yaml [new file with mode: 0644]