Commit 6220b5d5 authored by Andrea Sgambelluri's avatar Andrea Sgambelluri
Browse files

READM.md for testing

parent 849e3a08
Loading
Loading
Loading
Loading

ofc24/1.context.json

0 → 100755
+19 −0
Original line number Diff line number Diff line
{
    "contexts": [
        {
            "context_id": {"context_uuid": {"uuid": "admin"}},
            "topology_ids": [],
            "service_ids": []
        }
    ],
    "topologies": [
        {
            "topology_id": {
                "context_id": {"context_uuid": {"uuid": "admin"}},
                "topology_uuid": {"uuid": "admin"}
            },
            "device_ids": [],
            "link_ids": []
        }
    ]
}

ofc24/2.device1.json

0 → 100755
+91 −0
Original line number Diff line number Diff line
{
    "devices": [
        {
            "device_id": {
                "device_uuid": {
                    "uuid": "T1"
                }
            },
            "device_type": "optical-transponder",
            "device_drivers": [
				11
            ],
            "device_endpoints": [
                {
                    "endpoint_id": {
                        "device_id": {
                            "device_uuid": {
                                "uuid": "T1"
                            }
                        },
                        "topology_id": {
                            "context_id": {
                                "context_uuid": {
                                    "uuid": "admin"
                                }
                            },
                            "topology_uuid": {
                                "uuid": "admin"
                            }
                        },
                        "endpoint_uuid": {
                            "uuid": "1"
                        }
                    }
                }
            ],
            "device_operational_status": 1,
            "device_config": {
                "config_rules": [
                    {
                        "action": 1,
                        "custom": {
                            "resource_key": "_connect/address",
                            "resource_value": "10.0.2.15"
                        }
                    },
                    {
                        "action": 1,
                        "custom": {
                            "resource_key": "_connect/port",
                            "resource_value": "2023"
                        }
                    },
                    {
                        "action": 1,
                        "custom": {
                            "resource_key": "_connect/settings",
                            "resource_value": {
                                "username": "admin",
                                "password": "admin",
                                "force_running": false,
                                "hostkey_verify": false,
                                "look_for_keys": false,
                                "allow_agent": false,
                                "commit_per_rule": false,
                                "device_params": {
                                    "name": "default"
                                },
                                "manager_params": {
                                    "timeout": 120
                                },
                                "endpoints": [
                                    {
                                        "sample_types": [
                                            101,
                                            102,
                                            201,
                                            202
                                        ],
                                        "type": "optical",
                                        "uuid": "1"
                                    }
                                ]
                            }
                        }
                    }
                ]
            }
        }
    ]
}
 No newline at end of file

ofc24/3.device2.json

0 → 100755
+91 −0
Original line number Diff line number Diff line
{
    "devices": [
		{
            "device_id": {
                "device_uuid": {
                    "uuid": "T2"
                }
            },
            "device_type": "optical-transponder",
            "device_drivers": [
                11
            ],
            "device_endpoints": [
                {
                    "endpoint_id": {
                        "device_id": {
                            "device_uuid": {
                                "uuid": "T2"
                            }
                        },
                        "topology_id": {
                            "context_id": {
                                "context_uuid": {
                                    "uuid": "admin"
                                }
                            },
                            "topology_uuid": {
                                "uuid": "admin"
                            }
                        },
                        "endpoint_uuid": {
                            "uuid": "6"
                        }
                    }
                }
            ],
            "device_operational_status": 1,
            "device_config": {
                "config_rules": [
                    {
                        "action": 1,
                        "custom": {
                            "resource_key": "_connect/address",
                            "resource_value": "10.0.2.15"
                        }
                    },
                    {
                        "action": 1,
                        "custom": {
                            "resource_key": "_connect/port",
                            "resource_value": "2024"
                        }
                    },
                    {
                        "action": 1,
                        "custom": {
                            "resource_key": "_connect/settings",
                            "resource_value": {
                                "username": "admin",
                                "password": "admin",
                                "force_running": false,
                                "hostkey_verify": false,
                                "look_for_keys": false,
                                "allow_agent": false,
                                "commit_per_rule": false,
                                "device_params": {
                                    "name": "default"
                                },
                                "manager_params": {
                                    "timeout": 120
                                },
                                "endpoints": [
                                    {
                                        "sample_types": [
                                            101,
                                            102,
                                            201,
                                            202
                                        ],
                                        "type": "optical",
                                        "uuid": "6"
                                    }
                                ]
                            }
                        }
                    }
                ]
            }
        }
    ]
}
 No newline at end of file
+188 −0
Original line number Diff line number Diff line
{
    "devices": [
        {
            "device_id": {
                "device_uuid": {
                    "uuid": "R1"
                }
            },
            "device_type": "optical-roadm",
            "device_drivers": [
                11
            ],
            "device_endpoints": [
                {
                    "endpoint_id": {
                        "device_id": {
                            "device_uuid": {
                                "uuid": "R1"
                            }
                        },
                        "topology_id": {
                            "context_id": {
                                "context_uuid": {
                                    "uuid": "admin"
                                }
                            },
                            "topology_uuid": {
                                "uuid": "admin"
                            }
                        },
                        "endpoint_uuid": {
                            "uuid": "2"
                        }
                    }
                },
				{
                    "endpoint_id": {
                        "device_id": {
                            "device_uuid": {
                                "uuid": "R1"
                            }
                        },
                        "topology_id": {
                            "context_id": {
                                "context_uuid": {
                                    "uuid": "admin"
                                }
                            },
                            "topology_uuid": {
                                "uuid": "admin"
                            }
                        },
                        "endpoint_uuid": {
                            "uuid": "3"
                        }
                    }
                },
				{
                    "endpoint_id": {
                        "device_id": {
                            "device_uuid": {
                                "uuid": "R1"
                            }
                        },
                        "topology_id": {
                            "context_id": {
                                "context_uuid": {
                                    "uuid": "admin"
                                }
                            },
                            "topology_uuid": {
                                "uuid": "admin"
                            }
                        },
                        "endpoint_uuid": {
                            "uuid": "12"
                        }
                    }
                },
				{
                    "endpoint_id": {
                        "device_id": {
                            "device_uuid": {
                                "uuid": "R1"
                            }
                        },
                        "topology_id": {
                            "context_id": {
                                "context_uuid": {
                                    "uuid": "admin"
                                }
                            },
                            "topology_uuid": {
                                "uuid": "admin"
                            }
                        },
                        "endpoint_uuid": {
                            "uuid": "13"
                        }
                    }
                }			
            ],
            "device_operational_status": 1,
            "device_config": {
                "config_rules": [
                    {
                        "action": 1,
                        "custom": {
                            "resource_key": "_connect/address",
                            "resource_value": "10.0.2.15"
                        }
                    },
                    {
                        "action": 1,
                        "custom": {
                            "resource_key": "_connect/port",
                            "resource_value": "2025"
                        }
                    },
                    {
                        "action": 1,
                        "custom": {
                            "resource_key": "_connect/settings",
                            "resource_value": {
                                "username": "admin",
                                "password": "admin",
                                "force_running": false,
                                "hostkey_verify": false,
                                "look_for_keys": false,
                                "allow_agent": false,
                                "commit_per_rule": false,
                                "device_params": {
                                    "name": "default"
                                },
                                "manager_params": {
                                    "timeout": 120
                                },
                                "endpoints": [
                                    {
                                        "sample_types": [
                                            101,
                                            102,
                                            201,
                                            202
                                        ],
                                        "type": "optical",
                                        "uuid": "2"
                                    },
									{
                                        "sample_types": [
                                            101,
                                            102,
                                            201,
                                            202
                                        ],
                                        "type": "optical",
                                        "uuid": "3"
                                    },
									                                    {
                                        "sample_types": [
                                            101,
                                            102,
                                            201,
                                            202
                                        ],
                                        "type": "optical",
                                        "uuid": "12"
                                    },
									{
                                        "sample_types": [
                                            101,
                                            102,
                                            201,
                                            202
                                        ],
                                        "type": "optical",
                                        "uuid": "13"
                                    }

                                ]
                            }
                        }
                    }
                ]
            }
        }
    ]
}
 No newline at end of file
+189 −0
Original line number Diff line number Diff line
{
    "devices": [
        {
            "device_id": {
                "device_uuid": {
                    "uuid": "R2"
                }
            },
            "device_type": "optical-roadm",
            "device_drivers": [
                11
            ],
            "device_endpoints": [
                {
                    "endpoint_id": {
                        "device_id": {
                            "device_uuid": {
                                "uuid": "R2"
                            }
                        },
                        "topology_id": {
                            "context_id": {
                                "context_uuid": {
                                    "uuid": "admin"
                                }
                            },
                            "topology_uuid": {
                                "uuid": "admin"
                            }
                        },
                        "endpoint_uuid": {
                            "uuid": "4"
                        }
                    }
                },
				{
                    "endpoint_id": {
                        "device_id": {
                            "device_uuid": {
                                "uuid": "R2"
                            }
                        },
                        "topology_id": {
                            "context_id": {
                                "context_uuid": {
                                    "uuid": "admin"
                                }
                            },
                            "topology_uuid": {
                                "uuid": "admin"
                            }
                        },
                        "endpoint_uuid": {
                            "uuid": "5"
                        }
                    }
                },
				{
                    "endpoint_id": {
                        "device_id": {
                            "device_uuid": {
                                "uuid": "R2"
                            }
                        },
                        "topology_id": {
                            "context_id": {
                                "context_uuid": {
                                    "uuid": "admin"
                                }
                            },
                            "topology_uuid": {
                                "uuid": "admin"
                            }
                        },
                        "endpoint_uuid": {
                            "uuid": "14"
                        }
                    }
                },
				{
                    "endpoint_id": {
                        "device_id": {
                            "device_uuid": {
                                "uuid": "R2"
                            }
                        },
                        "topology_id": {
                            "context_id": {
                                "context_uuid": {
                                    "uuid": "admin"
                                }
                            },
                            "topology_uuid": {
                                "uuid": "admin"
                            }
                        },
                        "endpoint_uuid": {
                            "uuid": "15"
                        }
                    }
                }
				
            ],
            "device_operational_status": 1,
            "device_config": {
                "config_rules": [
                    {
                        "action": 1,
                        "custom": {
                            "resource_key": "_connect/address",
                            "resource_value": "10.0.2.15"
                        }
                    },
                    {
                        "action": 1,
                        "custom": {
                            "resource_key": "_connect/port",
                            "resource_value": "2026"
                        }
                    },
                    {
                        "action": 1,
                        "custom": {
                            "resource_key": "_connect/settings",
                            "resource_value": {
                                "username": "admin",
                                "password": "admin",
                                "force_running": false,
                                "hostkey_verify": false,
                                "look_for_keys": false,
                                "allow_agent": false,
                                "commit_per_rule": false,
                                "device_params": {
                                    "name": "default"
                                },
                                "manager_params": {
                                    "timeout": 120
                                },
                                "endpoints": [
                                    {
                                        "sample_types": [
                                            101,
                                            102,
                                            201,
                                            202
                                        ],
                                        "type": "optical",
                                        "uuid": "4"
                                    },
									{
                                        "sample_types": [
                                            101,
                                            102,
                                            201,
                                            202
                                        ],
                                        "type": "optical",
                                        "uuid": "5"
                                    },
									                                    {
                                        "sample_types": [
                                            101,
                                            102,
                                            201,
                                            202
                                        ],
                                        "type": "optical",
                                        "uuid": "14"
                                    },
									{
                                        "sample_types": [
                                            101,
                                            102,
                                            201,
                                            202
                                        ],
                                        "type": "optical",
                                        "uuid": "15"
                                    }

                                ]
                            }
                        }
                    }
                ]
            }
        }
    ]
}
 No newline at end of file
Loading