Scott Baker | 761e106 | 2016-06-20 17:18:17 -0700 | [diff] [blame^] | 1 | import os |
| 2 | import pdb |
| 3 | import sys |
| 4 | import tempfile |
| 5 | sys.path.append("/opt/tosca") |
| 6 | from translator.toscalib.tosca_template import ToscaTemplate |
| 7 | |
| 8 | from services.vsg.models import VSGService |
| 9 | |
| 10 | from service import XOSService |
| 11 | |
| 12 | class XOSVsgService(XOSService): |
| 13 | provides = "tosca.nodes.VSGService" |
| 14 | xos_model = VSGService |
| 15 | copyin_props = ["view_url", "icon_url", "enabled", "published", "public_key", |
| 16 | "private_key_fn", "versionNumber", "backend_network_label", |
| 17 | "dns_servers", "node_label"] |
| 18 | |