summaryrefslogtreecommitdiffstats
path: root/api/urls.py
diff options
context:
space:
mode:
Diffstat (limited to 'api/urls.py')
-rw-r--r--api/urls.py16
1 files changed, 16 insertions, 0 deletions
diff --git a/api/urls.py b/api/urls.py
new file mode 100644
index 000000000..2a9e72a76
--- /dev/null
+++ b/api/urls.py
@@ -0,0 +1,16 @@
+##############################################################################
+# Copyright (c) 2016 Huawei Technologies Co.,Ltd and others.
+#
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Apache License, Version 2.0
+# which accompanies this distribution, and is available at
+# http://www.apache.org/licenses/LICENSE-2.0
+##############################################################################
+from api import views
+from api.utils.common import Url
+
+
+urlpatterns = [
+ Url('/yardstick/test/action', views.Test, 'test'),
+ Url('/yardstick/result/action', views.Result, 'result')
+]