summaryrefslogtreecommitdiffstats
path: root/pomba/network-discovery/config/jolt/l3-network.json
blob: 77fa4aa6fca205eb6d9a168984f38d8fb7df9a0b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
[
  {
    "operation": "shift",
    "spec": {
      "network": {
        "id": "id",
        "name": "name",
        "admin_state_up": "tempList[].adminState",
        "shared": "tempList[].sharedNetwork",
        "status": "tempList[].status",
        "subnets" : {
          "*": "tempList[].subnets"
         },
        "tenant_id" : "tempList[].tenantId"
      }
    }
  },
  {
    "operation": "shift",
    "spec": {
      "tempList": {
        "*": {
        	"*" : {
        	   "$": "attributeList[#3].name",
        	   "@": "attributeList[#3].value"
        	},
        	"#ok": "attributeList[#2].dataQuality.status"
        }
      },
      "*": {
         "@" : "&"
      },
      "#l3-network": "type",
      "#ok": "dataQuality.status"
     }
   }

]