Add node PVC version data to Node information

Allows API client to see the currently-active version of the node
daemon.
This commit is contained in:
2021-07-05 09:57:38 -04:00
parent 21a1a7da9e
commit a69105569f
6 changed files with 15 additions and 1 deletions

View File

@ -440,7 +440,7 @@ class ZKHandler(object):
#
class ZKSchema(object):
# Current version
_version = 1
_version = 2
# Root for doing nested keys
_schema_root = ''
@ -482,6 +482,7 @@ class ZKSchema(object):
'data.active_schema': '/activeschema',
'data.latest_schema': '/latestschema',
'data.static': '/staticdata',
'data.pvc_version': '/pvcversion',
'running_domains': '/runningdomains',
'count.provisioned_domains': '/domainscount',
'count.networks': '/networkscount',