...
The SDN-R related feature sources are provided to repository [ccsdk/features]/sdnr. The jenkins production will compile bundles and provide artifacts to nexus.
Moved to here: SDN-C/SDN-R images
SDN-R Images
The artifacts are bundled into a docker container in repository [sdnc/oam]. The relevant projects for creating the images are
...
project file | in Container | meaning |
---|---|---|
src/main/scripts/startODL.sh | /opt/onap/sdnc/bin/startODL.sh | Startup script and entry point
|
pom.xml: ccsdk.features.version | specifies the ccsdk/feature to be included. | |
src/main/docker/Dockerfile: repository | $ODL_HOME/etc/org.apache.karaf.feature.cfg | Repository of features to be loaded. |
SDN-C/SDN-R Image dependencies
...
/opt/onap/sdnc
...
Groups
- org.onap.sdnc.northbound
- org.onap.ccsdk.features.sdnr.wt remove
- org.onap.ccsdk.features.sdnr.northbound remove
...
Add sdnc related bundles/features
/opt/onap/sdnc
- Scripts for run time
...
odlbasefeatures
ccsdkfeatures by startscript
...
Groups
- org.onap.ccsdk.sli.core
- org.onap.ccsdk.sli.adaptors
- org.onap.ccsdk.sli.northbound
- org.onap.ccsdk.sli.plugins
- org.onap.ccsdk.features.sdnr.wt
- org.onap.ccsdk.features.sdnr.northbound
...
Add sli bundles/features
Dockerfile
- Add repositories
- Modify boot features
- /opt/onap/ccsdk used for test purpose
...
onap/ccsdk-alpine-image
...
Points
- Clean up sdnr/wt
- dependency is in sli and sdnc: Remove bundle dependency from sdnc/oam
- Install by sdnc install script.
- Cleanup environment variables and specify at one location
- Use Docker ARG by default
- ENV only for variables, used by script
- There are several startup scripts. Can we harmonize this?
- Script directories in sdnc
- opt/onap/sdnc
- opt/onap/ccsdk
- Same script names different versions.
- startODL.sh in ccsdk
- startODL.sh in sdnc
- startODL.oom.sh in OOM project
- Script directories in sdnc
- ODL Startup
- featuresboot modified
- by Dockerfile
- and by startup script (
- Only startupscript should define featureboot with custom features.
- odlbasefeatures are specified by ccsdk-odlsli-alpine-imange dockerfile
- At the moment featurerepositories are added by Dockerfile and startup scripts
- Only dockerfile should add featurerepositories
...