Signed-off-by: Isaku Yamahata <[email protected]>
---
 ryu/bundle/os_gre.py |   37 +++++++++++++++++++++++++++++++++++++
 1 file changed, 37 insertions(+)
 create mode 100644 ryu/bundle/os_gre.py

diff --git a/ryu/bundle/os_gre.py b/ryu/bundle/os_gre.py
new file mode 100644
index 0000000..4b3dddd
--- /dev/null
+++ b/ryu/bundle/os_gre.py
@@ -0,0 +1,37 @@
+# Copyright (C) 2013 Nippon Telegraph and Telephone Corporation.
+# Copyright (C) 2013 Isaku Yamahata <yamahata at private email ne jp>
+#
+# 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.
+
+from ryu.base import main as ryu_main
+ryu_main.early_init()
+
+from ryu.base import app_manager
+
+
+class OpenStackGRETunnel(app_manager.RyuBundle):
+    APPS = [
+        'ryu.controller.ofp_handler',
+        'ryu.app.gre_tunnel.GRETunnel',
+        'ryu.app.tunnel_port_updater.TunnelPortUpdater',
+        'ryu.app.quantum_adapter.QuantumAdapter',
+        'ryu.app.rest.RestAPI',
+        'ryu.app.rest_conf_switch.ConfSwitchAPI',
+        'ryu.app.rest_tunnel.TunnelAPI',
+        'ryu.app.rest_quantum.QuantumIfaceAPI',
+    ]
+
+
+if __name__ == '__main__':
+    ryu_main.main([OpenStackGRETunnel], True)
-- 
1.7.10.4


------------------------------------------------------------------------------
How ServiceNow helps IT people transform IT departments:
1. A cloud service to automate IT design, transition and operations
2. Dashboards that offer high-level views of enterprise services
3. A single system of record for all IT processes
http://p.sf.net/sfu/servicenow-d2d-j
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to