mirror of
				https://github.com/Telecominfraproject/oopt-gnpy.git
				synced 2025-11-03 19:47:46 +00:00 
			
		
		
		
	add location metadata
This commit is contained in:
		@@ -4,9 +4,13 @@
 | 
				
			|||||||
            "uid": "Site A",
 | 
					            "uid": "Site A",
 | 
				
			||||||
            "type": "Transceiver",
 | 
					            "type": "Transceiver",
 | 
				
			||||||
            "metadata": {
 | 
					            "metadata": {
 | 
				
			||||||
 | 
					                "location": {
 | 
				
			||||||
 | 
					                    "city": "Site A",
 | 
				
			||||||
 | 
					                    "region": "",
 | 
				
			||||||
                    "latitude": 0,
 | 
					                    "latitude": 0,
 | 
				
			||||||
                    "longitude": 0
 | 
					                    "longitude": 0
 | 
				
			||||||
                }
 | 
					                }
 | 
				
			||||||
 | 
					            }
 | 
				
			||||||
        },
 | 
					        },
 | 
				
			||||||
        {
 | 
					        {
 | 
				
			||||||
            "uid": "Span1",
 | 
					            "uid": "Span1",
 | 
				
			||||||
@@ -19,9 +23,12 @@
 | 
				
			|||||||
		"gamma": 1.27E-3
 | 
							"gamma": 1.27E-3
 | 
				
			||||||
            },
 | 
					            },
 | 
				
			||||||
            "metadata": {
 | 
					            "metadata": {
 | 
				
			||||||
 | 
					                "location": {
 | 
				
			||||||
 | 
					                    "region": "",
 | 
				
			||||||
                    "latitude": 1,
 | 
					                    "latitude": 1,
 | 
				
			||||||
                    "longitude": 0
 | 
					                    "longitude": 0
 | 
				
			||||||
                }
 | 
					                }
 | 
				
			||||||
 | 
					            }
 | 
				
			||||||
        },
 | 
					        },
 | 
				
			||||||
        {
 | 
					        {
 | 
				
			||||||
            "uid": "Edfa1",
 | 
					            "uid": "Edfa1",
 | 
				
			||||||
@@ -32,18 +39,25 @@
 | 
				
			|||||||
            },
 | 
					            },
 | 
				
			||||||
            "config_from_json": "edfa_config.json",
 | 
					            "config_from_json": "edfa_config.json",
 | 
				
			||||||
            "metadata": {
 | 
					            "metadata": {
 | 
				
			||||||
 | 
					                "location": {
 | 
				
			||||||
 | 
					                    "region": "",
 | 
				
			||||||
                    "latitude": 2,
 | 
					                    "latitude": 2,
 | 
				
			||||||
                    "longitude": 0
 | 
					                    "longitude": 0
 | 
				
			||||||
                }
 | 
					                }
 | 
				
			||||||
 | 
					            }
 | 
				
			||||||
        },
 | 
					        },
 | 
				
			||||||
        {
 | 
					        {
 | 
				
			||||||
            "uid": "Site B",
 | 
					            "uid": "Site B",
 | 
				
			||||||
            "type": "Transceiver",
 | 
					            "type": "Transceiver",
 | 
				
			||||||
            "metadata": {
 | 
					            "metadata": {
 | 
				
			||||||
 | 
					                "location": {
 | 
				
			||||||
 | 
					                    "city": "Site B",
 | 
				
			||||||
 | 
					                    "region": "",
 | 
				
			||||||
                    "latitude": 3,
 | 
					                    "latitude": 3,
 | 
				
			||||||
                    "longitude": 0
 | 
					                    "longitude": 0
 | 
				
			||||||
                }
 | 
					                }
 | 
				
			||||||
            }
 | 
					            }
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    ],
 | 
					    ],
 | 
				
			||||||
    "connections": [{
 | 
					    "connections": [{
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user