{
    "network_name": "EDFA Example Network - P2P",
    "elements": [{
            "uid": "Site_A",
            "type": "Transceiver",
            "metadata": {
                "location": {
                    "city": "Site A",
                    "region": "",
                    "latitude": 0,
                    "longitude": 0
                }
            }
        },
        {
            "uid": "Span1",
            "type": "Fiber",
            "type_variety": "SSMF",
            "params": {
                "length": 80,
                "loss_coef": 0.2,
                "length_units": "km"
                },
            "metadata": {
                "location": {
                    "region": "",
                    "latitude": 1,
                    "longitude": 0
                }
            }
        },
        {
            "uid": "Edfa1",
            "type": "Edfa",
            "type_variety": "test",            
            "operational": {
                "gain_target": 16,
                "tilt_target": 0
            },
            "metadata": {
                "location": {
                    "region": "",
                    "latitude": 2,
                    "longitude": 0
                }
            }
        },
        {
            "uid": "Span2",
            "type": "Fiber",
            "type_variety": "SSMF",
            "params": {
                "length": 80,
                "loss_coef": 0.2,
                "length_units": "km"
                },
            "metadata": {
                "location": {
                    "region": "",
                    "latitude": 1,
                    "longitude": 0
                }
            }
        },
        {
            "uid": "Edfa2",
            "type": "Edfa",
            "type_variety": "test_fixed_gain",            
            "operational": {
                "gain_target": 16,
                "tilt_target": 0
            },
            "metadata": {
                "location": {
                    "region": "",
                    "latitude": 2,
                    "longitude": 0
                }
            }
        },
        {
        "uid": "Att_B",
        "type": "Fused",
        "params":{
            "loss":16
        }, 
        "metadata": {
            "location": {
              "latitude": 2.0,
              "longitude": 1.0,
              "city": "Corlay",
              "region": "RLD"
                }
            }
        },
        {
            "uid": "Site_B",
            "type": "Transceiver",
            "metadata": {
                "location": {
                    "city": "Site B",
                    "region": "",
                    "latitude": 3,
                    "longitude": 0
                }
            }
        }

    ],
    "connections": [{
            "from_node": "Site_A",
            "to_node": "Span1"
        },
        {
            "from_node": "Span1",
            "to_node": "Edfa1"
        },
        {
            "from_node": "Edfa1",
            "to_node": "Span2"
        },
        {
            "from_node": "Span2",
            "to_node": "Edfa2"
        },        
        {
            "from_node": "Edfa2",
            "to_node": "Att_B"
        },
        {
            "from_node": "Att_B",
            "to_node": "Site_B"
        }

    ]
}
