Commit b8af4915 authored by WorkflowPlanning's avatar WorkflowPlanning Committed by GitHub

Add files via upload

Input and output of the planner json format
parent 1169d812
{
"creationDate": 1487002029722,
"parameters": [
{
"url": null,
"encoding": "UTF-8",
"value": {"topology_template": {"node_templates": {"2d13d708e3a9441ab8336ce874e08dd1": {"artifacts": {"docker_image": {"type": "tosca.artifacts.Deployment.Image.Container.Docker", "file": "mogswitch/InputDistributor:1.0", "repository": "MOG_docker_hub"}}, "interfaces": {"Standard": {"create": {"implementation": "docker_image", "inputs": {"port_bindings": ["2000:2000", "3000:3000"], "command": "InputDistributor", "exported_ports": [2000]}}}}, "type": "Switch.nodes.Application.Container.Docker.MOG.InputDistributor", "properties": {"waitingTime": 5, "multicastAddrIP": "255.2.2.0", "QoS": {"response_time": "30ms"}, "multicastAddrPort": 3000, "videoWidth": 176, "inPort": 2000, "videoHeight": 100}}, "8fcc1788d9ee462c826572c79fdb2a6a": {"artifacts": {"docker_image": {"type": "tosca.artifacts.Deployment.Image.Container.Docker", "file": "mogswitch/ProxyTranscoder:1.0", "repository": "MOG_docker_hub"}}, "interfaces": {"Standard": {"create": {"implementation": "docker_image", "inputs": {"port_bindings": ["8080:80"], "command": "ProxyTranscoder", "exported_ports": [80]}}}}, "type": "Switch.nodes.Application.Container.Docker.MOG.ProxyTranscoder", "properties": {"multicastAddrIP": "255.2.2.0", "multicastAddrPort": 3000, "QoS": {"response_time": "30ms"}, "videoWidth": 176, "videoHeight": 100}}, "5e0add703c8a43938a39301f572e46c0": {"type": "Switch.nodes.Application.Connection", "properties": {"latency": "30ms", "bandwidth": "130MB/s", "multicast": {"multicastAddrIP": "255.2.2.0", "multicastAddrPort": 3000}, "jitter": "500ms", "target": {"netmask": "255.255.255.0", "address": "192.168.21.12", "port_name": "proxyTranscoder_in", "component_name": "8fcc1788d9ee462c826572c79fdb2a6a"}, "source": {"netmask": "255.255.255.0", "address": "192.168.21.11", "port_name": "inputDistributor_out", "component_name": "2d13d708e3a9441ab8336ce874e08dd1"}}}}}, "artifact_types": {"tosca.artifacts.Deployment.Image.Container.Docker": {"derived_from": "tosca.artifacts.Deployment.Image"}}, "data_types": {"Switch.datatypes.Application.Connection.Multicast": {"properties": {"multicastAddrIP": {"type": "string"}, "multicastAddrPort": {"type": "integer"}}, "derived_from": "tosca.datatypes.Root"}, "Switch.datatypes.Application.Connection.EndPoint": {"properties": {"netmask": {"type": "string"}, "address": {"type": "string"}, "port_name": {"type": "string"}, "component_name": {"type": "string"}}, "derived_from": "tosca.datatypes.Root"}, "Switch.datatypes.Network.EndPoint": {"properties": {"netmask": {"type": "string"}, "port_name": {"type": "string"}, "host_name": {"type": "string"}, "address": {"type": "string"}}, "derived_from": "tosca.datatypes.Root"}, "Switch.datatypes.QoS.AppComponent": {"properties": {"response_time": {"type": "string"}}, "derived_from": "tosca.datatypes.Root"}, "Switch.datatypes.Network.Multicast": {"properties": {"multicastAddrIP": {"type": "string"}, "multicastAddrPort": {"type": "integer"}}, "derived_from": "tosca.datatypes.Root"}}, "description": "example file for infrastructure planner", "node_types": {"Switch.nodes.Network": {"properties": {"latency": {"type": "string"}, "bandwidth": {"type": "string"}, "multicast": {"type": "Switch.datatypes.Network.Multicast"}, "jitter": {"type": "string"}, "target": {"type": "Switch.datatypes.Network.EndPoint"}, "source": {"type": "Switch.datatypes.Network.EndPoint"}}, "derived_from": "tosca.nodes.network.Network"}, "Switch.nodes.Application.Connection": {"properties": {"latency": {"type": "string"}, "bandwidth": {"type": "string"}, "multicast": {"type": "Switch.datatypes.Application.Connection.Multicast"}, "jitter": {"type": "string"}, "target": {"type": "Switch.datatypes.Application.Connection.EndPoint"}, "source": {"type": "Switch.datatypes.Application.Connection.EndPoint"}}, "derived_from": "tosca.nodes.Root"}, "Switch.nodes.Compute": {"properties": {"domain": {"type": "string"}, "nodetype": {"type": "string"}, "script": {"type": "string"}, "public_address": {"type": "string"}, "OStype": {"type": "string"}, "ssh_credential": {"type": "tosca.datatypes.Credential"}, "ethernet_port": {"entry_schema": {"type": "tosca.datatypes.network.NetworkInfo"}, "type": "list"}, "installation": {"type": "string"}}, "derived_from": "tosca.nodes.Compute"}, "Switch.nodes.Application.Container.Docker": {"artifacts": {"docker_image": {"type": "tosca.artifacts.Deployment.Image.Container.Docker"}}, "interfaces": {"Standard": {"create": {"inputs": {"port_bindings": {"entry_schema": {"type": "string"}, "type": "list"}, "command": {"type": "string"}, "exported_ports": {"entry_schema": {"type": "string"}, "type": "list"}}}}}, "properties": {"QoS": {"type": "Switch.datatypes.QoS.AppComponent"}}, "derived_from": "tosca.nodes.Container.Application"}, "Switch.nodes.Application.Container.Docker.MOG.InputDistributor": {"artifacts": {"docker_image": {"type": "tosca.artifacts.Deployment.Image.Container.Docker", "file": "mogswitch/InputDistributor:1.0", "repository": "MOG_docker_hub"}}, "properties": {"QoS": {"type": "Switch.datatypes.QoS.AppComponent"}, "multicastAddrPort": {"type": "integer"}, "inPort": {"type": "integer"}, "waitingTime": {"type": "integer"}, "multicastAddrIP": {"type": "string"}, "videoWidth": {"type": "integer"}, "videoHeight": {"type": "integer"}}, "derived_from": "Switch.nodes.Application.Container.Docker"}, "Switch.nodes.Application.Container.Docker.MOG.ProxyTranscoder": {"artifacts": {"docker_image": {"type": "tosca.artifacts.Deployment.Image.Container.Docker", "file": "mogswitch/ProxyTranscoder:1.0", "repository": "MOG_docker_hub"}}, "properties": {"QoS": {"type": "Switch.datatypes.QoS.AppComponent"}, "multicastAddrPort": {"type": "integer"}, "multicastAddrIP": {"type": "string"}, "videoWidth": {"type": "integer"}, "videoHeight": {"type": "integer"}}, "derived_from": "Switch.nodes.Application.Container.Docker"}}, "tosca_definitions_version": "tosca_simple_yaml_1_0", "repositories": {"MOG_docker_hub": {"url": "https://github.com/switch-project/mog", "credential": {"token_type": "X-Auth-Token", "token": "604bbe45ac7143a79e14f3158df67091", "protocol": "xauth"}, "description": "MOG project\u2019s code repository in GitHub"}}}
,
"attributes": null
}
]
}
\ No newline at end of file
{
"creationDate": 1487002029722,
"parameters": [
{
"url": null,
"encoding": "UTF-8",
"value": {u'2d13d708e3a9441ab8336ce874e08dd1': 'Small', u'8fcc1788d9ee462c826572c79fdb2a6a': 'Small', u'5e0add703c8a43938a39301f572e46c0': 'Small'},
"attributes": null
}
]
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment