You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »


Proposal -1:

we will use the vserver to update the pod information in AAI (no.of pods = no.of vservers).

For IP will use the l-interface in the vserver, and currently we are suggesting five fields to be add to AAI, as shown in below (Marked in RED).

Please let me know, if I need to modify/change anything. So that we can finalize the AAI model for the POD.


Vserver.json
{
"vserver-id": "example-vserver-id-val-54206",
"vserver-name": "POD-NAME",
"vserver-name2": "Relese-name/Profile-name of the POD (Labels:release=profile-k8s)”
"prov-status": "NAMESPACE of the POD",
"vserver-selflink": "example-vserver-selflink-val-53168",
"in-maint": true,
"is-closed-loop-disabled": true,
"volumes": {
"volume": [{
"volume-id": "example-volume-id-val-71602",
"volume-selflink": "example-volume-selflink-val-80626"
}]
},
"l-interfaces": {
"l-interface": [{
"interface-name": "example-interface-name-val-29637",
"interface-role": "example-interface-role-val-49763",
"v6-wan-link-ip": "example-v6-wan-link-ip-val-73419",
"selflink": "example-selflink-val-83045",
"interface-id": "example-interface-id-val-17917",
"macaddr": "example-macaddr-val-71542",
"network-name": "example-network-name-val-2842",
"management-option": "example-management-option-val-16536",
"interface-description": "example-interface-description-val-85643",
"is-port-mirrored": true,
"in-maint": true,
"prov-status": "example-prov-status-val-73622",
"is-ip-unnumbered": true,
"allowed-address-pairs": "example-allowed-address-pairs-val-92267",
"vlans": {
"vlan": [{
"vlan-interface": "example-vlan-interface-val-54497",
"vlan-id-inner": 70918078,
"vlan-id-outer": 61012074,
"speed-value": "example-speed-value-val-12296",
"speed-units": "example-speed-units-val-84452",
"vlan-description": "example-vlan-description-val-13828",
"backdoor-connection": "example-backdoor-connection-val-63476",
"vpn-key": "example-vpn-key-val-54149",
"orchestration-status": "example-orchestration-status-val-66103",
"in-maint": true,
"prov-status": "example-prov-status-val-60754",
"is-ip-unnumbered": true,
"is-private": true,
"l3-interface-ipv4-address-list": [{
"l3-interface-ipv4-address": "example-l3-interface-ipv4-address-val-25332",
"l3-interface-ipv4-prefix-length": 44948626,
"vlan-id-inner": 90390215,
"vlan-id-outer": 59415181,
"is-floating": true,
"neutron-network-id": "example-neutron-network-id-val-49439",
"neutron-subnet-id": "example-neutron-subnet-id-val-17490"
}],
"l3-interface-ipv6-address-list": [{
"l3-interface-ipv6-address": "example-l3-interface-ipv6-address-val-65463",
"l3-interface-ipv6-prefix-length": 28285864,
"vlan-id-inner": 68853321,
"vlan-id-outer": 36358258,
"is-floating": true,
"neutron-network-id": "example-neutron-network-id-val-85239",
"neutron-subnet-id": "example-neutron-subnet-id-val-11639"
}]
}]
},
"sriov-vfs": {
"sriov-vf": [{
"pci-id": "example-pci-id-val-68804",
"vf-vlan-filter": "example-vf-vlan-filter-val-66686",
"vf-mac-filter": "example-vf-mac-filter-val-4844",
"vf-vlan-strip": true,
"vf-vlan-anti-spoof-check": true,
"vf-mac-anti-spoof-check": true,
"vf-mirrors": "example-vf-mirrors-val-62994",
"vf-broadcast-allow": true,
"vf-unknown-multicast-allow": true,
"vf-unknown-unicast-allow": true,
"vf-insert-stag": true,
"vf-link-status": "example-vf-link-status-val-61210",
"neutron-network-id": "example-neutron-network-id-val-92364"
}]
},
"l-interfaces": {
"l-interface": [{
"interface-name": "example-interface-name-val-24756",
"interface-role": "example-interface-role-val-99880",
"v6-wan-link-ip": "example-v6-wan-link-ip-val-83433",
"selflink": "example-selflink-val-37078",
"interface-id": "example-interface-id-val-30028",
"macaddr": "example-macaddr-val-48581",
"network-name": "example-network-name-val-66290",
"management-option": "example-management-option-val-75756",
"interface-description": "example-interface-description-val-12906",
"is-port-mirrored": true,
"in-maint": true,
"prov-status": "example-prov-status-val-34593",
"is-ip-unnumbered": true,
"allowed-address-pairs": "example-allowed-address-pairs-val-55176",
"admin-status": "example-admin-status-val-64707"
}]
},
"l3-interface-ipv4-address-list": [{
"l3-interface-ipv4-address": <"IP_Address">,
"l3-interface-ipv4-prefix-length": <PORT>,
"vlan-id-inner": 17112845,
"vlan-id-outer": 77792568,
"is-floating": true,
"neutron-network-id": "example-neutron-network-id-val-60469",
"neutron-subnet-id": "example-neutron-subnet-id-val-22212"
}],
"l3-interface-ipv6-address-list": [{
"l3-interface-ipv6-address": "example-l3-interface-ipv6-address-val-99899",
"l3-interface-ipv6-prefix-length": 78690445,
"vlan-id-inner": 66245854,
"vlan-id-outer": 11258712,
"is-floating": true,
"neutron-network-id": "example-neutron-network-id-val-57495",
"neutron-subnet-id": "example-neutron-subnet-id-val-2203"
}],
"admin-status": "example-admin-status-val-39685"
}]
}
}
  • No labels