Static pages added
authorYasin <mohammed-yasin.rahman@lip6.fr>
Fri, 21 Feb 2014 11:45:56 +0000 (12:45 +0100)
committerYasin <mohammed-yasin.rahman@lip6.fr>
Fri, 21 Feb 2014 11:45:56 +0000 (12:45 +0100)
portal/documentationview.py [new file with mode: 0644]
portal/experimentview.py [new file with mode: 0644]
portal/templates/documentationview.html [new file with mode: 0644]
portal/templates/experimentview.html [new file with mode: 0644]
portal/urls.py

diff --git a/portal/documentationview.py b/portal/documentationview.py
new file mode 100644 (file)
index 0000000..e5c00ff
--- /dev/null
@@ -0,0 +1,16 @@
+from django.shortcuts           import render
+from django.views.generic       import View
+
+from unfold.loginrequired       import FreeAccessView
+from ui.topmenu                 import topmenu_items
+
+
+# splitting the 2 functions done here
+# GET is for displaying the empty form
+# POST is to process it once filled - or show the form again if anything is missing
+class DocumentationView (FreeAccessView):
+    template_name = "documentationview.html"
+    def _display (self, request):
+        return render(request, 'documentationview.html', {
+                'topmenu_items': topmenu_items('FAQ', request),
+                })
diff --git a/portal/experimentview.py b/portal/experimentview.py
new file mode 100644 (file)
index 0000000..b4c20b0
--- /dev/null
@@ -0,0 +1,19 @@
+from django.shortcuts           import render
+from django.views.generic       import View
+
+from unfold.loginrequired       import FreeAccessView
+from ui.topmenu                 import topmenu_items
+
+
+# splitting the 2 functions done here
+# GET is for displaying the empty form
+# POST is to process it once filled - or show the form again if anything is missing
+class ExperimentView (FreeAccessView):
+    template_name = "experimentview.html"
+    def _display (self, request):
+        return render(request, 'experimentview.html', {
+                'topmenu_items': topmenu_items('experiment', request),
+                })
+
+
+
diff --git a/portal/templates/documentationview.html b/portal/templates/documentationview.html
new file mode 100644 (file)
index 0000000..344c8d3
--- /dev/null
@@ -0,0 +1,15 @@
+{% extends "layout-unfold1.html" %}
+
+{% block head %}
+{{ wizard.form.media }}
+{% endblock %}
+
+{% block unfold_main %}
+
+<h1>OneLab Portal Documentation<h1>
+<h2>FAQ<h2>
+<h3>Users</h3>
+<h3>Managers</h3>
+
+{% endblock %}
+
diff --git a/portal/templates/experimentview.html b/portal/templates/experimentview.html
new file mode 100644 (file)
index 0000000..0aebd03
--- /dev/null
@@ -0,0 +1,35 @@
+{% extends "layout-unfold1.html" %}
+
+{% block head %}
+{{ wizard.form.media }}
+{% endblock %}
+
+{% block unfold_main %}
+
+
+<h1> Experiment Tools </h1>
+
+<h2>Secure Shell (SSH)</h2>
+<p>
+Secure Shell (SSH) is a cryptographic network protocol for secure data communication, remote command-line login, remote command execution, and other secure network services between two networked computers that connects, via a secure channel over an insecure network, a server and a client (running SSH server and SSH client programs, respectively). The protocol specification distinguishes between two major versions that are referred to as SSH-1 and SSH-2.
+</p>
+<p> More Info: <a href="http://en.wikipedia.org/wiki/Secure_Shell" target="_blank">http://en.wikipedia.org/wiki/Secure_Shell</a></p>
+
+
+<h2>NEPI</h2>
+<p>NEPI, the Network Experimentation Programming Interface, is a life-cycle management tool for network experiments. The idea behind NEPI is to provide a single tool to design, deploy, and control network experiments, and gather the experiment results. Going further, NEPI was specially conceived to function with arbitrary experimentation platforms, so researchers could use a single tool to work with network simulators, emulators, or physical testbeds, or even a mixture of them. To accomplish this, NEPI provides a high-level interface to describe experiments that is independent from any experimentation platform, but is able to capture platform specific configurations. Experiment definitions can be stored in XML format to be later reproduced, and modified according to experimentation needs. Experiment execution is orchestrated by a global experiment controller, that is platform independent, and different platform-dependent testbed controllers, creating a control hierarchy that is able t adapt to platform specific requirements while providing an integrated control scheme.</p>
+<p> More Info: <a href="http://nepi.inria.fr" target="_blank">http://nepi.inria.fr</a></p>
+
+<h2>OMF</h2>
+<p>OMF is a Testbed Control, Measurement and Management Framework.</p>
+<p>
+OMF was originally developed for the ORBIT wireless testbed at Winlab, Rutgers University. Since 2007, OMF has been actively extended to operate on testbeds with many different type of network and resource technologies. It is now deployed and used on different testbeds in Australia, Europe, and in the U.S. OMF is currently being extended further to support exciting new features and technologies. This website is hosting this ongoing activity. OMF development is now conducted essentially within the TEMPO project at NICTA (Australia) in strong collaboration with Winlab (Rutgers University).
+</p>
+
+<p>In addition to the main OMF software, this site also hosts OMF sub-projects addressing various related aspects of a testbed's control, measurement, and management.</p>
+
+
+<p>More Info: <a href="http://mytestbed.net/projects/omf" target="_blank">http://mytestbed.net/projects/omf</a></p>
+
+
+{% endblock %}
index 87cf020..790e927 100644 (file)
@@ -36,7 +36,8 @@ from portal.registrationview    import RegistrationView
 from portal.joinview            import JoinView
 from portal.sliceview           import SliceView
 from portal.validationview      import ValidatePendingView
-
+from portal.experimentview      import ExperimentView
+from portal.documentationview   import DocumentationView
 # hopefully these should move in dedicated source files too
 from portal.views               import PresViewView, pres_view_static, pres_view_methods, pres_view_animation
 from portal.django_passresetview import password_reset, password_reset_done, password_reset_confirm, password_reset_complete 
@@ -72,6 +73,8 @@ urlpatterns = patterns('',
     url(r'^register/?$', RegistrationView.as_view(), name='registration'),
     url(r'^join/?$', JoinView.as_view(), name='join'),
     url(r'^contact/?$', ContactView.as_view(), name='contact'),
+    url(r'^experiment?$', ExperimentView.as_view(), name='experiment'),
+    url(r'^support/documentation?$', DocumentationView.as_view(), name='FAQ'),
     #url(r'^pass_reset/?$', PassResetView.as_view(), name='pass_rest'),
     # Slice request
     url(r'^slice_request/?$', SliceRequestView.as_view(), name='slice_request'),