Hi Guaongrong – Both attachments contained same set of files. I do see all the 
data-formats required but missing the component spec for rule-engine. Can you 
pls send it?

Also please find response inline for your queries. As you mentioned the 
component spec was updated, we do need to validate it and regenerate blueprint 
before we can proceed.

Thanks,
Vijay

From: [email protected] [mailto:[email protected]]
Sent: Thursday, October 26, 2017 10:59 AM
To: JI, LUSHENG <[email protected]>; VENKATESH KUMAR, VIJAY <[email protected]>
Cc: [email protected]; [email protected]
Subject: [dcae][holmes] Holmes Component Specification Files


Hi Lusheng & Vijay,



I'm sorry that I did receive two blueprints from you team but I was too busy to 
have a glance at them. I'm sending them out again because I have updated the 
component-spec files a little bit, removing some sub/pub information, updating 
the holmes rule and removing a redundant rule. I would appreciate it if your 
team could help to update the blueprints accordingly and answer the questions 
below:



  1.  for the pub/sub sections, I specified the config_key as 
"sec_fault_output" and "dcae_cl_output" and assigned a random version to them. 
I'm not sure about the actual keys and versions which are going to be used 
eventually. If possible, could you please tell me the config_keys and versions 
that are written in the TCA spec files for both of DMaaP and Policy? I want to 
use those keys as well to ensure that we could get the correct DMaaP topics. As 
you know, in R1, TCA and Holmes share the same topics.

[Vijay] – I will update holmes spec to match the config key with VES and TCA.  
As discussed in DCAE meeting, this config_key can be defined to any string 
identifiable by your application for R1. But aligning it with other mS will 
help R2 (when platform is supporting dynamic topic creation with 
bus-controller).

  1.  for the config_key of MSB, I make it "msb_config" in both component-spec 
files. Will it be feasible from DCAE perspective? I think the key is supposed 
to be determined by DCAE becasue I'm not sure whether other DCAE components use 
MSB as well.

[Vijay] – Looking at engine mgmt spec, the MSB config_key definition doesn’t 
look correct. The way I would approach would be to define additional parameter 
(configuration) indicating MSB hostname. The value for this will be supplied as 
input to blueprint during deployment. I will need the other spec file to check 
further and suggest specific changes necessary.

  1.  for the data format names, I mocked them up becasue I don't know the real 
name for the VES and CL event data format. I think they're commonly shared by 
all relevant DCAE components, so it will be great if the DCAE team help to 
provide the name of the data formats and update the configurations in the 
component-spec files and blueprints of Holmes accordingly.

[Vijay] – Yes this is similar to 1; will syncup with ves and tca.

  1.  for the data format names of MSB, becasue I defined the data format all 
by myself. I just set them to the name I wrote in the format-spec files. What 
I'm not sure about is whether the data formats defined in the 
holmes-data-format.7z are ok or not.

[Vijay]  - I will validate with dcae_cli and let you know if any issues here.

  1.  for the uri of the artifacts, the version of the docker should be changed 
in to 1.0.0 before ONAPAmsterdam is released.
[Vijay] – Once we get working blueprint, the next step to templatize it so the 
platform picks up the right version. Lusheng has framework already setup for 
this; we can address this once get Holmes blueprint finalized.



For the commands to spin up Holmes, you could find them here: 
https://wiki.onap.org/pages/viewpage.action?pageId=16002659<https://urldefense.proofpoint.com/v2/url?u=https-3A__wiki.onap.org_pages_viewpage.action-3FpageId-3D16002659&d=DwMGaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=6WYcUG7NY-ZxfqWx5MmzVQ&m=ri7JC0pAvLEfgEWA4UkZAlywDAYgcdoGzD7ltjaRWng&s=Opb60-1VmijkQKMPCX_c5ho6f46JTDunZWITYdpf8dE&e=>.



Another question is that on the wiki page 
https://wiki.onap.org/display/DW/MicroServices+Onboarding<https://urldefense.proofpoint.com/v2/url?u=https-3A__wiki.onap.org_display_DW_MicroServices-2BOnboarding&d=DwMGaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=6WYcUG7NY-ZxfqWx5MmzVQ&m=ri7JC0pAvLEfgEWA4UkZAlywDAYgcdoGzD7ltjaRWng&s=XdY9jFizUF3lTrIh30VfHsEg5IsesQX9aVaNxBsbtHE&e=>,
 you provided a snippet of codes to show us how to get cofigurations from the 
DCAE Consul and the CBS. In the snippet, you used keys "CONSUL_HOST" and 
"CONFIG_BINGDING_SERVICE" to retrieve the host names of those two components 
from the environment variables. May I know the actual value of those variables? 
This is to ensure that we could use the correct host names to access the 
corresponding services.



My last question is that could you please provide some brief introduction or 
tutorial to tell us how to use Cloudify along with the blueprints you provide 
to bring up Holmes? I have no experience in using Cloudify.



I'll reach out if I come up with any questions or problems in the coming couple 
of weeks.



Thanks.

Guangrong









付光荣/Guangrong Fu



网管软件开发工程师 Network Management System Development Engineer
网管及服务开发二部/中心研究院/系统产品 Network Management & Service Development Dept. II/Central 
R&D Institute/System Product


[cid:[email protected]]

[cid:[email protected]]
成都市天府大道中段800号中兴通讯大厦A座6楼
A/6F, ZTE Corporation Building, No. 800, Tianfu Avenue,
Hi-tech District, Chengdu, Sichuan, P.R.China, 610041
M: +86 18981880855
E: [email protected]<mailto:[email protected]>


_______________________________________________
onap-discuss mailing list
[email protected]
https://lists.onap.org/mailman/listinfo/onap-discuss

Reply via email to