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

added idco controller image

parent b0345824
No related branches found
No related tags found
1 merge request!2repo: added new directory where utils scripts will be
FROM onosproject/onos:2.7.0
COPY . ./
RUN chmod +x ./setup_controller.sh
ENTRYPOINT ["./setup_controller.sh"]
\ No newline at end of file
File added
#!/bin/bash
# turn on bash's job control
set -m
# Start the primary process and put it in the background
./bin/onos-service server &
sleep 90
# Start the helper process
./bin/onos-app localhost install idco-app-1.0.oar
./bin/onos-app localhost activate org.idco.app
./bin/onos-app localhost activate org.onosproject.drivers
./bin/onos-app localhost activate org.onosproject.lldpprovider
./bin/onos-app localhost activate org.onosproject.openflow-base
./bin/onos-app localhost activate org.onosproject.optical-model
# now we bring the primary process back into the foreground
# and leave it there
fg %1
\ No newline at end of file
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