Add targets to delete the fabric config, reactivate apps
Change-Id: I4662251edef681cab7ac92b2fee7a634038a9793
(cherry picked from commit 2951b13cf827d139499ebbb211612313f62ddf95)
diff --git a/cord-pod/Makefile b/cord-pod/Makefile
index 952fa84..6676d82 100644
--- a/cord-pod/Makefile
+++ b/cord-pod/Makefile
@@ -86,6 +86,13 @@
vtn: vtn-external.yaml
$(RUN_TOSCA) vtn-external.yaml
+delete_fabric_config:
+ http -a karaf:karaf DELETE http://onos-fabric:8181/onos/v1/network/configuration/
+
+reactivate_fabric_apps:
+ http -a karaf:karaf POST http://onos-fabric:8181/onos/v1/applications/org.onosproject.vrouter/active
+ http -a karaf:karaf POST http://onos-fabric:8181/onos/v1/applications/org.onosproject.segmentrouting/active
+
fabric: fabric.yaml
cp ../../xos_services/fabric/config/network-cfg-quickstart.json .
$(RUN_TOSCA) fabric.yaml