Thomas Vachuska

Adding ability to automatically enable flow objective intents via ONOS_USE_FOI env. variable.

Change-Id: I2769678f391da38462ecf78fd46c1231a3ba7bb6
...@@ -17,6 +17,8 @@ ...@@ -17,6 +17,8 @@
17 <group name="Setup"> 17 <group name="Setup">
18 <step name="Push-Bits" exec="onos-push-bits-through-proxy" if="${OCT}"/> 18 <step name="Push-Bits" exec="onos-push-bits-through-proxy" if="${OCT}"/>
19 <step name="Secure-SSH" exec="onos-secure-ssh -u ${ONOS_WEB_USER} -p ${ONOS_WEB_PASS}" if="${ONOS_USE_SSH}"/> 19 <step name="Secure-SSH" exec="onos-secure-ssh -u ${ONOS_WEB_USER} -p ${ONOS_WEB_PASS}" if="${ONOS_USE_SSH}"/>
20 + <step name="Enable-Flow-Objective-Intents" if="${ONOS_USE_FOI}"
21 + exec="onos ${OC1} cfg set org.onosproject.net.intent.impl.compiler.IntentConfigurableRegistrator useFlowObjectives true"/>
20 22
21 <parallel var="${OC#}"> 23 <parallel var="${OC#}">
22 <step name="Push-Bits-${#}" exec="onos-push-bits ${OC#}" 24 <step name="Push-Bits-${#}" exec="onos-push-bits ${OC#}"
...@@ -43,6 +45,8 @@ ...@@ -43,6 +45,8 @@
43 requires="~Check-Components-${#}"/> 45 requires="~Check-Components-${#}"/>
44 <step name="Check-Apps-${#}" exec="onos-check-apps ${OC#} ${ONOS_APPS} includes" 46 <step name="Check-Apps-${#}" exec="onos-check-apps ${OC#} ${ONOS_APPS} includes"
45 requires="~Check-Components-${#}"/> 47 requires="~Check-Components-${#}"/>
48 +
49 + <dependency name="Enable-Flow-Objective-Intents" requires="Check-Apps-${#}"/>
46 </parallel> 50 </parallel>
47 </group> 51 </group>
48 </scenario> 52 </scenario>
......