diff options
| author | Renato Westphal <renato@opensourcerouting.org> | 2020-07-06 12:47:44 -0300 |
|---|---|---|
| committer | Renato Westphal <renato@opensourcerouting.org> | 2020-08-03 15:17:03 -0300 |
| commit | ca77b518bdc3c03398214e06129690e603090a6f (patch) | |
| tree | 36e091285109a4f219cd1d785354e64920bc64dd /lib/command_graph.h | |
| parent | 774daaed3f29904a234f689fc5d01e33551f27b8 (diff) | |
*: introduce DEFPY_YANG & friends
DEFPY_YANG will allow the CLI to identify which commands are
YANG-modeled or not before executing them. This is going to be
useful for the upcoming configuration back-off timer work that
needs to commit pending configuration changes before executing a
command that isn't YANG-modeled.
Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
Diffstat (limited to 'lib/command_graph.h')
| -rw-r--r-- | lib/command_graph.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/command_graph.h b/lib/command_graph.h index 1efe8b1803..179e104a57 100644 --- a/lib/command_graph.h +++ b/lib/command_graph.h @@ -74,6 +74,7 @@ enum cmd_token_type { enum { CMD_ATTR_NORMAL, CMD_ATTR_DEPRECATED, CMD_ATTR_HIDDEN, + CMD_ATTR_YANG, }; /* Comamand token struct. */ |
