Open Kilda Java Documentation
TraffExamService.java
Go to the documentation of this file.
1
/* Copyright 2018 Telstra Open Source
2
*
3
* Licensed under the Apache License, Version 2.0 (the "License");
4
* you may not use this file except in compliance with the License.
5
* You may obtain a copy of the License at
6
*
7
* http://www.apache.org/licenses/LICENSE-2.0
8
*
9
* Unless required by applicable law or agreed to in writing, software
10
* distributed under the License is distributed on an "AS IS" BASIS,
11
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
* See the License for the specific language governing permissions and
13
* limitations under the License.
14
*/
15
16
package
org.openkilda.testing.service.traffexam;
17
18
import
org
.
openkilda
.
testing
.
service
.
traffexam
.
model
.
Exam
;
19
import
org
.
openkilda
.
testing
.
service
.
traffexam
.
model
.
ExamReport
;
20
import
org
.
openkilda
.
testing
.
service
.
traffexam
.
model
.
ExamResources
;
21
import
org
.
openkilda
.
testing
.
service
.
traffexam
.
model
.
Host
;
22
23
import
java.util.List;
24
25
public
interface
TraffExamService
{
26
27
List<Host>
listHosts
();
28
29
Host
hostByName
(String
name
)
throws
NoResultsFoundException
;
30
31
ExamResources
startExam
(
Exam
exam)
32
throws
NoResultsFoundException
,
OperationalException
;
33
34
ExamReport
waitExam
(
Exam
exam);
35
36
ExamReport
waitExam
(
Exam
exam,
boolean
cleanup
);
37
38
ExamReport
fetchReport
(
Exam
exam)
throws
NoResultsFoundException
,
ExamNotFinishedException
;
39
40
void
stopExam
(
Exam
exam)
throws
NoResultsFoundException
;
41
42
void
stopAll
();
43
}
org.openkilda.testing.service.traffexam.model.ExamResources
Definition:
ExamResources.java:23
org.openkilda.testing.service.traffexam.model.Host
Definition:
Host.java:27
org.openkilda.testing.service.traffexam
Definition:
ExamNotFinishedException.java:16
org.openkilda.testing.service.traffexam.TraffExamService.fetchReport
ExamReport fetchReport(Exam exam)
org
setup.name
name
Definition:
setup.py:24
org.openkilda.testing.service.traffexam.TraffExamService.waitExam
ExamReport waitExam(Exam exam)
org.openkilda.testing
org.openkilda.testing.service.traffexam.model.ExamReport
Definition:
ExamReport.java:27
org.openkilda.testing.service
mininet_rest_test.cleanup
def cleanup()
Definition:
mininet_rest_test.py:95
org.openkilda.testing.service.traffexam.TraffExamService.listHosts
List< Host > listHosts()
org.openkilda.testing.service.traffexam.TraffExamService.hostByName
Host hostByName(String name)
org.openkilda.testing.service.traffexam.TraffExamService
Definition:
TraffExamService.java:25
org.openkilda
org.openkilda.testing.service.traffexam.TraffExamService.stopExam
void stopExam(Exam exam)
org.openkilda.testing.service.traffexam.model
Definition:
Address.java:16
org.openkilda.testing.service.traffexam.TraffExamService.startExam
ExamResources startExam(Exam exam)
org.openkilda.testing.service.traffexam.TraffExamService.stopAll
void stopAll()
org.openkilda.testing.service.traffexam.ExamNotFinishedException
Definition:
ExamNotFinishedException.java:18
org.openkilda.testing.service.traffexam.model.Exam
Definition:
Exam.java:27
org.openkilda.testing.service.traffexam.OperationalException
Definition:
OperationalException.java:18
org.openkilda.testing.service.traffexam.NoResultsFoundException
Definition:
NoResultsFoundException.java:18
open-kilda-develop
services
src
test-library
src
main
java
org
openkilda
testing
service
traffexam
TraffExamService.java
Generated by
1.8.14