Did you try changing

        <param-value>cloud_config.json=2</param-value>

To

        <param-value>cloud_config.json</param-value>


In the mso container ?

Brian


From: Akula, Ramanjaneyul Reddy (Nokia - US/Irving) 
[mailto:[email protected]]
Sent: Wednesday, April 26, 2017 4:56 PM
To: FREEMAN, BRIAN D <bf1936 at att.com>; NGUEKO, GERVAIS-MARTIAL <gn422w at 
intl.att.com>; onap-discuss at lists.onap.org
Subject: RE: [onap-discuss] Creating ONAP subscribers

Yes. I found this from the latest source code of MSO package and the war file.
However the error is something strange. It?s not saying FileNotFound. Rather 
NullPointerException from FileInputStream class.


Exception message from log:

Global issue while reloading"|MSO-RA-9200E Exception: 
java.lang.NullPointerException -       at 
java.io.FileInputStream.<init>(FileInputStream.java:130) -   at 
java.io.FileInputStream.<init>(FileInputStream.java:93) -    at 
java.io.FileReader.<init>(FileReader.java:58) -      at 
org.openecomp.mso.cloud.CloudConfig.loadCloudConfig(CloudConfig.java:167) -  at 
org.openecomp.mso.cloud.CloudConfig.reloadPropertiesFile(CloudConfig.java:155) ?


FileInputStream class code snippet

  public More ...FileInputStream(File file) throws FileNotFoundException {
127        String name = (file != null ? file.getPath() : null);
128        SecurityManager security = System.getSecurityManager();
129        if (security != null) {
130            security.checkRead(name);
131        }
132        if (name == null) {
133            throw new NullPointerException();
134        }
135        fd = new FileDescriptor();
136        fd.incrementAndGetUseCount();
137        open(name);


Class that has caught the exception in MSO package : CloudConfig.java

Code Snippet:

try {
            for (Entry <String, MsoPropertiesParameters> entryMsoPropTimer : 
MsoPropertiesFactory.msoPropertiesCache.entrySet ()) {

                if (entryMsoPropTimer.getValue ().refreshCounter <= 1) {
                    // It's time to reload the config
                    msoPropInCache = 
MsoPropertiesFactory.msoPropertiesCache.get (entryMsoPropTimer.getKey 
()).msoProperties;
                    try {
                        AbstractMsoProperties oldProps = msoPropInCache.clone 
();
                        msoPropInCache.reloadPropertiesFile ();
                        
entryMsoPropTimer.getValue().refreshCounter=entryMsoPropTimer.getValue().msoProperties.getAutomaticRefreshInMinutes();

                        if (!msoPropInCache.equals (oldProps)) {
                            LOGGER.info (MessageEnum.LOAD_PROPERTIES_SUC, 
msoPropInCache.getPropertiesFileName (), "", "");
                        }
                    } catch (FileNotFoundException ef) {
                        LOGGER.error (MessageEnum.NO_PROPERTIES, 
msoPropInCache.propertiesFileName, "", "", MsoLogger.ErrorCode.PermissionError, 
"", ef);
                    } catch (Exception e) {
                        LOGGER.error (MessageEnum.LOAD_PROPERTIES_FAIL, 
msoPropInCache.propertiesFileName, "", "", 
MsoLogger.ErrorCode.BusinessProcesssError, "", e);
                    }

                } else {
                        --entryMsoPropTimer.getValue().refreshCounter;
                }
            }
            return true;
        } catch (Exception e) {
            LOGGER.error (MessageEnum.LOAD_PROPERTIES_FAIL, "Unknown. Global 
issue while reloading", "", "", MsoLogger.ErrorCode.BusinessProcesssError, "", 
e);




We are completely blocked now. Any help would be highly appreciated.

Thanks & best regards,
Ramu

From: FREEMAN, BRIAN D [mailto:[email protected]]
Sent: Wednesday, April 26, 2017 2:02 PM
To: Akula, Ramanjaneyul Reddy (Nokia - US/Irving) <ramanjaneyul_reddy.akula at 
nokia.com<mailto:ramanjaneyul_reddy.akula at nokia.com>>; NGUEKO, 
GERVAIS-MARTIAL <gn422w at intl.att.com<mailto:gn422w at intl.att.com>>; 
onap-discuss at lists.onap.org<mailto:onap-discuss at lists.onap.org>
Subject: RE: [onap-discuss] Creating ONAP subscribers

        <param-value>cloud_config.json=2</param-value>


Doesnt look right  but I?m not an MSO expert.

Brian


From: onap-discuss-bounces at lists.onap.org<mailto:onap-discuss-bounces at 
lists.onap.org> [mailto:[email protected]] On Behalf Of 
Akula, Ramanjaneyul Reddy (Nokia - US/Irving)
Sent: Wednesday, April 26, 2017 3:01 PM
To: NGUEKO, GERVAIS-MARTIAL <gn422w at intl.att.com<mailto:gn422w at 
intl.att.com>>; onap-discuss at lists.onap.org<mailto:onap-discuss at 
lists.onap.org>
Subject: Re: [onap-discuss] Creating ONAP subscribers

Hi Martial,
Thanks for the instructions. Now the debug logs are enabled. However I see no 
additional information than in error log.
As I stated in my earlier email

I checked the file and it has below content

root at mso:/# more etc/mso/config.d/cloud_config.json
{
  "cloud_config":
  {
    "identity_services":
    {
        "DEFAULT_KEYSTONE":
        {
          "identity_url": 
"http://a.b.c.d:5000/v2.0<https://urldefense.proofpoint.com/v2/url?u=http-3A__a.b.c.d-3A5000_v2.0&d=DwMGaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=e3d1ehx3DI5AoMgDmi2Fzw&m=yyxZZbEOTpKw3ez9ieC1rS4lMnNox4bJxhbCCbciWmc&s=8OiRufoXIyQmbBX0xJBVAzdKPR6pPvaowDini5xIatw&e=>",
          "mso_id": "tools",
          "mso_pass": "197f79bfd3c750fcaad07c6816bc82c9",
          "admin_tenant": "service",
          "member_role": "admin",
          "tenant_metadata": true,
          "identity_server_type": "KEYSTONE",
          "identity_authentication_type": "USERNAME_PASSWORD"
        }
    },
    "cloud_sites":
    {
        "Dallas":
        {
          "region_id": "DFW",
          "clli": "DFW",
          "aic_version": "2.5",
          "identity_service_id": "RAX_KEYSTONE"
        },
        "Northern Virginia":
        {
          "region_id": "IAD",
          "clli": "IAD",
          "aic_version": "2.5",
          "identity_service_id": "RAX_KEYSTONE"
        },
        "Chicago":
        {
          "region_id": "ORD",
          "clli": "ORD",
          "aic_version": "2.5",
          "identity_service_id": "RAX_KEYSTONE"
        }
    }
  }
}

And file permissions look fine.

However it looks it?s trying to find the file under the env variable 
?mso.config.path?.

protected static String prefixMsoPropertiesPath = System.getProperty 
("mso.config.path");

This variable as such is not set in the docker container.


root at mso:/# env | grep mso.config.path
root at mso:/#

And in the web.xml file

<context-param>
        <param-name>mso.cloud_config.configuration</param-name>
        <param-value>cloud_config.json=2</param-value>

This file as such doesn?t exist (=2)

Hence I believe it?s failing to find the file.

Between to create the subscriber we have used the script provided by Mike and 
used below command

./create_subscriber.sh 10.0.1.1 Demonstration vFW Rackspace regionOne tools

Is there a significance for the Rackspace (as cloud name??)

Any pointers on how to get rid of this issue?


best regards,
Ramu

From: onap-discuss-bounces at lists.onap.org<mailto:onap-discuss-bounces at 
lists.onap.org> [mailto:[email protected]] On Behalf Of 
Ngueko, Gervais-Martial
Sent: Wednesday, April 26, 2017 12:06 PM
To: onap-discuss at lists.onap.org<mailto:onap-discuss at lists.onap.org>
Subject: Re: [onap-discuss] Creating ONAP subscribers

Hi,

The cloud config file is : ?/etc/mso/config.d/cloud_config.json?
You should check that the file exist and check its content too.

Br,
Martial


From: onap-discuss-bounces at lists.onap.org<mailto:onap-discuss-bounces at 
lists.onap.org> [mailto:[email protected]] On Behalf Of 
Ngueko, Gervais-Martial
Sent: mercredi 26 avril 2017 18:59
To: onap-discuss at lists.onap.org<mailto:onap-discuss at lists.onap.org>
Subject: Re: [onap-discuss] Creating ONAP subscribers

***Security Advisory: This Message Originated Outside of AT&T ***
Reference http://cso.att.com/EmailSecurity/IDSP.html for more information.
Hi,

Go to your MSO VM and enable logging on VNF adapter (no authentication) as 
follows:
GET on 
http://c1.vm1.mso.simpledemo.openecomp.org:8080/vnfs/rest/logging/debug<https://urldefense.proofpoint.com/v2/url?u=http-3A__c1.vm1.mso.simpledemo.openecomp.org-3A8080_vnfs_rest_logging_debug&d=DwMGaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=_9Jlwl24cXmOrt_XOMKtC3aGkkZwuKoKxSPqhA05BWk&m=A-iyB9eV-scOfCPdVP4tIWqFBVw64Bh9zHBPBCvo5tw&s=an0_ZWcVbQCEl2KE00e34uxIRKmOoPxQQUf5BEPZov8&e=>

To enable logging on Network adapter (no authentication):
GET on
http://c1.vm1.mso.simpledemo.openecomp.org:8080/networks/rest/logging/debug<https://urldefense.proofpoint.com/v2/url?u=http-3A__c1.vm1.mso.simpledemo.openecomp.org-3A8080_networks_rest_logging_debug&d=DwMGaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=e3d1ehx3DI5AoMgDmi2Fzw&m=yyxZZbEOTpKw3ez9ieC1rS4lMnNox4bJxhbCCbciWmc&s=QxkKGVh0S0yNSl1xkhQUuWpWAO7R-zIhKux42O6PA5o&e=>


Additional information about MSO
https://wiki.onap.org/display/DW/Development+Guides?preview=%2F1015874%2F1017418%2FUsing_openecomp_MSO.docx<https://urldefense.proofpoint.com/v2/url?u=https-3A__wiki.onap.org_display_DW_Development-2BGuides-3Fpreview-3D-252F1015874-252F1017418-252FUsing-5Fopenecomp-5FMSO.docx&d=DwMGaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=_9Jlwl24cXmOrt_XOMKtC3aGkkZwuKoKxSPqhA05BWk&m=A-iyB9eV-scOfCPdVP4tIWqFBVw64Bh9zHBPBCvo5tw&s=tcid2ILVcTt7D0jziMnxjYfkVRDemRYyDvMPyb4lR1M&e=>

Br,
Martial

From: onap-discuss-bounces at lists.onap.org<mailto:onap-discuss-bounces at 
lists.onap.org> [mailto:[email protected]] On Behalf Of 
Akula, Ramanjaneyul Reddy (Nokia - US/Irving)
Sent: mercredi 26 avril 2017 18:40
To: Prakhar Pandey <Prakhar.Pandey at amdocs.com<mailto:Prakhar.Pandey at 
amdocs.com>>; onap-discuss at lists.onap.org<mailto:onap-discuss at 
lists.onap.org>
Subject: Re: [onap-discuss] Creating ONAP subscribers

Hi,
One inch closer. I see below exception in NetworkAdapter logs of MSO. It says 
failed loading properties file.
I don?t see any debug logs to look at. Rather getting seeing only error logs. 
The log doesn?t show which file it?s trying to load.



017-04-26T14:55:00.002Z||EJB default - 
9|reloadCloudConfig||||ERROR|DataError|Exception - Global issue while 
reloading"|MSO-GENERAL-5413E Failed loading properties file: Unknown. Global 
issue while reloading
2017-04-26T14:55:00.003Z||EJB default - 
9|reloadCloudConfig||||ERROR|DataError|Exception - Global issue while 
reloading"|MSO-RA-9200E Exception: java.lang.NullPointerException -
 at org.openecomp.mso.cloud.CloudSite.clone(CloudSite.java:113) -        at 
org.openecomp.mso.cloud.CloudConfig.clone(CloudConfig.java:212) -
 at 
org.openecomp.mso.cloud.CloudConfigFactory.reloadCloudConfig(CloudConfigFactory.java:142)
 -  at sun.reflect.GeneratedMethodAccessor180.invoke(Unknown Source) -
  at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 -      at java.lang.reflect.Method.invoke(Method.java:498) -
  at 
org.jboss.as.ee.component.ManagedReferenceMethodInterceptor.processInvocation(ManagedReferenceMethodInterceptor.java:52)
 -
  at 
org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) -
   at 
org.jboss.invocation.WeavedInterceptor.processInvocation(WeavedInterceptor.java:57)
 -
   at 
org.jboss.as.ee.component.interceptors.UserInterceptorFactory$1.processInvocation(UserInterceptorFactory.java:61)
 -
   at 
org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) -
   at 
org.jboss.invocation.InterceptorContext$Invocation.proceed(InterceptorContext.java:437)
 -
   at 
org.jboss.as.weld.ejb.Jsr299BindingsInterceptor.doMethodInterception(Jsr299BindingsInterceptor.java:82)
 -
   at 
org.jboss.as.weld.ejb.Jsr299BindingsInterceptor.processInvocation(Jsr299BindingsInterceptor.java:95)
 -

I tried to enable the debug but failed to do so.
Any hints on how to enable debug logs for NetworkAdapter?



best regards,
Ramu

From: Akula, Ramanjaneyul Reddy (Nokia - US/Irving)
Sent: Wednesday, April 26, 2017 9:47 AM
To: 'Prakhar Pandey' <Prakhar.Pandey at amdocs.com<mailto:Prakhar.Pandey at 
amdocs.com>>; onap-discuss at lists.onap.org<mailto:onap-discuss at 
lists.onap.org>
Subject: RE: [onap-discuss] Creating ONAP subscribers

Hi Prakhar,
In the docker container testlab_mso_1 logs we see below Exception


=========================
nc/adapter/callback/wsdl/v1}SDNCCallbackAdapterService from class 
org.openecomp.mso.adapters.sdnc.client.SDNCCallbackAdapterPortType
16:54:00,108 ERROR [stderr] (Thread-270) Exception in thread "Thread-270" 
java.lang.NullPointerException
16:54:00,110 ERROR [stderr] (Thread-270)        at 
org.openecomp.mso.cloud.CloudSite.clone(CloudSite.java:113)
16:54:00,112 ERROR [stderr] (Thread-270)        at 
org.openecomp.mso.cloud.CloudConfig.clone(CloudConfig.java:212)
16:54:00,112 ERROR [stderr] (Thread-270)        at 
org.openecomp.mso.cloud.CloudConfigFactory.getCloudConfig(CloudConfigFactory.java:112)
16:54:00,112 ERROR [stderr] (Thread-270)        at 
org.openecomp.mso.openstack.utils.MsoHeatUtils.<init>(MsoHeatUtils.java:128)
16:54:00,112 ERROR [stderr] (Thread-270)        at 
org.openecomp.mso.adapters.vnf.MsoVnfAdapterImpl.createVfModule(MsoVnfAdapterImpl.java:1024)
16:54:00,112 ERROR [stderr] (Thread-270)        at 
org.openecomp.mso.adapters.vnf.VnfAdapterRest$CreateVfModuleTask.run(VnfAdapterRest.java:386)
16:54:00,112 ERROR [stderr] (Thread-270)        at 
java.lang.Thread.run(Thread.java:745)
=========================

In BPMN logs we see

=========================

2017-04-25T18:36:58.999Z|2017-04-25T18:36:58.999Z|76a72467-4c14-4588-9c3a-7e0e8550690c|N/A|default
 task-51||MSO.FH|BPMNClient|COMPLETE|0|updateRequestInfraPayload:
                                <soapenv:Envelope 
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/<https://urldefense.proofpoint.com/v2/url?u=http-3A__schemas.xmlsoap.org_soap_envelope_&d=DwMGaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=_9Jlwl24cXmOrt_XOMKtC3aGkkZwuKoKxSPqhA05BWk&m=fdYIfL4wsKNOyrzGoktpUULQZwWsE1io2D9oYgrI_VU&s=CsxukcAFjwFVVNMiWXAvxniOWgBh0y-tz-qTe5r7DXQ&e=>"
 
xmlns:req="http://com.att.mso/requestsdb<https://urldefense.proofpoint.com/v2/url?u=http-3A__com.att.mso_requestsdb&d=DwMGaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=_9Jlwl24cXmOrt_XOMKtC3aGkkZwuKoKxSPqhA05BWk&m=fdYIfL4wsKNOyrzGoktpUULQZwWsE1io2D9oYgrI_VU&s=POUqf5aC3i-0ddDvImcESPCj_2WLf_-5epjJmNJ2dvE&e=>">
                                <soapenv:Header/>
                                <soapenv:Body>
                                        <req:updateInfraRequest>
                                                
<requestId>76a72467-4c14-4588-9c3a-7e0e8550690c</requestId>
                                                
<lastModifiedBy>BPEL</lastModifiedBy>
                                                <statusMessage>VnfAdapter 
Callback Timeout Error</statusMessage>
                                                
<requestStatus>FAILED</requestStatus>
                                                <progress>100</progress>
                                        </req:updateInfraRequest>
                                </soapenv:Body>
                                </soapenv:Envelope>
                        
|4df819d6-3757-43d7-aa0b-868173b549c9|INFO|0|172.17.0.3|0|mso.mso.testlab.openecomp.org|172.17.0.3||||||||
2017-04-25T18:36:59.041Z|2017-04-25T18:36:59.041Z|76a72467-4c14-4588-9c3a-7e0e8550690c|N/A|default
 task-51||MSO.FH|BPMNClient|COMPLETE|0|FalloutHandler Response: 
<workflow:FalloutHandlerResponse 
xmlns:workflow="http://ecomp.att.com/mso/workflow/schema/v1";>
   <workflow:out>Fallout Handler Succeeded</workflow:out>
=========================

I believe it?s not able to find the Cloud config on which it can create the 
heat stack.

May we know how/where to configure/check this cloud configuration.

Thanks & best regards,
Ramu

From: onap-discuss-bounces at lists.onap.org<mailto:onap-discuss-bounces at 
lists.onap.org> [mailto:[email protected]] On Behalf Of 
Prakhar Pandey
Sent: Wednesday, April 26, 2017 9:12 AM
To: onap-discuss at lists.onap.org<mailto:onap-discuss at lists.onap.org>
Subject: Re: [onap-discuss] Creating ONAP subscribers

Hi,

Did you try debugging MSO logs at the following location in the ?testlab_mso_1? 
docker :-

root at mso:/var/log/ecomp/MSO/BPMN

These are the logs generated by the Camunda Workflow called by MSO?s API 
Handler when you are creating your VF-Module.

Regards,

Prakhar.


From: onap-discuss-bounces at lists.onap.org<mailto:onap-discuss-bounces at 
lists.onap.org> [mailto:[email protected]] On Behalf Of Mike 
Evans via onap-discuss
Sent: Wednesday, April 26, 2017 11:47 AM
To: Bisht, Suraj (Nokia - US/Irving) <suraj.bisht at 
nokia.com<mailto:suraj.bisht at nokia.com>>; ROSE, DANIEL V <DR695H at 
att.com<mailto:DR695H at att.com>>; Suraj Bisht <surajbisht at 
gmail.com<mailto:surajbisht at gmail.com>>
Cc: onap-discuss at lists.onap.org<mailto:onap-discuss at lists.onap.org>
Subject: Re: [onap-discuss] Creating ONAP subscribers

Suraj

I believe it is MSO that issues the openstack stack create command, but I am 
not part of the development team so may have got that wrong.  Hopefully the 
development team (Daniel?) can give you more help debugging.

Mike

From: Bisht, Suraj (Nokia - US/Irving) [mailto:[email protected]]
Sent: 25 April 2017 19:22
To: ROSE, DANIEL V <DR695H at att.com<mailto:DR695H at att.com>>; Mike Evans 
<mike at metaswitch.com<mailto:mike at metaswitch.com>>; Suraj Bisht 
<surajbisht at gmail.com<mailto:surajbisht at gmail.com>>
Cc: onap-discuss at lists.onap.org<mailto:onap-discuss at lists.onap.org>
Subject: RE: [onap-discuss] Creating ONAP subscribers

Hi Mike,

We have executed all the steps provided below, still stack is created on 
openstack. For sometime status is shown as ?pending create? but no stack 
created. Browsed through VID and AAI logs and everything looks ok. Can you 
explain which onap vm is responsible for sending openstack stack create command 
to underlying platform and how to debug further?

[cid:image002.jpg at 01D2BEAE.9B503E80]


Thanks,
Suraj

From: onap-discuss-bounces at lists.onap.org<mailto:onap-discuss-bounces at 
lists.onap.org> [mailto:[email protected]] On Behalf Of ROSE, 
DANIEL V
Sent: Tuesday, April 25, 2017 9:47 AM
To: Mike Evans <mike at metaswitch.com<mailto:mike at metaswitch.com>>; Suraj 
Bisht <surajbisht at gmail.com<mailto:surajbisht at gmail.com>>
Cc: onap-discuss at lists.onap.org<mailto:onap-discuss at lists.onap.org>
Subject: Re: [onap-discuss] Creating ONAP subscribers

We are working on removing the preload stuff ? ie steps 4-7

The subscriber stuff it comes from upstream in our systems but maybe there is a 
need for a simple portal app to fill that stuff in.

Thanks,

Daniel Rose
ECOMP / ONAP
com.att.ecomp
732-420-7308

From: Mike Evans [mailto:[email protected]]
Sent: Tuesday, April 25, 2017 6:53 AM
To: Suraj Bisht <surajbisht at gmail.com<mailto:surajbisht at gmail.com>>
Cc: ROSE, DANIEL V <DR695H at att.com<mailto:DR695H at att.com>>; onap-discuss 
at lists.onap.org<mailto:onap-discuss at lists.onap.org>
Subject: RE: [onap-discuss] Creating ONAP subscribers

Suraj

We found that we needed to do a fair bit more than just create a subscriber in 
order to launch our VNF, so we haven?t yet distilled it all down to Python 
scripts yet.  We have created a couple of bash scripts and instructions for the 
process that worked for us.  The scripts are attached and the process is as 
follows.

1.   Run the first step from the 
https://wiki.onap.org/display/DW/Tutorial%3A+Creating+a+Service+Instance+from+a+Design+Model<https://urldefense.proofpoint.com/v2/url?u=https-3A__wiki.onap.org_display_DW_Tutorial-253A-2BCreating-2Ba-2BService-2BInstance-2Bfrom-2Ba-2BDesign-2BModel&d=DwMGaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=2wwdGZ3YcpSivQ2Kio028A&m=YiNxJd0A0hajKOwMw4zGZ5BCZRXqHa0H94npQHS5LIw&s=BmQzP3hLvQoPphfz8BUmY0fXZQMPGvOC9Pd83oUC5d0&e=>
 tutorial (running the demo.sh init script)

2.   Create a service, subscriber and service subscription with the 
create_subscriber.sh script, eg.

./create_subscriber.sh <AAI VM IP address> Demo2 Clearwater Rackspace IAD 
1234567

3.  Run the next two steps from the 
https://wiki.onap.org/display/DW/Tutorial%3A+Creating+a+Service+Instance+from+a+Design+Model<https://urldefense.proofpoint.com/v2/url?u=https-3A__wiki.onap.org_display_DW_Tutorial-253A-2BCreating-2Ba-2BService-2BInstance-2Bfrom-2Ba-2BDesign-2BModel&d=DwMGaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=2wwdGZ3YcpSivQ2Kio028A&m=YiNxJd0A0hajKOwMw4zGZ5BCZRXqHa0H94npQHS5LIw&s=BmQzP3hLvQoPphfz8BUmY0fXZQMPGvOC9Pd83oUC5d0&e=>
 tutorial, creating a service instance and a VNF.  When creating the service 
instance you should find that the subscriber name you supplied to 
create_subscriber.sh (Demo2 in the example above) is a choice in the 
?Subscriber Name? drop-down, and the service type (Clearwater in the above 
example) is a choice in the ?Service Type? drop-down.  Click the Add VF Module 
button and at this point you should have a screen that looks a bit like this 
(obviously your values will differ).

[cid:image004.jpg at 01D2BEAE.9B503E80]

4.  Sign up to the SDNC GUI at 
http://<SDNC_VM_IP>:8843/signup<https://urldefense.proofpoint.com/v2/url?u=http-3A__-253cSDNC-5FVM-5FIP-253e-3A8843_signup&d=DwMGaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=2wwdGZ3YcpSivQ2Kio028A&m=YiNxJd0A0hajKOwMw4zGZ5BCZRXqHa0H94npQHS5LIw&s=6ExdBSGnqu7xBcJDIVW2KqDZPzasRQFI-vrQrJUa8s4&e=>,
 then log in at 
http://<SDNC_VM_IP>:8843/login<https://urldefense.proofpoint.com/v2/url?u=http-3A__-253cSDNC-5FVM-5FIP-253e-3A8843_login&d=DwMGaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=2wwdGZ3YcpSivQ2Kio028A&m=YiNxJd0A0hajKOwMw4zGZ5BCZRXqHa0H94npQHS5LIw&s=iBIh6iu_7ENxVtYE3vxUsej7yVuKDOUWetjbuICyPW4&e=>
 with those credentials (it doesn?t matter what user name or password you use).

5.  Select Profiles, VNF Profile from the drop-down menu.  Click on the Add VNF 
Profile, fill in the pop-up form and press Submit.  The VNF Type field in the 
form must be set to the text from the button that appears when you press the 
Add VF Module button in the VID GUI (this will be of the form 
?47d2b046866b421eA9d6..base_vfw..module-0? or 
?Clearwater..base_clearwater..module-0? depending on how you onboarded your 
VNF).  Set availability zone count to 999 and equipment role to robot-ete-t.

6.  Create a VNF topology JSON document for your VNF from the skeleton used for 
the VFW demo, as follows.

{
  'input':
    {
      'request-information':
        {
          'notification-url': 'openecomp.org',
          'order-number': '1',
          'order-version': '1',
          'request-action': 'PreloadVNFRequest',
          'request-id': 'robot12'
        },
      'sdnc-request-header':
        {
          'svc-action': 'reserve',
          'svc-notification-url': 
'http://openecomp.org:8080/adapters/rest/SDNCNotify',
          'svc-request-id': 'robot12'
        },
      'vnf-topology-information':
        {
          'vnf-assignments':
            {
              'availability-zones': [],
              'vnf-networks': [],
              'vnf-vms': []
            },
          'vnf-parameters':
            [
              {'vnf-parameter-name': 'repo_url_blob', 'vnf-parameter-value': 
'https://nexus.onap.org/content/repositories/raw'},
              {'vnf-parameter-name': 'repo_url_artifacts', 
'vnf-parameter-value': 'https://nexus.onap.org/content/groups/staging'},
              {'vnf-parameter-name': 'demo_artifacts_version', 
'vnf-parameter-value': '1.0.0'},
              {'vnf-parameter-name': 'ecomp_private_net_id', 
'vnf-parameter-value': 'oam_ecomp_urc0'},
              {'vnf-parameter-name': 'ecomp_private_subnet_id', 
'vnf-parameter-value': 'oam_ecomp_urc0'},
              {'vnf-parameter-name': 'ecomp_private_net_cidr', 
'vnf-parameter-value': '10.0.0.0/8'},
              {'vnf-parameter-name': 'unprotected_private_net_id', 
'vnf-parameter-value': 'demofwl_unprotected'},
              {'vnf-parameter-name': 'protected_private_net_id', 
'vnf-parameter-value': 'demofwl_protected'},
              {'vnf-parameter-name': 'protected_private_net_cidr', 
'vnf-parameter-value': '192.168.120.0/24'},
              {'vnf-parameter-name': 'unprotected_private_net_cidr', 
'vnf-parameter-value': '192.168.110.0/24'},
              {'vnf-parameter-name': 'vfw_private_ip_0', 'vnf-parameter-value': 
'192.168.110.100'},
              {'vnf-parameter-name': 'vfw_private_ip_1', 'vnf-parameter-value': 
'192.168.120.100'},
              {'vnf-parameter-name': 'vfw_private_ip_2', 'vnf-parameter-value': 
'10.1.0.11'},
              {'vnf-parameter-name': 'vpg_private_ip_0', 'vnf-parameter-value': 
'192.168.110.200'},
              {'vnf-parameter-name': 'vpg_private_ip_1', 'vnf-parameter-value': 
'10.1.0.12'},
              {'vnf-parameter-name': 'vsn_private_ip_0', 'vnf-parameter-value': 
'192.168.120.250'},
              {'vnf-parameter-name': 'vsn_private_ip_1', 'vnf-parameter-value': 
'10.1.0.13'},
              {'vnf-parameter-name': 'vfw_name_0', 'vnf-parameter-value': 
'demofwl01fwl'},
              {'vnf-parameter-name': 'vpg_name_0', 'vnf-parameter-value': 
'demofwl01pgn'},
              {'vnf-parameter-name': 'vsn_name_0', 'vnf-parameter-value': 
'demofwl01snk'},
              {'vnf-parameter-name': 'dcae_collector_ip', 
'vnf-parameter-value': '10.0.4.102'},
              {'vnf-parameter-name': 'dcae_collector_port', 
'vnf-parameter-value': '8080'},
              {'vnf-parameter-name': 'key_name', 'vnf-parameter-value': 
'vfw_keydemo'},
              {'vnf-parameter-name': 'pub_key', 'vnf-parameter-value': 'ssh-rsa 
AAAAB3NzaC1yc2EAAAABJQAAAQEAqqnA9BAiMLtjOPSYBfhzLu4CiBolWoskDg4KVwhTJVTTeB6CqrQNcadlGXxOHhCYuNCKkUmIVF4WTOisVOJ75Z1c4OMoZLL85xVPKSIeH63kgVugwgPYQu55NbbWX+rsbUha3LnElDhNviMM3iTPbD5nnhKixNERAJMTLKXvZZZGqxW94bREknYPQTT2qrk3YRqwldncopp6Nkgv3AnSJz2gc9tjxnWF0poTQnQm/3D6hiJICrzKfAV0EaPN0KdtYjPhKrYoy6Qb/tKOVaaqsvwfKBJGrT9LfcA7D7M/yj292RT1XN63hI84WC383LsaPJ6eWdDTE6zUP1eGTWCoOw==
 rsa-key-20161026'}
            ],
          'vnf-topology-identifier':
            {
              'generic-vnf-name': 'DemoVNF',
              'generic-vnf-type': 'demoVFW/47d2b046-866b-421e-a9d6 1',
              'service-type': '85b65e3e-fb8e-4276-bdd5-53e4445cfef0',
              'vnf-name': 'DemoModule',
              'vnf-type': '47d2b046866b421eA9d6..base_vfw..module-0'
            }
        }
    }
}

The bits of this you will need to change are the vnf-parameters and 
vnf-topology-identifier sections.


  *   The vnf-parameters are based on the environment file you supplied when 
you onboarded your VSP.  I?m not 100% sure which parameters must appear in this 
section, what worked for us was to supply a value for every parameter in our 
environment file except for any image_name and flavour_name parameters.
  *   The vnf-topology-identifier fields should be set as follows.
     *   generic-vnf-name is the name you supplied when you created the VNF 
instance, which should be displayed in the VNF line when you look at your 
service instance in VID (for example DemoVNF in the above screenshot)
     *   generic-vnf-type is the type displayed in the VNF line in VID 
('demoVFW/47d2b046-866b-421e-a9d6 1? in the screenshot)
     *   service-type is the service instance ID from the VID GUI
     *   vnf-name can be set to any suitable name for the VF Module instance
     *   vnf-type is the VNF Type you specified when you created the VNF 
profile in the SDNC admin GUI.

7.  Upload the VNF topology to SDNC with the upload_vnf_topology.sh script, eg.

   ./upload_vnf_topology <SDNC VM IP address> vnf_topology.json

8.  You should now be able to launch your VF Module from the VID GUI.  We found 
that the request timed out in the GUI (VID polls 7 times at 10 second 
intervals), but the underlying openstack stack create command continued to run 
and our VF Module launched successfully.

I hope this helps ? let me know if you have any questions.

Regards, Mike


From: Suraj Bisht [mailto:[email protected]]
Sent: 25 April 2017 04:28
To: Mike Evans <mike at metaswitch.com<mailto:mike at metaswitch.com>>
Cc: ROSE, DANIEL V <DR695H at att.com<mailto:DR695H at att.com>>; onap-discuss 
at lists.onap.org<mailto:onap-discuss at lists.onap.org>
Subject: Re: [onap-discuss] Creating ONAP subscribers

Hi Mike,

We are facing same issue during creating subscriber, can you share python 
script for subscriber creation? Is there any procedure for creating subscriber 
through Portal/SDC GUI?

Thanks,
Suraj

On Wed, Apr 19, 2017 at 8:23 AM, Mike Evans via onap-discuss <onap-discuss at 
lists.onap.org<mailto:onap-discuss at lists.onap.org>> wrote:
Daniel

I?ve made good progress today reading through the robot scripts and 
infrastructure, to the point where I?ve been able to add a test subscriber for 
Clearwater using a hand-crafted curl command.  I?m currently blocked on the MSO 
bug, so launching my Clearwater IMS core fails in the same way as trying to 
launch vFW or vLB, so I should be able to test it once the MSO fix is available 
(hopefully later today).

I?m in the process of writing a small Python command line app to manage 
subscribers and their services based on what I?ve learnt, and I?m happy to 
share this when it?s working.

Mike

From: ROSE, DANIEL V [mailto:DR695H at att.com<mailto:[email protected]>]
Sent: 19 April 2017 14:17
To: Mike Evans <mike at metaswitch.com<mailto:mike at metaswitch.com>>; 
onap-discuss at lists.onap.org<mailto:onap-discuss at lists.onap.org>
Subject: RE: [onap-discuss] Creating ONAP subscribers

Under the hood this uses python. I will try and take a look at the Clearwater 
ims and see if I can onboard it and give you an example of what is needed. I 
think we may also enhance the demo script to split out some steps so that 
people who want to use their own vnfs can use them. Also for release 2 we are 
looking to reduce some of the extra stuff needed

Daniel Rose
ECOMP / ONAP
com.att.ecomp
732-420-7308<tel:(732)%20420-7308>

From: Mike Evans [mailto:[email protected]]
Sent: Wednesday, April 19, 2017 3:14 AM
To: ROSE, DANIEL V <DR695H at att.com<mailto:DR695H at att.com>>; onap-discuss 
at lists.onap.org<mailto:onap-discuss at lists.onap.org>
Subject: RE: [onap-discuss] Creating ONAP subscribers

I was afraid you would say that ? I?d looked at the robot scripts in the robot 
VM and didn?t find them very readable.

I?m in the process of creating some simple Python tools to configure 
subscribers and services ? I?ll post them back here when I have them working.

Mike

--

Mike Evans
VP Systems Architecture
+44 208 366 1177<tel:+44%2020%208366%201177>

Metaswitch
www.metaswitch.com<https://urldefense.proofpoint.com/v2/url?u=http-3A__www.metaswitch.com_&d=DwMFAg&c=LFYZ-o9_HUMeMTSQicvjIg&r=2wwdGZ3YcpSivQ2Kio028A&m=JvzECEiSGvQJBykYO2_sriGo0jUFr4DSxx2Dr4pgHWM&s=0C-8Ug_c72pkCkSq4fp4BfSn5olVjurYoyLgqqxeVtU&e=>



From: ROSE, DANIEL V [mailto:[email protected]]
Sent: 18 April 2017 18:57
To: Mike Evans <mike at metaswitch.com<mailto:mike at metaswitch.com>>; 
onap-discuss at lists.onap.org<mailto:onap-discuss at lists.onap.org>
Subject: [onap-discuss] Creating ONAP subscribers

https://wiki.onap.org/display/DW/Tutorial%3A+Creating+a+Service+Instance+from+a+Design+Model<https://urldefense.proofpoint.com/v2/url?u=https-3A__wiki.onap.org_display_DW_Tutorial-253A-2BCreating-2Ba-2BService-2BInstance-2Bfrom-2Ba-2BDesign-2BModel&d=DwMFAg&c=LFYZ-o9_HUMeMTSQicvjIg&r=2wwdGZ3YcpSivQ2Kio028A&m=JvzECEiSGvQJBykYO2_sriGo0jUFr4DSxx2Dr4pgHWM&s=iVsMEdyMzbVjYZl7jkizeeLutQ349j6CkiCSTD2qVyU&e=>
 talks about the demo.sh init command, and that is what is doing that. Check 
out testsuite\robot\testsuites\demo.robot in the testsuite repo for what needs 
to be done, unfortunately its not very well documented at this point and we are 
looking at making it easier


Thanks,
Daniel Rose
ECOMP / ONAP
com.att.ecomp
732-420-7308<tel:(732)%20420-7308>

From: onap-discuss-bounces at lists.onap.org<mailto:onap-discuss-bounces at 
lists.onap.org> [mailto:[email protected]] On Behalf Of Mike 
Evans via onap-discuss
Sent: Tuesday, April 18, 2017 12:44 PM
To: onap-discuss at lists.onap.org<mailto:onap-discuss at lists.onap.org>
Subject: [onap-discuss] Creating ONAP subscribers

I?m try to do a trial onboard of our Clearwater IMS core onto ONAP.  I?ve got 
as far as onboarding the VNF and creating and distributing a service, but I 
can?t deploy it because I don?t have a subscriber set up for the service.  Are 
there any instructions for how to do this?

Mike
--

Mike Evans
VP Systems Architecture
+44 208 366 1177<tel:+44%2020%208366%201177>

Metaswitch
www.metaswitch.com<https://urldefense.proofpoint.com/v2/url?u=http-3A__www.metaswitch.com_&d=DwMFAg&c=LFYZ-o9_HUMeMTSQicvjIg&r=2wwdGZ3YcpSivQ2Kio028A&m=ESAt66KL4o_bX10euIEeTPogc9q1NaC-QY_KFKvdrcs&s=VzGUrAsDvbovKb3Gu2BfRJ8lmwYQ6WvFV-c6XzZWvNo&e=>



_______________________________________________
onap-discuss mailing list
onap-discuss at lists.onap.org<mailto:onap-discuss at lists.onap.org>
https://lists.onap.org/mailman/listinfo/onap-discuss<https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.onap.org_mailman_listinfo_onap-2Ddiscuss&d=DwMGaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=2wwdGZ3YcpSivQ2Kio028A&m=YiNxJd0A0hajKOwMw4zGZ5BCZRXqHa0H94npQHS5LIw&s=PaZd4ZBSyWb1_wOc4KfrZ3WAWLhi-djOo_gOoWo_rpM&e=>

This message and the information contained herein is proprietary and 
confidential and subject to the Amdocs policy statement,
you may review at 
https://www.amdocs.com/about/email-disclaimer<https://urldefense.proofpoint.com/v2/url?u=https-3A__www.amdocs.com_about_email-2Ddisclaimer&d=DwMGaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=_9Jlwl24cXmOrt_XOMKtC3aGkkZwuKoKxSPqhA05BWk&m=fdYIfL4wsKNOyrzGoktpUULQZwWsE1io2D9oYgrI_VU&s=6ckHl7TVowOPvO_PVFCrjlNr9UzKHbpCqu2ijHnBD4w&e=>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://lists.onap.org/pipermail/onap-discuss/attachments/20170426/da1c3be2/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.jpg
Type: image/jpeg
Size: 70285 bytes
Desc: image002.jpg
URL: 
<http://lists.onap.org/pipermail/onap-discuss/attachments/20170426/da1c3be2/attachment.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image004.jpg
Type: image/jpeg
Size: 64472 bytes
Desc: image004.jpg
URL: 
<http://lists.onap.org/pipermail/onap-discuss/attachments/20170426/da1c3be2/attachment-0001.jpg>
              • [o... Prakhar Pandey
              • [o... Akula, Ramanjaneyul Reddy (Nokia - US/Irving)
              • [o... Lefevre, Catherine
              • [o... Akula, Ramanjaneyul Reddy (Nokia - US/Irving)
              • [o... Akula, Ramanjaneyul Reddy (Nokia - US/Irving)
              • [o... Ngueko, Gervais-Martial
              • [o... Ngueko, Gervais-Martial
              • [o... Akula, Ramanjaneyul Reddy (Nokia - US/Irving)
              • [o... FREEMAN, BRIAN D
              • [o... Akula, Ramanjaneyul Reddy (Nokia - US/Irving)
              • [o... FREEMAN, BRIAN D
              • [o... Akula, Ramanjaneyul Reddy (Nokia - US/Irving)
              • [o... Determe, Sebastien
              • [o... Ngueko, Gervais-Martial
              • [o... Akula, Ramanjaneyul Reddy (Nokia - US/Irving)
              • [o... Prakhar Pandey
              • [o... Prakhar Pandey
  • [onap-discuss] Creating ONA... Mike Elliott

Reply via email to