You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

The chapter describes how you can get a first overview about a running SDN-R and its features and functionality just using ssh, bash, curl.

However you need the IP-Address or the fully-qualified-domain-name of the machine running CCSDK with SDN-R services.

Karaf Container

ssh to the system running an SDN-R node (CCSDK, OpenDaylight node).

  ssh <user>@<system-ip>

In case the karaf container is running within a docker container, please jump into the docker.

Please note that an ssh into the karaf using ssh -p 8101 karaf@<system-ip>  will not work, because the port 8101 is usually not forwarded and the ssh client is not installed on the reduces system (alpine) used by ONAP CCSDK docker containers, reducing the entire ONAP footprint. 

In order to jump into the docker container it is necessary to know the docker container id. The following command will list all the containers.

  sudo docker ps

Remember the docker container id you are interested in.

  sudo docker exec -it <container-id> /bin/bash

Now open the karaf console to check the CCSDK/OpenDaylight/Status and the running features.

  $ODL_HOME/bin/status
  $ODL_HOME/bin/client

The last command will prompt the karaf console. Please use the following commands to get familiar with the running system SDN-R.

karaf commandDescription
info
gives high level information about the karaf container
log:list
shows the actual log settings
log:display | grep " ERROR "
shows all logged errors - it is expected that no errors occurred in an production environment.
feature:list | grep sdnr
All SDN-R features should have been started.


Please see karaf documentation for further information about the karaf commands: http://karaf.apache.org/manual/latest/#_commands









  • No labels