Skip to content

Validation Error in Legacy Systems Due to cType = "Geo" #36

@PaulWinterstein

Description

@PaulWinterstein

In an older system that has undergone multiple migrations, a validation error occurs when parsing a vertex configuration:

Error retrieving device with id 'device1': 1 validation error for IpVertex
maps.1.cType
Input should be 'Topology' [type=literal_error, input_value='Geo', input_type=str]
For further information visit https://errors.pydantic.dev/2.11/v/literal_error

Although "Geo" is likely no longer part of any active feature set, it can still appear in legacy or migrated systems.
To ensure compatibility, the literal validation for cType should also allow "Geo" as a valid input.

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