Commit 736541ca authored by Lluis Gifre Renom's avatar Lluis Gifre Renom
Browse files

OFC25 tests:

- Updated descriptor files
parent e8477b02
Loading
Loading
Loading
Loading
+81 −82
Original line number Diff line number Diff line
{
    "contexts": [
       {
          "context_id":{
             "context_uuid":{
                "uuid":"admin"
             }
          }
       }
        {"context_id": {"context_uuid": {"uuid": "admin"}}}
    ],
    "topologies": [
       {
          "topology_id":{
             "context_id":{
                "context_uuid":{
                   "uuid":"admin"
                }
             },
             "topology_uuid":{
                "uuid":"admin"
             }
          }
       }
        {"topology_id": {"context_id": {"context_uuid": {"uuid": "admin"}}, "topology_uuid": {"uuid": "admin"}}}
    ],
    "links":[
    "devices": [
        {
          "link_id":{
             "link_uuid":{
                "uuid":"CSGW1_CTP1-OTP1"
             }
          },
          "link_endpoint_ids":[
             {
                "device_id":{
                   "device_uuid":{
                      "uuid":"CSGW1"
                   }
                },
                "endpoint_uuid":{
                   "uuid":"PORT-xe5"
                }
            "device_id": {"device_uuid": {"uuid": "TFS-PACKET"}}, "device_type": "teraflowsdn",
            "device_drivers": ["DEVICEDRIVER_IETF_L3VPN"], "device_operational_status": "DEVICEOPERATIONALSTATUS_UNDEFINED",
            "device_config": {"config_rules": [
                {"action": 1, "custom": {"resource_key": "_connect/address", "resource_value": "127.0.0.1"}},
                {"action": 1, "custom": {"resource_key": "_connect/port", "resource_value": "8002"}},
                {"action": 1, "custom": {"resource_key": "_connect/settings", "resource_value": {
                    "scheme": "http", "username": "admin", "password": "admin"
                }}}
            ]}
        },
        {
                "device_id":{
                   "device_uuid":{
                      "uuid":"OTP1.1"
                   }
                },
                "endpoint_uuid":{
                   "uuid":"P2"
                }
             }
          ]
       },
       {
          "link_id":{
             "link_uuid":{
                "uuid":"CSGW2_CTP1-OTP1"
             }
          },
          "link_endpoint_ids":[
             {
                "device_id":{
                   "device_uuid":{
                      "uuid":"CSGW2"
                   }
                },
                "endpoint_uuid":{
                   "uuid":"PORT-xe5"
                }
             },
             {
                "device_id":{
                   "device_uuid":{
                      "uuid":"OTP2.1"
                   }
                },
                "endpoint_uuid":{
                   "uuid":"P2"
                }
             }
          ]
            "device_id": {"device_uuid": {"uuid": "TFS-OPTICAL"}}, "device_type": "teraflowsdn",
            "device_drivers": ["DEVICEDRIVER_OPTICAL_TFS"], "device_operational_status": "DEVICEOPERATIONALSTATUS_UNDEFINED",
            "device_config": {"config_rules": [
                {"action": 1, "custom": {"resource_key": "_connect/address", "resource_value": "127.0.0.1"}},
                {"action": 1, "custom": {"resource_key": "_connect/port", "resource_value": "8003"}},
                {"action": 1, "custom": {"resource_key": "_connect/settings", "resource_value": {
                    "scheme": "http", "username": "admin", "password": "admin"
                }}}
            ]}
        }
    ],
    "links": [
        {"link_id": {"link_uuid": {"uuid": "CSGW1-TP1.1"}}, "link_endpoint_ids": [
            {"device_id": {"device_uuid": {"uuid": "CSGW1"}}, "endpoint_uuid": {"uuid": "PORT-xe1"}},
            {"device_id": {"device_uuid": {"uuid": "TP1.1"}}, "endpoint_uuid": {"uuid": "CLIENT"  }}
        ]},
        {"link_id": {"link_uuid": {"uuid": "CSGW1-TP1.2"}}, "link_endpoint_ids": [
            {"device_id": {"device_uuid": {"uuid": "CSGW1"}}, "endpoint_uuid": {"uuid": "PORT-xe2"}},
            {"device_id": {"device_uuid": {"uuid": "TP1.2"}}, "endpoint_uuid": {"uuid": "CLIENT"  }}
        ]},
        {"link_id": {"link_uuid": {"uuid": "CSGW1-TP1.3"}}, "link_endpoint_ids": [
            {"device_id": {"device_uuid": {"uuid": "CSGW1"}}, "endpoint_uuid": {"uuid": "PORT-xe3"}},
            {"device_id": {"device_uuid": {"uuid": "TP1.3"}}, "endpoint_uuid": {"uuid": "CLIENT"  }}
        ]},

        {"link_id": {"link_uuid": {"uuid": "CSGW2-TP2.1"}}, "link_endpoint_ids": [
            {"device_id": {"device_uuid": {"uuid": "CSGW2"}}, "endpoint_uuid": {"uuid": "PORT-xe1"}},
            {"device_id": {"device_uuid": {"uuid": "TP2.1"}}, "endpoint_uuid": {"uuid": "CLIENT"  }}
        ]},
        {"link_id": {"link_uuid": {"uuid": "CSGW2-TP2.2"}}, "link_endpoint_ids": [
            {"device_id": {"device_uuid": {"uuid": "CSGW2"}}, "endpoint_uuid": {"uuid": "PORT-xe2"}},
            {"device_id": {"device_uuid": {"uuid": "TP2.2"}}, "endpoint_uuid": {"uuid": "CLIENT"  }}
        ]},
        {"link_id": {"link_uuid": {"uuid": "CSGW2-TP2.3"}}, "link_endpoint_ids": [
            {"device_id": {"device_uuid": {"uuid": "CSGW2"}}, "endpoint_uuid": {"uuid": "PORT-xe3"}},
            {"device_id": {"device_uuid": {"uuid": "TP2.3"}}, "endpoint_uuid": {"uuid": "CLIENT"  }}
        ]},

        {"link_id": {"link_uuid": {"uuid": "TP1.1-CSGW1"}}, "link_endpoint_ids": [
            {"device_id": {"device_uuid": {"uuid": "TP1.1"}}, "endpoint_uuid": {"uuid": "CLIENT"  }},
            {"device_id": {"device_uuid": {"uuid": "CSGW1"}}, "endpoint_uuid": {"uuid": "PORT-xe1"}}
        ]},
        {"link_id": {"link_uuid": {"uuid": "TP1.2-CSGW1"}}, "link_endpoint_ids": [
            {"device_id": {"device_uuid": {"uuid": "TP1.2"}}, "endpoint_uuid": {"uuid": "CLIENT"  }},
            {"device_id": {"device_uuid": {"uuid": "CSGW1"}}, "endpoint_uuid": {"uuid": "PORT-xe2"}}
        ]},
        {"link_id": {"link_uuid": {"uuid": "TP1.3-CSGW1"}}, "link_endpoint_ids": [
            {"device_id": {"device_uuid": {"uuid": "TP1.3"}}, "endpoint_uuid": {"uuid": "CLIENT"  }},
            {"device_id": {"device_uuid": {"uuid": "CSGW1"}}, "endpoint_uuid": {"uuid": "PORT-xe3"}}
        ]},

        {"link_id": {"link_uuid": {"uuid": "TP2.1-CSGW2"}}, "link_endpoint_ids": [
            {"device_id": {"device_uuid": {"uuid": "TP2.1"}}, "endpoint_uuid": {"uuid": "CLIENT"  }},
            {"device_id": {"device_uuid": {"uuid": "CSGW2"}}, "endpoint_uuid": {"uuid": "PORT-xe1"}}
        ]},
        {"link_id": {"link_uuid": {"uuid": "TP2.2-CSGW2"}}, "link_endpoint_ids": [
            {"device_id": {"device_uuid": {"uuid": "TP2.2"}}, "endpoint_uuid": {"uuid": "CLIENT"  }},
            {"device_id": {"device_uuid": {"uuid": "CSGW2"}}, "endpoint_uuid": {"uuid": "PORT-xe2"}}
        ]},
        {"link_id": {"link_uuid": {"uuid": "TP2.3-CSGW2"}}, "link_endpoint_ids": [
            {"device_id": {"device_uuid": {"uuid": "TP2.3"}}, "endpoint_uuid": {"uuid": "CLIENT"  }},
            {"device_id": {"device_uuid": {"uuid": "CSGW2"}}, "endpoint_uuid": {"uuid": "PORT-xe3"}}
        ]}
    ]
}
 
 No newline at end of file
+33 −210
Original line number Diff line number Diff line
{
    "contexts": [
       {
          "context_id":{
             "context_uuid":{
                "uuid":"admin"
             }
          }
       }
        {"context_id": {"context_uuid": {"uuid": "admin"}}}
    ],
    "topologies": [
       {
          "topology_id":{
             "context_id":{
                "context_uuid":{
                   "uuid":"admin"
                }
             },
             "topology_uuid":{
                "uuid":"admin"
             }
          }
       }
        {"topology_id": {"context_id": {"context_uuid": {"uuid": "admin"}}, "topology_uuid": {"uuid": "admin"}}}
    ],
    "devices": [
        {
          "device_id":{
             "device_uuid":{
                "uuid":"CSGW1"
             }
          },
          "device_type":"emu-packet-router",
          "device_drivers":[
             0
          ],
 
          "device_operational_status":2,
 
          "device_config":{
             "config_rules":[
                {
                   "action":1,
                   "custom":{
                      "resource_key":"_connect/address",
                      "resource_value":"127.0.0.1"
                   }
                },
                {
                   "action":1,
                   "custom":{
                      "resource_key":"_connect/port",
                      "resource_value":0
                   }
                },
                {
                   "action":1,
                   "custom":{
                      "resource_key":"_connect/settings",
                      "resource_value":{
                         "endpoints":[
                            {
                               "name":"PORT-xe5",
                               "type":"copper",
                               "uuid":"PORT-xe5"
                            }
                         ]
                      }
                   }
                },
                {
                   "action":1,
                   "custom":{
                      "resource_key":"/endpoints/endpoint[PORT-xe5]",
                      "resource_value":{
                         "name":"PORT-xe5",
                         "type":"copper",
                         "uuid":"PORT-xe5"
                      }
                   }
                }
             ]
          },
          "device_endpoints":[
             {
                "endpoint_id":{
                   "device_id":{
                      "device_uuid":{
                         "uuid":"CSGW1"
                      }
                   },
                   "endpoint_uuid":{
                      "uuid":"PORT-xe5"
                   },
                   "topology_id":{
                      "context_id":{
                         "context_uuid":{
                            "uuid":"admin"
                         }
                      },
                      "topology_uuid":{
                         "uuid":"admin"
                      }
                   }
                },
                "endpoint_location":{
                   
                },
                "endpoint_type":"optical",
                "kpi_sample_types":[
                   
                ],
                "name":"PORT-xe5"
             }
          ],
 
          "name":"CSGW1"
       },
       {
          "device_id":{
             "device_uuid":{
                "uuid":"CSGW2"
             }
          },
          "device_type":"emu-packet-router",
          "device_drivers":[
             0
          ],
 
          "device_operational_status":2,
 
          "device_config":{
             "config_rules":[
                {
                   "action":1,
                   "custom":{
                      "resource_key":"_connect/address",
                      "resource_value":"127.0.0.1"
                   }
                },
                {
                   "action":1,
                   "custom":{
                      "resource_key":"_connect/port",
                      "resource_value":0
                   }
                },
                {
                   "action":1,
                   "custom":{
                      "resource_key":"_connect/settings",
                      "resource_value":{
                         "endpoints":[
                            {
                               "name":"PORT-xe5",
                               "type":"copper",
                               "uuid":"PORT-xe5"
            "device_id": {"device_uuid": {"uuid": "CSGW1"}}, "device_type": "emu-packet-router",
            "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_operational_status": "DEVICEOPERATIONALSTATUS_UNDEFINED",
            "device_config": {"config_rules": [
                {"action": "CONFIGACTION_SET", "custom": {"resource_key": "_connect/address",  "resource_value": "127.0.0.1"}},
                {"action": "CONFIGACTION_SET", "custom": {"resource_key": "_connect/port",     "resource_value": "0"        }},
                {"action": "CONFIGACTION_SET", "custom": {"resource_key": "_connect/settings", "resource_value": {"endpoints": [
                    {"uuid": "PORT-xe1", "type": "copper"},
                    {"uuid": "PORT-xe2", "type": "copper"},
                    {"uuid": "PORT-xe3", "type": "copper"}
                ]}}}
            ]}
        },
        {
            "device_id": {"device_uuid": {"uuid": "CSGW2"}}, "device_type": "emu-packet-router",
            "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_operational_status": "DEVICEOPERATIONALSTATUS_UNDEFINED",
            "device_config": {"config_rules": [
                {"action": "CONFIGACTION_SET", "custom": {"resource_key": "_connect/address",  "resource_value": "127.0.0.1"}},
                {"action": "CONFIGACTION_SET", "custom": {"resource_key": "_connect/port",     "resource_value": "0"        }},
                {"action": "CONFIGACTION_SET", "custom": {"resource_key": "_connect/settings", "resource_value": {"endpoints": [
                    {"uuid": "PORT-xe1", "type": "copper"},
                    {"uuid": "PORT-xe2", "type": "copper"},
                    {"uuid": "PORT-xe3", "type": "copper"}
                ]}}}
            ]}
        }
    ]
}
                   }
                },
                {
                   "action":1,
                   "custom":{
                      "resource_key":"/endpoints/endpoint[PORT-xe5]",
                      "resource_value":{
                         "name":"PORT-xe5",
                         "type":"copper",
                         "uuid":"PORT-xe5"
                      }
                   }
                }
             ]
          },
          "device_endpoints":[
             {
                "endpoint_id":{
                   "device_id":{
                      "device_uuid":{
                         "uuid":"CSGW2"
                      }
                   },
                   "endpoint_uuid":{
                      "uuid":"PORT-xe5"
                   },
                   "topology_id":{
                      "context_id":{
                         "context_uuid":{
                            "uuid":"admin"
                         }
                      },
                      "topology_uuid":{
                         "uuid":"admin"
                      }
                   }
                },
                "endpoint_location":{
                   
                },
                "endpoint_type":"optical",
                "kpi_sample_types":[
                   
                ],
                "name":"PORT-xe5"
             }
          ],
 
          "name":"CSGW2"
       }
    ],
    "dummy_mode":true
 }
 
 No newline at end of file
+187 −798

File changed.

Preview size limit exceeded, changes collapsed.