Generally each project recommends its own tags on this list so if we had an aai tag that would cover these kind of discussions. There should be a field called mailing list tag in the project proposal for the actual one
Daniel Rose ECOMP / ONAP com.att.ecomp 732-420-7308 From: [email protected] [mailto:[email protected]] On Behalf Of FORSYTH, JAMES Sent: Thursday, June 01, 2017 9:53 AM To: Murali p <[email protected]>; [email protected] Subject: Re: [onap-discuss] [ONAP-AAI] Few doubts about AAI ***Security Advisory: This Message Originated Outside of AT&T *** Reference http://cso.att.com/EmailSecurity/IDSP.html for more information. Hi, Murali, I'll try to answer your questions. 1) What is relationship-list, and how does it allow us to add a new service w/ as little coding as possible The parent-child containment is defined in the OXM schema and in DbEdgeRules - DbEdgeRules defines additional "cousin" edges, which allows arbitrary nodes in the graphdb to be connected together in whatever ways the service designers decide. 2) What is the Model definition stored in AAI from SDC?.Does it store anything for vFW usecase? vFW does not have any AAI assets ? The model loader takes model definitions from SDC and populates objects in the A&AI graphdb under aai/vX/service-design-and-creation/models 2.1) How this generic structures are used to store Model from SDC? If in your instance of ONAP there is a vFW service defined in SDC, a corresponding model will be present under /aai/vX/service-design-and-creation/models/model/{model-invariant-id} with the specific version of that model defined in /aai/vX/service-design-and-creation/models/model/{model-invariant-id}/model-vers/model-ver/{model-version-id}. Under the model-ver object there will be model-element objects and other attributes that determine what happens when the model is used in a query. Additionally, the model/model-ver objects are used to enforce the presence of model-invariant-id and model-version-id attributes with corresponding model/model-ver objects defined in the graphdb when adding certain node-types (you can see which ones by looking at the a&ai oxm). Model queries will look at those model and model-ver objects to determine what should be returned to the user, and will use the framework of the model to string together the set of widget instances, starting from the object or objects in the instance-filter and traversing the graph following edges as defined in the model. 2.2) What does "Models captures model definitions (subgraph definitions using the AAI widgets)" mean? The subgraph is that set of objects that will be returned when using the model query or another query method that is model aware. A widget model is most basic type of model in A&AI - it does not contain model-elements, it simply points at an object type - for example, a service-instance or a generic-vnf or a tenant. When a model is being used in query, the model processor will look first at the "startsWith" model element, and then try to find an object of that type based on the instance-filter. So, if I pass in my instance filter a service-instance, the model processor will look for a service-instance object with the given parameters. If it finds a matching service-instance, the model processor will look for child model-element objects that are contained in the startsWith model-element, determine the type of the model contained in the model-element, and then traverse the graph according to the instruction in the model-element. So if the startsWith model-element contained a model-element that had a relationship (cousin edge) to a widget model for generic-vnf, the model processor would then look for generic-vnf objects that have a relationship to the startsWith service-instance vertex. The model processor proceeds from there, iterating through the model and then traversing the graph according what is defined in the model. As far as a discussion group specific to A&AI, I don't think there is currently anything dedicated to this purpose. Thanks, Jimmy Forsyth From: [email protected]<mailto:[email protected]> [mailto:[email protected]] On Behalf Of Murali p Sent: Tuesday, May 30, 2017 1:46 AM To: [email protected]<mailto:[email protected]> Subject: [onap-discuss] [ONAP-AAI] Few doubts about AAI Hi All, I am keen to learn the internals of AAI.I have registered myself to contribute to AAI. I have a few doubts about A&AI details. Kindly help or provide a way to clear the confusion and better understand AAI. Questions: 1) What is relationship list? How it solves the below? "A goal of AAI is to do as little coding as possible to introduce a new service into the service design and creation environment. To that end, we've introduced a relationship-list structure." 1.1 Is Edge label (there are many edge labels in DbEdgeRules.java) same as Relation? Only parent-child relation exists? 2) What is the Model definition stored in AAI from SDC?.Does it store anything for vFW usecase? vFW does not have any AAI assets ? (Model-->ModelElement-->ConstrainedElementSet-->ElementChoiceSet-->Element) 2.1 How this generic structures are used to store Model from SDC? "Models captures model definitions (subgraph definitions using the AAI widgets)" 2.2 What is the meaning of above sentence ? Is there any discussion form or local group to discuss and learn about AAI ? With regards, Murali
_______________________________________________ onap-discuss mailing list [email protected] https://lists.onap.org/mailman/listinfo/onap-discuss
