mirror of
https://github.com/kevingruesser/bootstrap-vz.git
synced 2025-08-22 18:00:35 +00:00
14 lines
426 B
Python
14 lines
426 B
Python
import base
|
|
|
|
|
|
class Manifest(base.Manifest):
|
|
def validate(self, data):
|
|
from os import path
|
|
schema_path = path.normpath(path.join(path.dirname(__file__), 'manifest-schema.json'))
|
|
super(Manifest, self).validate(data, schema_path)
|
|
|
|
def parse(self, data):
|
|
super(Manifest, self).parse(data)
|
|
self.credentials = data['credentials']
|
|
self.virtualization = data['virtualization']
|
|
self.volume = data['volume']
|