Hi Vamshi,

>> When you mention local repository, are you mentioning local maven repository ?

No. Sorry for the misunderstanding. With this I mean the opendaylight local repo inside of the container in /opt/opendaylight/system/. If an artifact can not be resolved on startup, the first thing you should check is if it's in there.

Kind regards,
Michael

On 23.06.21 16:56, Vamshi K Namilikonda via lists.onap.org wrote:

Hi Michael,

I’ve tried the options suggested.

Just want to get clarified one doubt. When you mention local repository, are you mentioning local maven repository ?

Because, in our side the SDC-R is running on Openshift environment along the side other onap components, and I’m expecting these artifact could’ve already present in maven central/odl repo from where the artifacts fetched at runtime.   I don’t have any local repository access to Openshift environment where onap is running.

Please correct me if my understanding is current.

Thanks

Vamshi Namilikonda***| **Solution Engineering***

Network Services***| *Tech Mahindra**

(Desk: +91 20 66018100 x 3942 ** Mobile: +91 9848639561

*Connected World and Connected Experiences*

*From:* onap-discuss@lists.onap.org <onap-discuss@lists.onap.org> *On Behalf Of *Michael D?rre via lists.onap.org
*Sent:* Wednesday, June 16, 2021 12:36 PM
*To:* onap-discuss@lists.onap.org; Vamshi Namilikonda <vn00480...@techmahindra.com>; Rajendra P Mishra (RP) <rpmis...@aarnanetworks.com> *Subject:* Re: [onap-discuss] [CCSDK] [SDNC] Error in adding additional ODL features in SDNC in Guilin release

Hi,

the best entrypoint is the startODL.sh. Here the latest guilin version: https://gerrit.onap.org/r/gitweb?p=sdnc/oam.git;a=blob;f=installation/sdnc/src/main/scripts/startODL.sh;h=7f196603d208a76c767007c34c120bbc52281936;hb=refs/heads/guilin <https://ind01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgerrit.onap.org%2Fr%2Fgitweb%3Fp%3Dsdnc%2Foam.git%3Ba%3Dblob%3Bf%3Dinstallation%2Fsdnc%2Fsrc%2Fmain%2Fscripts%2FstartODL.sh%3Bh%3D7f196603d208a76c767007c34c120bbc52281936%3Bhb%3Drefs%2Fheads%2Fguilin&data=04%7C01%7Cvn00480215%40techmahindra.com%7Cd4665be38d0a4a449ccc08d930953016%7Cedf442f5b9944c86a131b42b03a16c95%7C0%7C0%7C637594239600400417%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=NKwNdWy4qfc3a2%2B2UOkv54TxzDPfMlVg0OD%2FX22%2Fw0c%3D&reserved=0>

The function you are looking for is "addToFeatureBoot()" (Line 56).

In fact that we do not know with which config (I mean env vars) you are starting the container it's not so easy to tell you which var to modify. The point is that bringing opendaylight one time up with the prefilled featuresBoot in etc/org.apache.karaf.features.cfg is the best and most error-free way to do.

So you have some options.

[1] you can modify startODL.sh to your purpose and mount this into the container [2] find a env var which adds features, but be aware of flags like e.g. SDNRWT [3] you can modify the initial etc/org.apache.karaf.features.cfg in the container, because there are some base features already in the featuresBoot list.

The easiest way for us (SDN-R team) is to modify the env var SDNRWT_BOOTFEATURES but this as I said before is only working if you have enabled SDN-R functionality with SDNRWT=true

But please also check if all needed artifacts are in the local repository because our base opendaylight container has only a subset of the official one.

Kind regards,
Michael

On 16.06.21 08:47, Vamshi K Namilikonda via lists.onap.org wrote:

    Dear CCSDK team,

    We found BGP-LS feature missing on the ONAP/SDN-C (Guilin
    version), so wanted to install them. I found following Karaf
    features would serve this purpose
    odl-bgpcep-bgp-all
    odl-bgpcep-pcep-all


    As a sample exercise I've tried installing these features on the
    standalone Karaf distribution by pointing out to the local maven
    repository for the ODL artifacts. However it throws lots of
    dependency issues with other artifacts.


    So I started installing  directly on the SDN-C of Guilin assuming
    "feature:install odl-bgpcep-bgp-all" would fetch the artifacts
    from the maven central repo and install all the related features
    required for BGP-LS. But it is not working.


    I am looking for some directions in this regard. Can anyone from
    CCSDK/SDNC team please validate these steps are correct, if not
    could you please suggest the right approach to get additional ODL
    features in place in SDN-C release.


    We wanted to join the CCSDK weekly meeting to know more on this. 
    Appreciate your help.

    Thanks

    Vamshi Namilikonda*| Solutions Engineering*

    Network Services*| *Tech Mahindra**

    (Desk: +91 20 66018100 x 3942 ** Mobile: +91 9848639561

    *Connected World and Connected Experiences*

    
============================================================================================================================
    Disclaimer: This message and the information contained herein is
    proprietary and confidential and subject to the Tech Mahindra
    policy statement, you may review the policy at
    http://www.techmahindra.com/Disclaimer.html
    <http://www.techmahindra.com/Disclaimer.html> externally
    http://tim.techmahindra.com/tim/disclaimer.html
    <http://tim.techmahindra.com/tim/disclaimer.html> internally
    within TechMahindra.
    
============================================================================================================================

--

*Michael Dürre*

Software Engineer

highstreet technologies GmbH

Hähnelstraße 6

12159 Berlin

Skype: michael.due...@highstreet-technologies.com <mailto:michael.due...@highstreet-technologies.com>

E-Mail: michael.due...@highstreet-technologies.com <mailto:michael.due...@highstreet-technologies.com>

Web: http://www.highstreet-technologies.com <https://ind01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.highstreet-technologies.com%2F&data=04%7C01%7Cvn00480215%40techmahindra.com%7Cd4665be38d0a4a449ccc08d930953016%7Cedf442f5b9944c86a131b42b03a16c95%7C0%7C0%7C637594239600410415%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=ou3504Sb6ARtoqzdkE47LcFCVow3lmV5Gx4T9Htpp%2Bc%3D&reserved=0>

Geschäftsführer: Dipl.-Ing. (FH) Alfons Mittermaier

Handelsregister: Amtsgericht Charlottenburg, HRB 114905 B

Firmensitz: Berlin

USt-IdNr.: DE261090513

*/Caution: /*/Please do not click links or open attachments unless you recognize the sender and know the content is safe./


--

*Michael Dürre*

Software Engineer

highstreet technologies GmbH

Hähnelstraße 6

12159 Berlin

Skype: michael.due...@highstreet-technologies.com

E-Mail: michael.due...@highstreet-technologies.com <mailto:michael.due...@highstreet-technologies.com>

Web: http://www.highstreet-technologies.com <http://www.highstreet-technologies.com>

Geschäftsführer: Dipl.-Ing. (FH) Alfons Mittermaier

Handelsregister: Amtsgericht Charlottenburg, HRB 114905 B

Firmensitz: Berlin

USt-IdNr.: DE261090513



-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#23336): https://lists.onap.org/g/onap-discuss/message/23336
Mute This Topic: https://lists.onap.org/mt/83575087/21656
Group Owner: onap-discuss+ow...@lists.onap.org
Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


Reply via email to