Hi Mike,

Thanks for your response,
I was going through following link
https://wiki.onap.org/display/DW/MicroServices+Onboarding

and I got impression that dcae_cli tool will be used to generate csar package 
which can be used in SDC during DCAE component design, is this not the case?

Can you guide me how to create SDC compliant template to create DCAE component 
if I have data-formats and component-spec json files?
If possible kindly share one sample to verify DCAE micro service component 
deployment.

Thanks,
Suraj

From: Michael Hwang [mailto:mhw...@research.att.com]
Sent: Monday, June 04, 2018 4:24 PM
To: Bisht, Suraj (Nokia - US/Irving) <suraj.bi...@nokia.com>; 
fu.guangr...@zte.com.cn; l...@research.att.com
Cc: peng.congc...@zte.com.cn; onap-discuss@lists.onap.org
Subject: Re: [onap-discuss] 答复:Re: 答复:[dcae] dcae-cli Installation Failure

Hi Suraj

> a)       Is dcae_cli postgress database for catalog a separate database, can 
> we use existing database from other ONAP components (i.e. SDC)?

Yes the dcae_cli postgres is a separate database.  You could share a common 
postgres instance but would have to have been initialized with the dcae_cli 
tables.

> b)    Is dcae CLI an offline tool, can it be install and used independently 
> from DCAE/ONAP setup?

The dcae_cli has a range of features including to help with testing your 
component on a DCAE environment as part of onboarding.  If you are not 
intending to test then you would not need a DCAE environment.

> b)      Can dcae_cli tool generate csar without setting-up catalog database?

dcae_cli does not generate csars

> c)       Is there any sample csar available to verify deployment of dcae 
> micro-service component?

See the previous answer.

Thanks

Mike
On 06/04/2018 05:07 PM, Bisht, Suraj (Nokia - US/Irving) wrote:
Hi,

Kindly clarify following queries on dcae_cli tool, will appreciate any pointers
a)       Is dcae_cli postgress database for catalog a separate database, can we 
use existing database from other ONAP components (i.e. SDC)?
b)    Is dcae CLI an offline tool, can it be install and used independently 
from DCAE/ONAP setup?
b)      Can dcae_cli tool generate csar without setting-up catalog database?
c)       Is there any sample csar available to verify deployment of dcae 
micro-service component?

Thanks,
Suraj

From: 
onap-discuss-boun...@lists.onap.org<mailto:onap-discuss-boun...@lists.onap.org> 
[mailto:onap-discuss-boun...@lists.onap.org] On Behalf Of 
fu.guangr...@zte.com.cn<mailto:fu.guangr...@zte.com.cn>
Sent: Monday, October 09, 2017 8:11 AM
To: l...@research.att.com<mailto:l...@research.att.com>
Cc: peng.congc...@zte.com.cn<mailto:peng.congc...@zte.com.cn>; 
onap-discuss@lists.onap.org<mailto:onap-discuss@lists.onap.org>; 
mhw...@research.att.com<mailto:mhw...@research.att.com>
Subject: [onap-discuss] 答复:Re: 答复:[dcae] dcae-cli Installation Failure

Lusheng,

How do you use the cli tool within AT&T? I want to set up a simple web server 
to host the templates and blueprints. The reason why I ask this is that we want 
to verify the component specification files on our own. As you know, they are 
not completely done.

Otherwise, we have to send those files to your team for verification every time 
we make any tiny changes. I think that might be quite annoying and less 
efficient.

Any advice on this will be helpful and welcome.

Thanks.

Guangrong
原始邮件
发件人:JI,LUSHENG(LUSHENG)
收件人:付光荣10144542;
抄送人:onap-discuss@lists.onap.org<mailto:onap-discuss@lists.onap.org>;彭聪聪6128000043;HWANG,
 MICHAEL(MICHAEL);
日期:2017-10-09 20:32:58
主题:Re: 答复:[dcae] dcae-cli Installation Failure

 Guangrong,

I discussed with Michael about this subject.  Using ONAP Nexus is not an ideal 
solution.  The reason is that from DCAE cli perspective, Nexus is read only 
(write access is only from Gerrit).  Therefore any new schema onboarded from 
cli cannot be added to Nexus from DCAE cli.

I donot have a good solution.  Maybe we will have to launch a VM  in Pod25.  
But VMs there are often rebuilt so they are not very "stable".  So special care 
needs to be taken for resiliency.

The same problem existing for all ONAP design time flows and components.  I 
donot know for example how SDC stores its blueprints and catalog..  If they 
have a solution we can probably use the same solution.

Lusheng

Sent via the Samsung Galaxy S7, an AT&T 4G LTE smartphone


-------- Original message --------
From: fu.guangr...@zte.com.cn<mailto:fu.guangr...@zte.com.cn>
Date: 10/9/17 6:27 AM (GMT-05:00)
To: "JI, LUSHENG (LUSHENG)" 
<l...@research.att.com<mailto:l...@research.att.com>>
Cc: onap-discuss@lists.onap.org<mailto:onap-discuss@lists.onap.org>, 
peng.congc...@zte.com.cn<mailto:peng.congc...@zte.com.cn>, "HWANG, MICHAEL 
(MICHAEL)" <mhw...@research.att.com<mailto:mhw...@research.att.com>>
Subject: Re: 答复:[dcae] dcae-cli Installation Failure


Lusheng,



Do you have any suggestion on this? If the ONAP nexus server could not be used, 
could you please give us some guidance on setting up such a server (such as the 
dir hirarchy on the server side and the dir names, etc.)?



Thanks.

Guangrong










Sender:  <mhw...@research.att.com<mailto:mhw...@research.att.com>>;
To: fuguangrong10144542;
CC:  <l...@research.att.com<mailto:l...@research.att.com>>; 
<onap-discuss@lists.onap.org<mailto:onap-discuss@lists.onap.org>>;pengcongcong6128000043;
Date: 2017/10/05 02:51
Subject: Re: 答复:[dcae] dcae-cli Installation Failure


The dcae-cli expects json schema files and the server is a simple     web 
server that hosts these files.  @Lusheng could we use ONAP's     nexus raw file 
server to serve up these files?


On 10/04/2017 01:27 AM,       
fu.guangr...@zte.com.cn<mailto:fu.guangr...@zte.com.cn> wrote:


Mike,



We succeeded in           installing the dcae-cli tool. But when I try to 
initialize it           using dcae_cli --reinit or to check the version using 
dcae_cli           --version, the url of a server is required:

[cid:0047000102d75585258d676800001]



What is the url of           the remote server, please? Do we have to set up 
such a server           by ourselves?



Thanks.



Guangrong












Sender:      <mhw...@research.att.com><mailto:mhw...@research.att.com>;
To: fuguangrong10144542;
CC:      <l...@research.att.com><mailto:l...@research.att.com>;     
<onap-discuss@lists.onap.org><mailto:onap-discuss@lists.onap.org>;pengcongcong6128000043;
Date: 2017/09/27 22:23
Subject: Re: 答复:[dcae] dcae-cli Installation Failure


I just tried in a new virtualenv and the cli                 installed for me 
ok.


On 09/27/2017 10:03 AM,                         
fu.guangr...@zte.com.cn<mailto:fu.guangr...@zte.com.cn>                   wrote:


Thank                       you, Mike.



We've                       already had a           postgres running locally.   
                    We'll try to install the cli tool           from            
           the source using the pip instruction you provided                    
             tomorrow. (I have limited access to our                       
internal lab while I'm           in Paris so I'll                       leave 
that to my team. :D)



@Peng

    Could                       you           please try it again following the 
                      suggestion below? If there's           still              
         problem, pls let us know asap.




Thanks..



Guangrong












Sender:      <mhw...@research.att.com><mailto:mhw...@research.att.com>;
To: fuguangrong10144542;
CC:    <l...@research.att.com><mailto:l...@research.att.com>;   
<onap-discuss@lists.onap.org><mailto:onap-discuss@lists.onap.org>;pengcongcong6128000043;
Date: 2017/09/27 21:57
Subject: Re: 答复:[dcae] dcae-cli Installation Failure


Hi Guangrong

                                    Rather than checking out source and         
        trying to                 install from source,     can                 
you do a:

                                    pip install onap-dcae-cli

                                    instead?

                                    Note: The onboarding env is not             
    completely setup so                 your dcae-cli                     will 
work in a limited capacity.

                                    As a requirement, you will need a           
      local postgres                 server running.  A                     
fast way to get postgres running                 is to                 run a 
docker instance.  See     the README in the                                 
dcae-cli project for more details on "Local                 use".

                                    Thanks

                                    Mike


On 09/27/2017 04:46 AM,                                           
fu.guangr...@zte.com.cn<mailto:fu.guangr...@zte.com.cn>                         
            wrote:


Hi Mike,



I'm sending this again in case the screenshots in                               
              Lusheng's           previous                       email can not 
be                       displayed                       properly. (It did 
happen           on my                                             laptop.)



Thanks.



Guangrong












Sender: fuguangrong10144542
To:  <l...@research.att.com><mailto:l...@research.att.com>;
CC:  
<onap-discuss@lists.onap.org><mailto:onap-discuss@lists.onap.org>;pengcongcong6128000043;
Date: 2017/09/27 04:23
Subject: 答复:[dcae] dcae-cli Installation Failure


Lusheng,

                                                            It was              
       really great time talking                     with                     
you in a F2F                     manner this                                    
     evening. I hope will get more chances to                                   
                          have such                     kind of conversations 
in the                                         future.

                                                            As I                
     mentioned, there are still                                         
problems when we try                     to install                             
            the dcae-cli tool based on the                     latest           
                              codes                     in the gerrit repo. 
Could you please                                         help to                
     reach out to your                     team                     for 
confirmation? I know                     that                                   
      they                     are struggling with the sonar things. We'll      
                                                       appreciate their         
            help if they could                     spare some                   
  time                     to take a look                                       
  at it.

                                                            Thanks.

                                                            Guangrong





Sender: 付光荣10144542
To: l...@research.att.com<mailto:l...@research.att.com>;
CC: 
onap-discuss@lists.onap.org<mailto:onap-discuss@lists.onap.org>;彭聪聪6128000043;
Date: 2017-09-25 21:23:33
Subject: [dcae] dcae-cli                                                        
           Installation                       Failure














Sender: fuguangrong10144542
To:  <l...@research.att.com><mailto:l...@research.att.com>;
CC: peng//cong/cong6128000043;
Date: 2017/09/25 21:21
Subject: [dcae] dcae-cli Installation Failure



Hi Lusheng,




It seems that your team has updated the dcae-cli                                
                                   codes                       a little bit. 
But when                       we                       try to install the      
                 tool,                                             there are 
still errors (see the                       screenshot                          
                                         below). Are there any configurations   
                                          missing on                       our  
                     side? It                       looks like the              
         external repo address                                                  
                 is missing. Could you please help                       to 
solve                       that?



Thanks.

Guangrong












Sender: peng//cong/cong6128000043
To: fuguangrong10144542;
Date: 2017/09/25 20:52
Subject: 【dcae-cli】Python setup.py install 失败



[cid:part1.D325D252.B22D1A91@research.att....com]



错误信息:

[cid:part2.9E2FD377.94608ACE@research.att....com]











_______________________________________________
onap-discuss mailing list
onap-discuss@lists.onap.org
https://lists.onap.org/mailman/listinfo/onap-discuss

Reply via email to