diff options
author | John Estabrook <jestabro@vyos.io> | 2021-08-05 11:24:47 -0500 |
---|---|---|
committer | John Estabrook <jestabro@vyos.io> | 2021-11-07 15:21:50 -0600 |
commit | f87f6c249535453b8bd3718dc7cdc84dcbbdbe13 (patch) | |
tree | 4a619ec7284294dfa8e70c608e423cb1b0674f45 /python/vyos | |
parent | 790131c0da5f2cf7274e98d20839b64e94423347 (diff) | |
download | vyos-1x-f87f6c249535453b8bd3718dc7cdc84dcbbdbe13.tar.gz vyos-1x-f87f6c249535453b8bd3718dc7cdc84dcbbdbe13.zip |
http-api: T2768: example using GraphQL for high-level config operations
(cherry picked from commit b168b4cc7da456f14714d917cdc7a1c6b8df9af5)
Diffstat (limited to 'python/vyos')
-rw-r--r-- | python/vyos/defaults.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/python/vyos/defaults.py b/python/vyos/defaults.py index ca5e02834..dacdbdef2 100644 --- a/python/vyos/defaults.py +++ b/python/vyos/defaults.py @@ -23,7 +23,10 @@ directories = { "migrate": "/opt/vyatta/etc/config-migrate/migrate", "log": "/var/log/vyatta", "templates": "/usr/share/vyos/templates/", - "certbot": "/config/auth/letsencrypt" + "certbot": "/config/auth/letsencrypt", + "api_schema": "/usr/libexec/vyos/services/api/graphql/graphql/schema/", + "api_templates": "/usr/libexec/vyos/services/api/graphql/recipes/templates/" + } cfg_group = 'vyattacfg' |