How to connect from mininet to opendaylight which runs oxygen after installing odl-dluxapp features? - remote-access

I'm trying to connect to opendaylight oxygen from a mininet which runs on a virtual machine on ubuntu. When I ran features:install odl-dluxapps-topology odl-restconf-all odl-l2switch-switch in the above order, the mininet connects to odl and shows the topology. But when I install odl-dluxapps-nodes, and tries to connect to odl, it says unable to connect to the remote server. The command I use to connect from mininet is sudo mn --topo linear,4 --mac --controller=remote,ip=10.34.0.193,port=6633 --switch ovs,protocols=Openflow13 . How do I connect to odl from mininet while accessing all the dluxapps features.

Try to install all features in the same line command:
features:install odl-dluxapps-topology odl-restconf-all odl-l2switch-switch odl-dluxapps-nodes
See this for reference: https://docs.opendaylight.org/en/stable-oxygen/release-notes/projects/distribution.html#known-issues

Related

Is there a library to connect my Terminal using Robot Frmaework?

I want to run jobs in terminal connecting SSH tunnels. Is there any way that I can do it?
I should connect to Terminal
Access SSH tunnels
Access pentaho. sudo us - pentaho
Run my jobs
There is a SSHLibrary - https://github.com/robotframework/SSHLibrary & http://robotframework.org/SSHLibrary/SSHLibrary.html

unable to download packages in linux -network connectivity problem

My purpose is to download nagios for business purpose. I started a Linux machine(Centos 7) but could not install packages. Then I concluded that it is because of a network problem
I tried the following troubleshooting steps
ping ip-addr
ping google.com
It shows Network unreachable
but ping 127.0.0.1 works
What may be the problem
I think you have not setup your network card with a proper outgoing connection.
Try following this tutorial Centos Network Setup to get you going ...
Yes I tried to follow the steps mentioned in the manual. But after edit connection when
I give the followimng command service network restart. It shows the following error
Job for network.service failed as the control process failed with the error code
systemctl restart network shows the same too

Cloud foundry SSH not working

I am not able to make SSH working.
I checked that SSH is enable on the Application and Space level.
But when i ran
cf ssh "MY-APP-NAME" i get the following error:
FAILED
Error: SSH session allocation failed: ssh: unexpected packet in response to
channel open: <nil>
I also tried to connect without CLi and using the command
ssh -p 2222 cf:abcdefab-1234-5678-abcd-1234abcd1234/0#ssh.MY-DOMAIN.com
But when i entered the password the server stopped the connection (i used Putty).
I am trying to access with SSH because i need to launch npm install to install the dependencies of my application.
Thank you for your help
There is no need to ssh into an app to install dependencies.
Please have a look at Swisscoms Getting Started Guide for Node.js:
https://docs.developer.swisscom.com/tutorial-nodejs/index.html
The section 'Declare App Dependencies' (https://docs.developer.swisscom.com/tutorial-nodejs/dependencies.html) shows you how you specify the dependencies in a file called 'package.json'. This will then be automatically installed by the nodejs buildpack (https://github.com/cloudfoundry/nodejs-buildpack).

How to give GUI to remote server and access it from my local machine in ubuntu 14.04 lts

I have one ubuntu server located in one city(remotely), i want to give dummy display/GUI to that server and access it from my local ubuntu machine, how can i create this, please suggest me if there is any way to create a dummy display to that server from my local machine and can i access it like my own local machine.
Connect via ssh to your Linux server and do the following in cli:
sudo passwd root (put password for your username that you want to connect from)
sudo apt-get install ubuntu-desktop (to install your GUI)
sudo apt-get install xrdp (to install the middleware to connect through)
open port on your cloud/host portal for remote connection (port 3389)
Do your remote desktop to your vm dns using that port and use ur created username/password to go through.
You can use ssh service, open a terminal and write
# sudo root ssh#ip_address_of_server
so if the ip address of server is : 192.168.1.22
the command line will be :
# sudo root ssh#192.168.1.22
You do not forget to install ssh service

Kong: Running Mashape Kong fails on Mac OS X

Today I installed Kong (API Management Layer) on my Mac OS X (Yosemite 10.10.5). I used the .pkg file which is available here. I followed the installation instructions and everything was successful.
I also installed Cassandra using the information given on the Cassandra home page.
But when I start Kong, using the command:
$ kong start
It throws the following error:
dnsmasq: failed to create listening socket for fe80::3e15:XXXX:XXXX%en0: Can't assign requested address
Looks like you have already something running on the kong port 8000,8001 or 9042. Try to shut down anything that might be using those ports and retry?
you can configure Kong to run on any custom ports for (proxy and admin) by changing the values in the /etc/kong/kong.yml file. see full config reference here
The problem is that dnsmasq on Kong is listening by default on port 8053 (https://github.com/Mashape/kong/blob/master/kong.yml#L29), which seems to be already taken on your system.
Make sure that there is nothing else running on that port.
You can kill the process that is running on the dnsmasq port and restart the kong.
Kill the process:
sudo kill `sudo lsof -t -i:8053`
Start Kong:
kong start
/usr/local/bin/kong start
/usr/local/bin/kong stop
/usr/local/bin/kong reload
/usr/local/bin/kong status

Resources