Skip to content

Location of metadata.yaml and implications thereof #148

@NathanDotTo

Description

@NathanDotTo

Hi, I am working through how to run the code in this repo. I am given to understand that the starting point is in sdwan_config_builder. In that directory, the README says:

By default sdwan_config_build looks for a 'metadata.yaml' file in the directory where it is run.

The only metadata.yaml file that is in the repo is in the config dir, alongside a config.example.yaml.

The minimal_env.sh has:

export CONFIG_BUILDER_METADATA="../config/metadata.yaml"

This implies, then, that the overall starting point must be to run the minimal_env.sh from the bin directory first. I think that step should be documented in the top level README then.

The metadata.yaml refers to:

top_level_config: "../config/config.yaml"

Whereas we have a config.example.yaml in the repo. I think, then, that the config.example.yaml should be copied to a config.yaml and suitably edited.

If this is correct so far, then I can add suitable documentation updates and submit a PR.

Thanks

Nathan

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