summaryrefslogtreecommitdiffstats
path: root/aai-traversal/src/test/resources/payloads/templates/generic-vnf-to-configuration.json
blob: c6174128ab11acc700014e99c83a02ad96cb343b (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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
{
  "vnf-id": "${vnf-id}",
  "vnf-name": "vnf-name1",
  "vnf-type": "vnf-type1",
  "prov-status": "PROV",
  "license-key": "1123456",
  "equipment-role": "Test123-Eq-Role",
  "in-maint": false,
  "is-closed-loop-disabled": false,
  "relationship-list": {
    "relationship": [
      {
        "related-to": "configuration",
        "relationship-label": "org.onap.relationships.inventory.Uses",
        "related-link": "/aai/v13/network/configurations/configuration/${configuration-id}",
        "relationship-data": [
          {
            "relationship-key": "configuration.configuration-id",
            "relationship-value": "${configuration-id}"
          }
        ]
      }
    ]
  },
  "l-interfaces": {
    "l-interface": [
      {
        "interface-name": "${interface-name}",
        "interface-role": "ijWc",
        "network-name": "network-name1",
        "interface-description": "3W6lisag9rH",
        "is-port-mirrored": false,
        "in-maint": true,
        "is-ip-unnumbered": false,
        "relationship-list": {
          "relationship": [
            {
              "related-to": "configuration",
              "relationship-label": "org.onap.relationships.inventory.AppliesTo",
              "related-link": "/aai/v13/network/configurations/configuration/${configuration-id}",
              "relationship-data": [
                {
                  "relationship-key": "configuration.configuration-id",
                  "relationship-value": "${configuration-id}"
                }
              ]
            }
          ]
        },
        "vlans": {
          "vlan": [
            {
              "vlan-interface": "${vlan-interface}",
              "in-maint": false,
              "is-ip-unnumbered": false,
              "l3-interface-ipv4-address-list": [
                {
                  "l3-interface-ipv4-address": "135.190.177.164"
                }
              ],
              "l3-interface-ipv6-address-list": [
                {
                  "l3-interface-ipv6-address": "135.190.177.165"
                }
              ]
            }
          ]
        }
      }
    ]
  }
}