summaryrefslogtreecommitdiffstats
path: root/pomba/network-discovery/config/jolt/port.json
diff options
context:
space:
mode:
Diffstat (limited to 'pomba/network-discovery/config/jolt/port.json')
-rw-r--r--pomba/network-discovery/config/jolt/port.json33
1 files changed, 33 insertions, 0 deletions
diff --git a/pomba/network-discovery/config/jolt/port.json b/pomba/network-discovery/config/jolt/port.json
new file mode 100644
index 0000000..99597b5
--- /dev/null
+++ b/pomba/network-discovery/config/jolt/port.json
@@ -0,0 +1,33 @@
+[
+ {
+ "operation": "shift",
+ "spec": {
+ "port": {
+ "id": "id",
+ "name": "name",
+ "admin_state_up": "tempList[].adminStateUp",
+ "mac_address" : "tempList[].macAddress"
+ }
+ }
+ },
+ {
+ "operation": "shift",
+ "spec": {
+ "tempList": {
+ "*": {
+ "*" : {
+ "$": "attributeList[#3].name",
+ "@": "attributeList[#3].value"
+ },
+ "#ok": "attributeList[#2].dataQuality.status"
+ }
+ },
+ "*": {
+ "@" : "&"
+ },
+ "#port": "type",
+ "#ok": "dataQuality.status"
+ }
+ }
+
+] \ No newline at end of file