summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorJohn Estabrook <jestabro@vyos.io>2021-08-05 11:24:47 -0500
committerJohn Estabrook <jestabro@vyos.io>2021-08-06 15:03:33 -0500
commitb168b4cc7da456f14714d917cdc7a1c6b8df9af5 (patch)
tree9cb4650ceb7add283bbfb5f1d43715e29adc560a /python
parent56467e9967d9bb3c5588bb76493a71868e177a10 (diff)
downloadvyos-1x-b168b4cc7da456f14714d917cdc7a1c6b8df9af5.tar.gz
vyos-1x-b168b4cc7da456f14714d917cdc7a1c6b8df9af5.zip
http-api: T2768: example using GraphQL for high-level config operations
Diffstat (limited to 'python')
-rw-r--r--python/vyos/defaults.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/python/vyos/defaults.py b/python/vyos/defaults.py
index 9921e3b5f..03006c383 100644
--- a/python/vyos/defaults.py
+++ b/python/vyos/defaults.py
@@ -22,7 +22,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'