netgroup-polito / un-orchestrator

Universal Node Orchestrator
Other
21 stars 13 forks source link

Two endpoints cannot have the same ID #105

Closed ivanocerrato closed 8 years ago

ivanocerrato commented 8 years ago

The following graph is wrong because the two endpoints have both ID 1. However the unorch does not recognize any error.

"end-points": [
  {
    "interface": {
      "if-name": "eth1"
    },
    "type": "interface",
    "id": "1",
    "name": "OVS-north external port"
  },
  {
    "interface": {
      "if-name": "eth2"
    },
    "type": "interface",
    "id": "1",
    "name": "OVS-south external port"
  }
],
ivanocerrato commented 8 years ago

Fixed. I'm going to fix the same issue related to the VNFs IDs.

ivanocerrato commented 8 years ago

Fixed both the issues (on endpoints ID and on VNFs ID).