Skip to content

Commit

Permalink
Enforce table without YANG check in both load_minigraph and reload
Browse files Browse the repository at this point in the history
  • Loading branch information
wen587 committed Oct 23, 2024
1 parent d0aa94a commit a11270a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions config/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -1384,6 +1384,9 @@ def config_file_yang_validation(filename):
fg='magenta')
raise click.Abort()

if len(sy.tablesWithOutYang):
log.log_warning("YANG failed to cover tables: {}.".format(list(sy.tablesWithOutYang.keys())))


# This is our main entrypoint - the main 'config' command
@click.group(cls=clicommon.AbbreviationGroup, context_settings=CONTEXT_SETTINGS)
Expand Down

0 comments on commit a11270a

Please sign in to comment.