add location metadata

This commit is contained in:
James Powell
2018-02-22 04:50:06 -05:00
parent 27bae162d6
commit 07cc3fc079

View File

@@ -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": [{