Scott Baker | c3ce3e7 | 2016-06-20 17:35:19 -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.vtn.models import VTNService | ||||
9 | |||||
10 | from service import XOSService | ||||
11 | |||||
12 | class XOSVTNService(XOSService): | ||||
13 | provides = "tosca.nodes.VTNService" | ||||
14 | xos_model = VTNService | ||||
Scott Baker | ce142a8 | 2016-09-08 13:24:47 -0700 | [diff] [blame] | 15 | copyin_props = ["view_url", "icon_url", "enabled", "published", "public_key", "versionNumber", 'privateGatewayMac', 'localManagementIp', 'ovsdbPort', 'sshPort', 'sshUser', 'sshKeyFile', 'mgmtSubnetBits', 'xosEndpoint', 'xosUser', 'xosPassword', 'vtnAPIVersion'] |