| import os |
| import pdb |
| import sys |
| import tempfile |
| sys.path.append("/opt/tosca") |
| from translator.toscalib.tosca_template import ToscaTemplate |
| |
| from services.cord.models import VSGService |
| |
| from service import XOSService |
| |
| class XOSVsgService(XOSService): |
| provides = "tosca.nodes.VSGService" |
| xos_model = VSGService |
| copyin_props = ["view_url", "icon_url", "enabled", "published", "public_key", |
| "private_key_fn", "versionNumber", "backend_network_label", |
| "wan_container_gateway_ip", "wan_container_gateway_mac", |
| "wan_container_netbits", "dns_servers"] |
| |