blob: b8ccd59feddc68507609a500bba04be56c27f157 [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
Scott Bakerce142a82016-09-08 13:24:47 -070015 copyin_props = ["view_url", "icon_url", "enabled", "published", "public_key", "versionNumber", 'privateGatewayMac', 'localManagementIp', 'ovsdbPort', 'sshPort', 'sshUser', 'sshKeyFile', 'mgmtSubnetBits', 'xosEndpoint', 'xosUser', 'xosPassword', 'vtnAPIVersion']