Skip to content
This repository was archived by the owner on Jul 13, 2020. It is now read-only.
This repository was archived by the owner on Jul 13, 2020. It is now read-only.

Check the input fields in the YAML file #6

Description

@Kana00

Hi,

Thanks for gen-cisco, I was wondering if it would be possible to include an input parser for the specified YAML file in the command line.

For example, this parser could distinguish an incorrect IP address based on the network mask. This could save time debugging.

May be a REGEX matcher, like:

^(25[0–5]|2[0–4][0–9]|[01]?[0–9][0–9]?).(25[0–5]|2[0–4][0–9]|[01]?[0–9][0–9]?).(25[0–5]|2[0–4][0–9]|[01]?[0–9][0–9]?).(25[0–5]|2[0–4][0–9]|[01]?[0–9][0–9]?)$

Whatever, I think the best way is to check if this address is correctly installed with the context of the current installed network.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions