blob: 2a5738fec18e113583b8a4ebab81f0496408b00b [file] [log] [blame]
Scott Bakerc3ce3e72016-06-20 17:35:19 -07001import os
2import pdb
3import sys
4import tempfile
5sys.path.append("/opt/tosca")
6from translator.toscalib.tosca_template import ToscaTemplate
7
8from services.vtn.models import VTNService
9
10from service import XOSService
11
12class XOSVTNService(XOSService):
13 provides = "tosca.nodes.VTNService"
14 xos_model = VTNService
15 copyin_props = ["view_url", "icon_url", "enabled", "published", "public_key", "versionNumber", 'privateGatewayMac', 'localManagementIp', 'ovsdbPort', 'sshPort', 'sshUser', 'sshKeyFile', 'mgmtSubnetBits', 'xosEndpoint', 'xosUser', 'xosPassword']