Hi Kanagaraj,



Sounds good, but I'm afraid we don't have enough time for using CLI in the heat 
template deployment approach because M4 is approaching next week. 




Let's talk F2F to figure out how to leverage CLI for service registration in 
Paris.




Thanks,

Huabing







Original Mail



Sender:  <[email protected]>
To: zhaohuabing10201488
CC:  <[email protected]> <[email protected]>
Date: 2017/09/21 21:03
Subject: RE: Re:RE: [onap-discuss]      Service registration with MSB //Re:  
[integration] ONAP installation via Heat   







Hi Huabing,


 


ONAP CLI is an ‘shell’ command for operating the ONAP from in scripts/directly. 
Its good practice to use CLI  in situations like CI&CD and installers, Similar  
to OpenStack has been using openstack CLI.


In addition, It will make the installer script to be simple by removing the 
need for json strings in it and any changes in API does not affect the 
installer  script to change instead, CLI will take care of it.


So I feel, it’s good to go with CLI. Please let me know your opinion. Thanks.


 


Regards


Kanagaraj M


 


***************************************************************************************
 
本邮件及其附件含有华为公司的保密信息,仅限于发送给上面地址中列出的个人或群组。禁止任何其他人以任何形式使用(包括但不限于全部或部分地泄露、复制、或散发)本邮件中的信息。如果您错收了本邮件,请您立即电话或邮件通知发件人并删除本邮件!**************************************************************************************
 
 
***************************************************************************************
 This e-mail and its attachments contain confidential information from HUAWEI, 
which is intended only for the person  or entity whose address is listed above. 
Any use of the information contained herein in any way (including, but not   
limited to, total or partial disclosure, reproduction, or dissemination) by 
persons other than the intended recipient(s) is  prohibited. If you receive 
this e-mail in error, please notify the sender by phone or email immediately 
and delete it!
 
***************************************************************************************


 



From: [email protected] [mailto:[email protected]] 
 Sent: Thursday, September 21, 2017 2:30 PM
 To: Kanagaraj Manickam
 Cc: [email protected] [email protected]
 Subject: Re:RE: [onap-discuss] Service registration with MSB //Re: 
[integration] ONAP installation via Heat   



 

Hi Kanagaraj,

 

What we are discussing is part of the deployment of ONAP system, using shell 
and curl is much simpler than depending on an ONAP component to do that.

 

It introduces a "chicken or egg" question if we choose CLI to do that. :-)

 

Thanks,

Huabing

 


Original Mail



Sender:  <[email protected]>



To: zhaohuabing10201488 <[email protected]>



CC:  <[email protected]>



Date: 2017/09/21 15:37



Subject: RE: [onap-discuss] Service registration with MSB //Re:  [integration] 
ONAP installation via Heat 




 


Dear Huabing and Marco,


 


I think we could use the CLI for registering services in to MSB. CLI is already 
having commands for  it called “microservice-create”


So shall we make use of it. ?


 


Regards


Kanagaraj M


 


***************************************************************************************
 
本邮件及其附件含有华为公司的保密信息,仅限于发送给上面地址中列出的个人或群组。禁止任何其他人以任何形式使用(包括但不限于全部或部分地泄露、复制、或散发)本邮件中的信息。如果您错收了本邮件,请您立即电话或邮件通知发件人并删除本邮件!**************************************************************************************
 
 
***************************************************************************************
 This e-mail and its attachments contain confidential information from HUAWEI, 
which is intended only for the person  or entity whose address is listed above. 
Any use of the information contained herein in any way (including, but not   
limited to, total or partial disclosure, reproduction, or dissemination) by 
persons other than the intended recipient(s) is  prohibited. If you receive 
this e-mail in error, please notify the sender by phone or email immediately 
and delete it!
 
***************************************************************************************


 



From: [email protected] 
[mailto:[email protected]] On Behalf Of 
[email protected]
 Sent: Thursday, September 21, 2017 11:55 AM
 To: [email protected]
 Cc: [email protected]
 Subject: Re: [onap-discuss] Service registration with MSB //Re: [integration] 
ONAP installation via Heat 



 

Hi Marco,

 

I plan to use a shell script to register the services to MSB, the content of 
this script will looks like:

 

curl -X POST \

  -H "Content-Type: application/json" \

  -d '{"serviceName": "so", "version": "v1", "url": 
"/ecomp/mso/infra","protocol": "REST",  "nodes": [ {"ip": 
"${SO_IP_ADDRES}","port":   "8080"}]}' \

  "http://127.0.0.1:10081/api/microservices/v1/services”

 

This shell script can be called by msb_vm_init. These variables don't have to 
be passed to container.

 

Thanks,

Huabing 


Original Mail



Sender:  <[email protected]>



To: zhaohuabing10201488



CC:  <[email protected]>   <[email protected]>



Date: 2017/09/21 09:32



Subject: Re: Service registration with MSB //Re: [onap-discuss] [integration] 
ONAP installation via Heat 




 



Hi Huabing,



 


Your assumption is correct. How do you want us to pass these variables to the 
container? As part of the docker run  instruction?



 


Also, which container should have access to them?



 


Thanks,



Marco




 




 


On Wed, Sep 20, 2017 at 8:57 PM -0400, "[email protected]"  
<[email protected]>  wrote:

Hi Marco,

 

So I assume these environment variables can be accessed in the MSB VM?

 

That should work.

 

Thanks,

Huabing

 

 





 



Sender:  <[email protected]>



To: zhaohuabing10201488 <[email protected]>



CC:  <[email protected]>



Date: 2017/09/20 21:14



Subject: Re: Service registration with MSB //Re: [onap-discuss] [integration] 
ONAP installation via Heat 




 


Hi Huabing,


 


Yes, that’s possible. We’ll create a file with all the components and their IP 
addresses. I was thinking about   something like this:


 


export AAI_IP_ADDRESS=10.0.1.1


export DCAE_IP_ADDRESS=10.0.4.1


export POLICY_IP_ADDRESS=10.0.7.1


etc.


 


What do you think?


 


Thanks,


Marco


 



From: "[email protected]" <[email protected]>
 Date: Wednesday, September 20, 2017 at 4:43 AM
 To: "PLATANIA, MARCO (MARCO)" <[email protected]>, 
"[email protected]"  <[email protected]>
 Cc: "[email protected]" <[email protected]>
 Subject: Service registration with MSB //Re: [onap-discuss] [integration] ONAP 
installation via Heat 



 

Hi Marco,

 

As we discussed in the meeting, MSB needs to know the VM IP addresses of all 
the onap components so MSB can register the services for them.

Can we pass that information to MSB VM as environment variables?

 

@Helen,

According to what I heard in this meeting, VFC, Multi-VIM, MSB, UUI will be 
deployed inside one VM? If that's true, MSB will assume these components' IP 
address is the same as MSB itself when   registering the   services.

 

Thanks,

Huabing


Original Mail



Sender:  <[email protected]>



To:  <[email protected]>   <[email protected]>



Date: 2017/09/20 07:24



Subject: Re: [onap-discuss] [integration] ONAP installation via Heat




 


Did. J


 


Regards,


 



Helen Chen


 



From: <[email protected]> on behalf of "PLATANIA, MARCO 
(MARCO)" <[email protected]>
 Date: Tuesday, September 19, 2017 at 3:21 PM
 To: onap-discuss <[email protected]>
 Subject: [onap-discuss] [integration] ONAP installation via Heat



 


All,


 


To support ONAP teams whose components aren’t in Heat yet, I created a wiki 
page that explains how to add new components to the Heat template and     what 
ONAP teams should do to help us during this process: 
https://wiki.onap.org/display/DW/How+to+add+a+new+ONAP+component+to+Heat 


 


I know Helen will schedule a meeting with interested teams soon.


 


Thanks,


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

Reply via email to