Support UDP cloud from 1.5

Fix #822
This commit is contained in:
Julien Duponchelle committed 2016-12-19 09:46:34 +01:00
1 parent f86358ad71
commit 7ba7c89594
3 files changed
+134 -6

No files matched your search

@@ -0,0 +1,60 @@
{
"auto_start": false,
"name": "untitled",
"project_id": "a22527ce-c976-48d6-afe9-2a04dea47a99",
"revision": 6,
"topology": {
"computes": [
{
"compute_id": "local",
"host": "127.0.0.1",
"name": "Local",
"port": 3080,
"protocol": "http"
}
],
"drawings": [],
"links": [
],
"nodes": [
{
"compute_id": "local",
"console": null,
"console_type": null,
"first_port_name": null,
"label": {
"rotation": 0,
"style": "font-family: TypeWriter;font-size: 10;font-weight: bold;fill: #000000;fill-opacity: 1.0;",
"text": "Cloud 1",
"x": 55,
"y": -25
},
"name": "Cloud 1",
"node_id": "ANYSTR",
"node_type": "cloud",
"port_name_format": "Ethernet{0}",
"port_segment_size": 0,
"properties": {
"interfaces": [
],
"ports_mapping": [
{
"lport": 30000,
"name": "UDP tunnel 1",
"port_number": 1,
"rhost": "127.0.0.1",
"rport": 20000,
"type": "udp"
}
]
},
"symbol": ":/symbols/cloud.svg",
"x": -210,
"y": -167,
"z": 1
}
]
},
"type": "topology",
"version": "ANYSTR"
}
@@ -0,0 +1,55 @@
{
"auto_start": false,
"name": "untitled",
"project_id": "a22527ce-c976-48d6-afe9-2a04dea47a99",
"revision": 4,
"topology": {
"links": [
],
"nodes": [
{
"description": "Cloud",
"id": 1,
"label": {
"color": "#ff000000",
"font": "TypeWriter,10,-1,5,75,0,0,0,0,0",
"text": "Cloud 1",
"x": 55.6015625,
"y": -25.0
},
"ports": [
{
"description": "connected to PC1 on port Ethernet0",
"id": 2,
"link_id": 1,
"name": "nio_udp:30000:127.0.0.1:20000",
"nio": "NIO_UDP",
"stub": true
}
],
"properties": {
"name": "Cloud 1",
"nios": [
"nio_udp:30000:127.0.0.1:20000"
]
},
"server_id": 1,
"type": "Cloud",
"x": -210.5,
"y": -167.0
}
],
"servers": [
{
"host": "127.0.0.1",
"id": 1,
"local": true,
"port": 3080,
"protocol": "http",
"vm": false
}
]
},
"type": "topology",
"version": "1.5.1"
}