Skip to content
Snippets Groups Projects
Commit 6032a3f9 authored by Alex ubuntu vm's avatar Alex ubuntu vm
Browse files

sdn controller: new version.

- Revised the rest api endpoints
- Fixed bug where if you deployed many things at once, it would break
parent 5dcc2fdf
No related branches found
No related tags found
1 merge request!2repo: added new directory where utils scripts will be
#!/bin/bash
# Define the SSH command and credentials
SSH_HOST="localhost"
SSH_PORT="8101"
SSH_USER="karaf"
SSH_PASS="karaf"
COMMAND1="bundle:install -s mvn:org.yaml/snakeyaml/1.26"
COMMAND2="bundle:install -s mvn:com.fasterxml.jackson.dataformat/jackson-dataformat-yaml/2.11.0"
# Install sshpass if it is not already installed
if ! command -v sshpass &> /dev/null
then
echo "sshpass could not be found, trying to install it..."
sudo apt-get install sshpass -y
fi
# Execute the commands over SSH
sshpass -p $SSH_PASS ssh -p $SSH_PORT -o StrictHostKeyChecking=no $SSH_USER@$SSH_HOST "$COMMAND1; $COMMAND2"
...@@ -23,11 +23,13 @@ done ...@@ -23,11 +23,13 @@ done
# Start the configuration # Start the configuration
./onos_critique.sh
./bin/onos-app localhost activate org.onosproject.drivers ./bin/onos-app localhost activate org.onosproject.drivers
./bin/onos-app localhost activate org.onosproject.lldpprovider ./bin/onos-app localhost activate org.onosproject.lldpprovider
./bin/onos-app localhost activate org.onosproject.openflow-base ./bin/onos-app localhost activate org.onosproject.openflow-base
./bin/onos-app localhost activate org.onosproject.optical-model ./bin/onos-app localhost activate org.onosproject.optical-model
./bin/onos-app localhost install! l2sm-controller-app-1.0.oar ./bin/onos-app localhost install! vnets-app-1.0.oar
......
File added
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment