{
  "cloudnet_graph": {
    "id": "cloudnet_graph",
    "description": "A simple Cloud network graph composed by 1 core node, 1 edge node, and 1 access node",
    "nodes": [
      {
        "id": "urn:wws:core:milan",
        "description": "Milan Data Center",
        "label": "MILAN_DC",
        "type": "core",
        "capabilities": [
          {
            "id": "urn:wws:core:milan:cluster1",
            "label":"Milan_Cluster1",
            "type": "computation",
            "category": "VM",
            "resources": [
              {
                "type": "cpu",
                "capacity": {
                  "value": 2,
                  "unit": "vCPU"
                },
                "cost": {
                  "value": 0.0000425,
                  "unit": "EUR/h/vCPU"
                }
              },
              {
                "type": "memory",
                "capacity": {
                  "value": 8589,
                  "unit": "MB"
                },
                "cost": {
                  "value": 0.0425,
                  "unit": "EUR/h/MB"
                }
              }
            ],
            "max_blocks": 1000,
            "cost_per_block": {
              "value": 0.0425,
              "unit": "EUR/h"
            },
            "resource_allocation": 0
          },
          {
            "id": "urn:wws:core:milan:cluster2",
            "label":"Milan_Cluster2",
            "type": "computation",
            "category": "VM",
            "resources": [
              {
                "type": "cpu",
                "capacity": {
                  "value": 4,
                  "unit": "vCPU"
                },
                "cost": {
                  "value": 0.00007225,
                  "unit": "EUR/h/vCPU"
                }
              },
              {
                "type": "memory",
                "capacity": {
                  "value": 8589,
                  "unit": "MB"
                },
                "cost": {
                  "value": 0.07225,
                  "unit": "EUR/h/MB"
                }
              }
            ],
            "max_blocks": 1000,
            "cost_per_block": {
              "value": 0.07225,
              "unit": "EUR/h"
            },
            "resource_allocation": 0
          }
        ]
      },
      {
        "id": "urn:wws:edge:naples",
        "description": "Naples Data Center",
        "label": "NAPLES_DC",
        "type": "edge",
        "capabilities": [
          {
            "id": "urn:wws:edge:naples:cluster1",
            "label":"Naples_Cluster1",
            "type": "computation",
            "category": "VM",
            "resources": [
              {
                "type": "cpu",
                "capacity": {
                  "value": 2,
                  "unit": "vCPU"
                },
                "cost": {
                  "value": 0.000085,
                  "unit": "EUR/h/vCPU"
                }
              },
              {
                "type": "memory",
                "capacity": {
                  "value": 8589,
                  "unit": "MB"
                },
                "cost": {
                  "value": 0.085,
                  "unit": "EUR/h/MB"
                }
              }
            ],
            "max_blocks": 1000,
            "cost_per_block": {
              "value": 0.085,
              "unit": "EUR/h"
            },
            "resource_allocation": 0
          },
          {
            "id": "urn:wws:edge:naples:cluster2",
            "label":"Naples_Cluster2",
            "type": "computation",
            "category": "VM",
            "resources": [
              {
                "type": "cpu",
                "capacity": {
                  "value": 4,
                  "unit": "vCPU"
                },
                "cost": {
                  "value": 0.0001445,
                  "unit": "EUR/h/vCPU"
                }
              },
              {
                "type": "memory",
                "capacity": {
                  "value": 8589,
                  "unit": "MB"
                },
                "cost": {
                  "value": 0.1445,
                  "unit": "EUR/h/MB"
                }
              }
            ],
            "max_blocks": 1000,
            "cost_per_block": {
              "value": 0.1445,
              "unit": "EUR/h"
            },
            "resource_allocation": 0
          }
        ]
      },
      {
        "id": "urn:wws:access:naples",
        "description": "Base station Naples",
        "label": "NAPLES_BASE",
        "type": "access",
        "capabilities": [
          {
            "id": "urn:wws:access:naples:ingress",
            "label":"Naples_Ingress",
            "type": "production",
            "category": "VM",
            "resources": [
              {
                "type": "bandwidth",
                "capacity": {
                  "value": 1,
                  "unit": "Mbps"
                },
                "cost": {
                  "value": 0,
                  "unit": "EUR/MB"
                }
              }
            ],
            "max_blocks": 1000,
            "cost_per_block": {
              "value": 0,
              "unit": "EUR/h"
            },
            "resource_allocation": 0
          },
          {
            "id": "urn:wws:access:naples:egress",
            "label":"Naples_Egress",
            "type": "consumption",
            "category": "VM",
            "resources": [
              {
                "type": "bandwidth",
                "capacity": {
                  "value": 1,
                  "unit": "Mbps"
                },
                "cost": {
                  "value": 0,
                  "unit": "EUR/MB"
                }
              }
            ],
            "max_blocks": 1000,
            "cost_per_block": {
              "value": 0,
              "unit": "EUR/h"
            },
            "resource_allocation": 0
          }
        ]
      }
    ],
    "links": [
      {
        "origin": "urn:wws:core:milan",
        "target": "urn:wws:edge:naples",
        "type": "wireline",
        "resources": [
          {
            "type": "bandwidth",
            "capacity": {
              "value": 1,
              "unit": "Mbps"
            },
            "cost": {
              "value": 0.009,
              "unit": "EUR/MB"
            }
          }
        ],
        "max_blocks": 100,
        "cost_per_block": {
              "value": 0.009,
              "unit": "EUR/h"
            },
        "propagation_delay": {
          "value": 20,
          "unit": "ms"
        },
        "resource_allocation": 0
      },
      {
        "origin": "urn:wws:edge:naples",
        "target": "urn:wws:core:milan",
        "type": "wireline",
        "resources": [
          {
            "type": "bandwidth",
            "capacity": {
              "value": 1,
              "unit": "Mbps"
            },
            "cost": {
              "value": 0.009,
              "unit": "EUR/MB"
            }
          }
        ],
        "max_blocks": 100,
        "cost_per_block": {
          "value": 0.009,
          "unit": "EUR/h"
        },
        "propagation_delay": {
          "value": 20,
          "unit": "ms"
        },
        "resource_allocation": 0
      },
      {
        "origin": "urn:wws:edge:naples",
        "target": "urn:wws:access:naples",
        "type": "wireline",
        "resources": [
          {
            "type": "bandwidth",
            "capacity": {
              "value": 1,
              "unit": "Mbps"
            },
            "cost": {
              "value": 0.012,
              "unit": "EUR/MB"
            }
          }
        ],
        "max_blocks": 100,
        "cost_per_block": {
              "value": 0.012,
              "unit": "EUR/h"
            },
        "propagation_delay": {
          "value": 5,
          "unit": "ms"
        },
        "resource_allocation": 0
      },
      {
        "origin": "urn:wws:access:naples",
        "target": "urn:wws:edge:naples",
        "type": "wireline",
        "resources": [
          {
            "type": "bandwidth",
            "capacity": {
              "value": 1,
              "unit": "Mbps"
            },
            "cost": {
              "value": 0.012,
              "unit": "EUR/MB"
            }
          }
        ],
        "max_blocks": 100,
        "cost_per_block": {
              "value": 0.012,
              "unit": "EUR/h"
            },
        "propagation_delay": {
          "value": 5,
          "unit": "ms"
        },
        "resource_allocation": 0
      }
    ]
  }
}
