Age | Commit message (Collapse) | Author | Files | Lines |
|
Issue-ID: AAI-1871
Change-Id: I0d836c8105083f511877f74f08044cc86905e7be
Signed-off-by: Harish Venkata Kajur <vk250x@att.com>
|
|
Issue-ID: AAI-1994
Change-Id: Icc9910db0371eeb8289abd4381ae1936a281a5df
Signed-off-by: Kajur, Harish (vk250x) <vk250x@att.com>
|
|
Currently the findSubGraph is being invoked
and causing additional calls to the database by backing
a tree backed vertex and slowing the performance of GET ALLs
Original intention of both of them was to pre fetch depth 0, 1, and 2
at once so we don't have to get them at each depth but since
that was not done right there is extra amount of time
After the aai-uri migration to ensure all vertexes
have the aai-uri and also to make sure they are unique across graph
we don't need to traverse a vertex to find the parents to build aai-uri
it was done previously when there was no aai-uri to derive the uri of a
given vertex and its not necessary anymore so there would be performance
improvements of vserver when there are a lot of relationships
Currently the edge labels are retrieved for each vertex a
and b and the performance of the GET with relationships will be
propotional to the GET request and how many cousin edges it has
and the more cousin edges there are the more slower the response time
will be as for each cousin vertex its trying to get the edge in between
so the code is modified to only go to the database for the edge label
when there are multiple edge labels (cousin edges) between a and b
If there are only one edge label and its a cousin vertex then we
can use the edge rule to be able to figure out the edge label
Improve PUT on the cloud region by modifying the getEdgesBetween
method which currently was retrieving all the parent
child edges between a and b and then only using the first edge
The traversal itself was too complicated and was costly in terms of
database retrieval and calls and optimized the code to utilize the
edge information so we can modify the query to db at runtime
based on the information provided so when a 10000 vservers under a
tenant adding a new vserver under tenant would be slow because of the
old query performance as it was taking some time there but with this
optimization, its only spending at most a millisecond or 2 in that
method
Also noticed that when a PUT operation takes place, the method
calls the related objects to create a dmaap event which was in turn
calling the findParents and actually utilizing the parents to create the
dmaap event and would spend quite a lot of time here because of the
expensive call of the findParents in this case we need those vertexes
So optimized the code so based on a given vertex, we have the aai-uri
and the newly added metadata uriTemplate to break the aai-uri into
its parent aai-uri and grand parent aai-uri and so forth
With this breakdown, we can get the list of aai-uris which are parents,
grandparents and then use the aai-uri to look them up which is O(1)
lookup time due to the fact they are unique indexes
The time it takes when doing a traversal to find the parents is
propotional to the number of edges but this will be optimistic
Another area which was improved was the json path execution of the
edge rules so when the edge rules get loaded into memory it creates a
document object, it utilizes the jsonpath to query information about
the edge rules but the only thing here is each time it gets called
the query gets invoked and uses jsonpath to retrieve the edge rules when
we can cached them based on the filter so that the user executed and if
the filter is the same as before, the expected edge rules will return
the same
Too much time was spent making the query and retrieving and building the
edgerules
So a cache is a perfect way to optimize this part
Issue-ID: AAI-1987
Change-Id: Ieb8237de3fd31136ceac14bf4a8216a7ab3b7179
Signed-off-by: Kajur, Harish (vk250x) <vk250x@att.com>
|
|
Issue-ID: AAI-1982
Change-Id: Ie572a40a7d0590a62d4919a76753a632c52c4766
Signed-off-by: Kajur, Harish (vk250x) <vk250x@att.com>
|
|
Issue-ID: AAI-1980
Change-Id: Ic1a5689a891dac0ca13ab1b26760174985f304de
Signed-off-by: Kajur, Harish (vk250x) <vk250x@att.com>
|
|
Issue-ID: AAI-1926
Fix EdgeRules for Dublin, rework AAI-1925 instead of cherry-pick.
Fix EdgeRule for allotted-resource to allotted-resource in main json.
Fix EdgeRule for allotted-resource to p-interface in ccvpn json.
Change-Id: I32c404f48583fc7d770e65fbff0b23afb0320245
Signed-off-by: Keong Lim <keong.lim@huawei.com>
|
|
Issue-ID: AAI-1923
Fixed EdgeRules for ext-aai-info to esr-system-info
Fixed EdgeRules for lan-port-config to dhcp-service
Fixed EdgeRules for pnf to network-resource
Fixed EdgeRules for logical-link to ext-aai-network
Fixed EdgeRules for vpn-binding to ext-aai-network
Fixed EdgeRules for pnf to ext-aai-network
Fixed EdgeRules for connectivity to ext-aai-network
Fixed EdgeRules for lan-port-config to ext-aai-network
Fixed EdgeRules for network-resource to ext-aai-network
Fixed EdgeRules for site-resource to ext-aai-network
Fixed EdgeRules for sdwan-vpn to ext-aai-network
Fixed EdgeRules for device to ext-aai-network
Fixed EdgeRules for wan-port-config to ext-aai-network
Appears to be a problem with this combo in EdgeRules:
- "delete-other-v": "${direction}",
- "prevent-delete": "!${direction}",
Break the dependency by making one of these values "NONE".
(cherry picked from commit 04694a8e17d599bc8fd8b7732c648acfb2378f82)
Change-Id: Idc220c88742144a8ad091f316b3afef7be4537f6
Signed-off-by: Keong Lim <keong.lim@huawei.com>
|
|
Issue-ID: AAI-1829
Change-Id: I994a31ac2d737be1db3e5a0821dbc09a32b473c6
Signed-off-by: Kajur, Harish (vk250x) <vk250x@att.com>
|
|
Issue-ID: AAI-1824
Change-Id: I68e5e900db8f6a1a3489c66cd8ae71bbe977e98f
Signed-off-by: Kajur, Harish (vk250x) <vk250x@att.com>
|
|
Issue-ID: AAI-1828
Change-Id: Ifee15d4824a26319f159ed030b0c7f1ab8500041
Signed-off-by: Kajur, Harish (vk250x) <vk250x@att.com>
|
|
Issue-ID: AAI-1826
Change-Id: Ifc7122880e2c98888aa6b478cba3f70fb4c62e52
Signed-off-by: Kajur, Harish (vk250x) <vk250x@att.com>
|
|
Issue-ID: AAI-1824
Change-Id: I3b1fd2b0dca1add9736b49b26ede67e413aa2586
Signed-off-by: Kajur, Harish (vk250x) <vk250x@att.com>
|
|
Issue-ID: AAI-1823
Change-Id: Ifa4ab02584bf99565286dcbaab38339030c70228
Signed-off-by: Kajur, Harish (vk250x) <vk250x@att.com>
|
|
Issue-ID: AAI-1822
Change-Id: Ic78c2f272d25cd0068241db409c0927aaa622471
Signed-off-by: Kajur, Harish (vk250x) <vk250x@att.com>
|
|
Issue-ID: AAI-1820
Change-Id: Iea36a1d1e4c94ea2bc1cd698c482b4fd1db163a9
Signed-off-by: Kajur, Harish (vk250x) <vk250x@att.com>
|
|
Issue-ID: AAI-1813
Change-Id: I1c0f53d9c75ea9d568bd8020680b75ef0a4bf3f6
Signed-off-by: Kajur, Harish (vk250x) <vk250x@att.com>
|
|
Issue-ID: AAI-1812
Change-Id: I2542371baf8f33da1ab2ea3b19073b1f1dc870f4
Signed-off-by: Kajur, Harish (vk250x) <vk250x@att.com>
|
|
Issue-ID: AAI-1671
The EdgeRules for wan-port-config to service-instance should be "MANY2MANY".
Change-Id: Id76e8405d3ce9955d63280320807c4feffd58990
Signed-off-by: Keong Lim <keong.lim@huawei.com>
|
|
Issue-ID: AAI-1668
Change-Id: I36819ab70109cce7991824fe21ae154ca7b26a40
Signed-off-by: Maharajh, Robby (rx2202) <rx2202@att.com>
|
|
Issue-ID: AAI-1665
Change-Id: I8e3a549382e68b9738e2732b6dee06726f6d64d6
Signed-off-by: Maharajh, Robby (rx2202) <rx2202@att.com>
|
|
Issue-ID: AAI-1551
Change-Id: I2bcad1f60beae9ac192f5c2f3d11119272cae94a
Signed-off-by: Kajur, Harish (vk250x) <vk250x@att.com>
|
|
|
|
Issue-ID: AAI-1639
Update wan-port-config with ipv4-address, ipv6-address,
provider-ipv4-address and provider-ipv6-address.
For compatibility, keep ip-address and provider-ip-address as previously
published, but plan to deprecate and remove them.
Change-Id: Id96f90bb4034b8cb0c17f13a601ec881a67e9cf2
Signed-off-by: Keong Lim <keong.lim@huawei.com>
|
|
Issue-ID: AAI-1638
Update device with system-ipv4 and system-ipv6.
For compatibility, keep system-ip as previously published, but plan to
deprecate and remove it.
Change-Id: I740a58d4e4125983fc09af48bd0b4ba786af77f1
Signed-off-by: Keong Lim <keong.lim@huawei.com>
|
|
Issue-ID: AAI-1637
Update EdgeRules for sdwan-vpn to tenant and to vpn-binding
Change-Id: Ifab3416bf98f716ee69f2355c65a11ef1642d1e3
Signed-off-by: Keong Lim <keong.lim@huawei.com>
|
|
Issue-ID: AAI-1635
Add privateEdge to model-version-id in sp-partner, prepare for TOSCA
template from SDC.
Spurious line-ending changes in the generated XSD file.
Change-Id: I8de021b5d59ce88581ccdc01c9dabfc0afb5d1e1
Signed-off-by: Keong Lim <keong.lim@huawei.com>
|
|
|
|
|
|
Added HPA Capacity type in the schema.
Added Capacity information to Compute Nodes in the pserver object
Added relationships for pserver and flavor, pserver and hpa-capacity
Change-Id: I326ed9dd13d94082e532ebaf7286af7a43d9117c
Issue-ID: AAI-1593
Signed-off-by: Dileep Ranganathan <dileep.ranganathan@intel.com>
|
|
Decouples OpenStack Region ID and AAI cloud-region-id and reduces
constraint to onboard Openstack VIM. Added odd one more property
to "esr-system-info: object" to store the OpenStack Region ID which is
used by MultiCloud plugin to interact with an OpenStack instance.
Change-Id: I40d8eec74cf3d5c319c659fd3879f8dc371e2855
Issue-ID: MULTICLOUD-287
Signed-off-by: Dileep Ranganathan <dileep.ranganathan@intel.com>
|
|
Issue-ID: AAI-1557
Update sp-partner with properties:
- operational-status
- model-customization-id
- model-invariant-id
- model-version-id
Change-Id: Iae01c0ad8144bad26b8a308bfe3593ebe38ae82a
Signed-off-by: Keong Lim <keong.lim@huawei.com>
|
|
Issue-ID: AAI-1555
Fix remote-path in esr-system-info.
Should have been camelCase in java-attribute since v11.
Exposed in CCVPN testing of ext-aai-network.
Change-Id: I39b843307058b317972298f125aebc2593a126a7
Signed-off-by: Keong Lim <keong.lim@huawei.com>
|
|
Issue-ID: AAI-1552
Add resource-version property to all the new CCVPN schema elements.
The other ONAP components expect to have this property available for
optimistic concurrency control usage.
Change-Id: I69071d48cb0b784fe67498d51361bb304a22ead9
Signed-off-by: Keong Lim <keong.lim@huawei.com>
|
|
Issue-ID: AAI-1492
Add ext-aai-network element to network namespace.
Add components from network namespace.
Add esr-system-info component.
Add EdgeRules from ext-aai-network to esr-system-info, connectivity and
all the other schema elements.
Make esr-system-info dependentOn ext-aai-network.
Change sub-components of ext-aai-network to COUSIN edge as workaround.
Add relationship-list as workaround.
Change-Id: I8ec11660db7887c5aebcdbe2899c95c457f74e14
Signed-off-by: Keong Lim <keong.lim@huawei.com>
|
|
Issue-ID: AAI-1491
Add wan-port-config element in network namespace.
Add CCVPN EdgeRule for wan-port-config to service-instance.
Change-Id: I7c27b28ea2da72583f88b79eb035ab70cc86a64e
Signed-off-by: Keong Lim <keong.lim@huawei.com>
|
|
Issue-ID: AAI-1484
Add device element to network namespace.
Add CCVPN EdgeRules for device to service-instance and generic-vnf.
Change-Id: Iad4033dc5bba72cf0773cccbe19429cf965df0c5
Signed-off-by: Keong Lim <keong.lim@huawei.com>
|
|
Issue-ID: AAI-1483
Add sdwan-vpn element to network namespace.
Add CCVPN EdgeRules for sdwan-vpn to service-instance.
Change-Id: I541db79a0c02149c4f5371dc29f71c76478ba298
Signed-off-by: Keong Lim <keong.lim@huawei.com>
|
|
Issue-ID: AAI-1482
Add site-resource element in network namespace.
Add CCVPN EdgeRules for site-resource to service-instance,
allotted-resource and complex.
Fix typo in java-attribute for site-resource-id.
Change-Id: Ic2dbe9d7a7644bbc46bd95ad79fdb0bcd7124224
Signed-off-by: Keong Lim <keong.lim@huawei.com>
|
|
Issue-ID: AAI-1481
Add network-resource element to network namespace.
Add CCVPN EdgeRules for network-resource to vpn-binding and pnf.
Update multiplicity.
Change pnf from sub-component to COUSIN edge as workaround.
Change-Id: I4b288406a272ccdb6243d1e13555a02aa6354a83
Signed-off-by: Keong Lim <keong.lim@huawei.com>
|
|
Issue-ID: AAI-1480
Add lan-port-config schema element to network namespace
Add dhcp-service schema element
Add CCVPN EdgeRules for lan-port-config to service-instance and
dhcp-service
Update lan-port-config with ipv4-address and ipv6-address.
Update dhcp-service with server-ipv4-address and server-ipv6-address.
Accidentally squashed another two commits together:
Issue-ID: AAI-1468
Add connectivities sub-component to "network" namespace.
Add connectivities element, which is sequence of "connectivity".
Add connectivity element, which has numerous properties.
Add CCVPN EdgeRules for connectivity to service-instance and vpn-binding
Change-Id: I78f4cdc906e43750bb319ba4f3bdb6483ed7ea24
Signed-off-by: Keong Lim <keong.lim@huawei.com>
|
|
for service instance and instance group
Issue-ID: AAI-1577
Change-Id: I080f72a8c553c2579aeb98ac8204d4dcadaea5c8
Signed-off-by: Kajur, Harish (vk250x) <vk250x@att.com>
|
|
Change-Id: I7321a738db10eea9e7bc27c5b2a03f5dd0b0a70b
Issue-ID: AAI-1336
Signed-off-by: Kajur, Harish (vk250x) <vk250x@att.com>
|
|
Issue-ID: AAI-1551
Change-Id: I8e7e70b01de1f8387694e2398d3f0d9e1080f1f9
Signed-off-by: Jimmy Forsyth <jf2512@att.com>
|
|
Issue-ID: AAI-1467
Add sp-partners sub-component to "business" namespace.
Add sp-partners element, which is sequence of "sp-partner".
Add sp-partner element, which has properties:
sp-partner-id, url, callsource, relationshipList
Make the following properties indexed:
sp-partner-id, url, callsource
Add CCVPN EdgeRules for sp-partner to service-instance.
Change-Id: I6de65ae843f0139cdd284f9261f993d36224dc1e
Signed-off-by: Keong Lim <keong.lim@huawei.com>
|
|
Issue-ID: AAI-1466
Add the following properties to allotted-resource:
alloted-resource-name, access-provider-id, access-client-id, access-topology-id,
access-node-id, access-ltp-id, cvlan, vpn-name
Add id and vpn-name properties to be indexed.
Make "alloted-resource-name" property also:
- marked as a "name" property
- indexed
Change-Id: I111eccc158ff28576b5e205b8c8c3dea3df4361e
Signed-off-by: Keong Lim <keong.lim@huawei.com>
|
|
Issue-ID: AAI-1536
Change-Id: If1cc9291e28dd0381115a0bf6c5a44faa7fdbe01
Signed-off-by: Kajur, Harish (vk250x) <vk250x@att.com>
|
|
Issue-ID: AAI-1461
Add properties to vpn-binding:
access-provider-id, access-client-id, access-topology-id, src-access-node-id,
src-access-ltp-id, dst-access-node-id, dst-access-ltp-id, operational-status,
model-customization-id, model-version-id, model-invariant-id
Make ids and operational-status indexed.
Add CCVPN EdgeRules for vpn-binding to p-interface.
Accidentally squashed in second commit for:
Issue-ID: AAI-1464
Add properties to pnf schema:
admin-status, operational-status, model-customization-id, model-version-id,
model-invariant-id
Make these properties indexed as well:
admin-status, operational-status
Change-Id: I30b75262d3e01cfae2cf77d9be9da26a56a049ed
Signed-off-by: Keong Lim <keong.lim@huawei.com>
|
|
Issue-ID: AAI-1460
Update operational-status to be indexed property
Add CCVPN EdgeRules file
Change-Id: Ia8e20171ad060b7ca8f2e91d7a66a545146ff36d
Signed-off-by: Keong Lim <keong.lim@huawei.com>
|
|
Issue-ID: AAI-1459
Add input-parameters property to service-instance element for SO to
pass parameters to Closed Loop.
Add company name to copyright notice.
Change-Id: I9e9fed562a7503d8d2ad09e2052c3e29f7fe85ea
Signed-off-by: Keong Lim <keong.lim@huawei.com>
|
|
Issue-ID: AAI-1453
Add properties network-ref, transparent, operational-status
Make these network-ref and operational-status indexed
Change-Id: I047ecda31e08573adb1ef32ecd82b8e80e70d37a
Signed-off-by: Keong Lim <keong.lim@huawei.com>
|