Skip to content

dell_os10 Ansible mapping is incorrect #833

@rosswhittarb

Description

@rosswhittarb

Environment

  • Python version: 3.12.3
  • netutils version: 1.17.2

Expected Behavior

dell_os10 driver resolve to ansible_network_os: dellemc.os10.os10

Observed Behavior

dell_os10 driver resolves to ansible_network_os: dellemc.os10.0s10 with a zero
This causes ansible to fail when used to connect: "Task failed: network os dellemc.os10.0s10 is not supported"

Steps to Reproduce

  1. get the dell_os10 value from ANSIBLE_LIB_MAPPER_REVERSE or try and normalize dellemc.os10.os10
    from netutils.lib_mapper import ANSIBLE_LIB_MAPPER_REVERSE ANSIBLE_LIB_MAPPER_REVERSE.get("dell_os10")

lib_mapper.py

Reference from Ansible documentation: https://docs.ansible.com/projects/ansible/latest/network/user_guide/platform_index.html#settings-by-platform

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions