Skip to content

brocade_zoning_cfg: -vvv output does still displays a populated "remove_list" although nothing will be removed in the switch config due to "members_add_only: True" #178

Description

@tscheld

When using "members_add_only: True" in a playbook to add some zones to a existing cfg and enabling it, the ansible-playbook -vvv output still show all previously configured zones in it's remove_list.
For examplle:
...
"post_list": [
{
"members": [
"Zone1"
],
"name": "FAB-A"
}
],
"remove_list": [
{
"members": [
"SVR12_STOR12"
],
"name": "FAB-A"
}
..

So the bahavior is changin with the members_add_only parameter, as nothing existing in the zoning configuration will be deleted, working as expected, but the output does not change when using members_add_only:True

Playbook:

  • name: after zoning_zone.yml, add Zone3 to cfg1 by specifying all members and leave it enabled
    brocade_zoning_cfg:
    credential: "{{credential}}"
    vfid: -1
    cfgs: "{{cfgs}}"
    members_add_only: True
    active_cfg: FAB-A

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions