Add some new targets
diff --git a/xos/configurations/cord/Makefile b/xos/configurations/cord/Makefile
index af5f584..c95d9dd 100644
--- a/xos/configurations/cord/Makefile
+++ b/xos/configurations/cord/Makefile
@@ -35,9 +35,15 @@
stop:
sudo MYIP=$(MYIP) docker-compose stop
+rm:
+ sudo MYIP=$(MYIP) docker-compose rm
+
showlogs:
sudo MYIP=$(MYIP) docker-compose logs
+ps:
+ sudo MYIP=$(MYIP) docker-compose ps
+
dataplane: etc_hosts
cd dataplane; ./gen-inventory.sh > hosts
cd dataplane; ansible-playbook -i hosts dataplane.yaml
@@ -57,10 +63,10 @@
# reboot the vBNG ONOS
cd dataplane; ansible -i hosts onos_vbng -m shell -s -a "docker restart ONOS"
-cleanup:
+cleanup: stop rm
cd dataplane; ./cleanup.sh
bash -c "source ../setup/admin-openrc.sh; nova list --all-tenants; neutron net-list"
- echo "Don't forget to clean up containers"
+ echo "Don't forget to clean up vCPE containers"
devstack_net_fix:
sudo ../common/devstack/net-fix.sh
diff --git a/xos/configurations/devel/Makefile b/xos/configurations/devel/Makefile
index 1ae97be..a7883f5 100644
--- a/xos/configurations/devel/Makefile
+++ b/xos/configurations/devel/Makefile
@@ -22,6 +22,12 @@
showlogs:
sudo MYIP=$(MYIP) docker-compose logs
+rm: stop
+ sudo MYIP=$(MYIP) docker-compose rm
+
+ps:
+ sudo MYIP=$(MYIP) docker-compose ps
+
devstack_net_fix:
sudo ../common/devstack/net-fix.sh
sudo bash -c "source ../setup/admin-openrc.sh; neutron subnet-update private-subnet --dns-nameservers list=true 8.8.8.8 8.8.4.4"