| <!-- |
| ~ Copyright 2015-present Open Networking Foundation |
| ~ |
| ~ Licensed under the Apache License, Version 2.0 (the "License"); |
| ~ you may not use this file except in compliance with the License. |
| ~ You may obtain a copy of the License at |
| ~ |
| ~ http://www.apache.org/licenses/LICENSE-2.0 |
| ~ |
| ~ Unless required by applicable law or agreed to in writing, software |
| ~ distributed under the License is distributed on an "AS IS" BASIS, |
| ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| ~ See the License for the specific language governing permissions and |
| ~ limitations under the License. |
| --> |
| <scenario name="net-odtn-restconf" |
| description="ODTN RESTCONF API test"> |
| <group name="Net-ODTN-Restconf"> |
| |
| <!-- Verify the correct topology is present --> |
| |
| <step name="Net-ODTN-Restconf.Tapi-context" |
| exec="execute-tapi-context-get-call.py ${OC1} empty"/> |
| |
| <!-- Verify empty connectivity service --> |
| |
| <step name="Net-ODTN-Restconf.Tapi-connectivity" requires="Net-ODTN-Restconf.Tapi-context" |
| exec="execute-tapi-post-call.py ${OC1} tapi-connectivity:get-connectivity-service-list empty"/> |
| |
| <!-- Push the connectivity service request --> |
| |
| <!--<step name="ODTN-Net-Setup.Tapi-connectivity" requires="ODTN-Net-Setup.Tapi-context" |
| exec="execute-tapi-post-call.py ${OC1} tapi-connectivity:get-connectivity-service-list true"/> |
| |
| <group name="ODTN-Net-Setup.Verify-Logs-3" requires="ODTN-Net-Setup.Tapi-connectivity"> |
| <parallel var="${OC#}"> |
| <step name="Check-Logs-3-${#}" exec="onos-check-logs ${OC#}"/> |
| </parallel> |
| </group> |
| |
| <step name="ODTN-Net-Setup.Tapi-context" requires="ODTN-Net-Setup.Verify-Logs" |
| exec="execute-tapi-context-get-call.py ${OC1} empty"/> |
| <step name="ODTN-Net-Setup.Tapi-connectivity" requires="ODTN-Net-Setup.Tapi-context" |
| exec="execute-tapi-post-call.py ${OC1} tapi-connectivity:get-connectivity-service-list empty true"/> |
| |
| <group name="ODTN-Net-Setup.Verify-Logs-4" requires="ODTN-Net-Setup.Tapi-connectivity"> |
| <parallel var="${OC#}"> |
| <step name="Check-Logs-4-${#}" exec="onos-check-logs ${OC#}"/> |
| </parallel> |
| </group>--> |
| |
| |
| </group> |
| </scenario> |