Hi,
2012/11/7 FUJITA Tomonori :
> This adds the feature to configure the log levels dynamically via CLI
> (like a commercial switch).
>
> - I don't like to access the internal of logging module. However,
> seems that there is no way to know the list of used Loggers. Should
> we add a wrapper f
Hi Fujita San,
Thank you very much for the advise, I configured my switch & the
RYU-manager is connected with hello handshake, I will move on to the
next step to run the application. I will keep you updated.
Best Regards
David
On 11/07/2012 08:52 PM, FUJITA Tomonori wrote:
> Hi, thanks for tr
On Thu, Nov 08, 2012 at 05:02:04PM +0900, OHMURA Kei wrote:
> 2012/11/8 Simon Horman :
> > On Thu, Nov 08, 2012 at 12:15:44PM +0900, OHMURA Kei wrote:
> >> 2012/11/8 Simon Horman :
> >> > On Thu, Nov 08, 2012 at 07:01:45AM +0900, OHMURA Kei wrote:
> >> >> 2012/11/7 FUJITA Tomonori :
> >> >> > On We
Signed-off-by: Isaku Yamahata
---
Changes v3 -> v4:
- clarification
- some more devstack variables
---
doc/source/openstack.rst|1 +
doc/source/tunneling_with_openstack.rst | 324 +++
2 files changed, 325 insertions(+)
create mode 100644 doc/sourc
Signed-off-by: Isaku Yamahata
---
ryu/app/client.py | 44 ++--
1 file changed, 42 insertions(+), 2 deletions(-)
diff --git a/ryu/app/client.py b/ryu/app/client.py
index de74357..04d5fec 100644
--- a/ryu/app/client.py
+++ b/ryu/app/client.py
@@ -15,6 +15,
Signed-off-by: Isaku Yamahata
---
ryu/app/conf_switch_key.py | 18 +
ryu/app/rest_conf_switch.py | 173 +++
2 files changed, 191 insertions(+)
create mode 100644 ryu/app/conf_switch_key.py
create mode 100644 ryu/app/rest_conf_switch.py
diff --git
This application dynamically creates/deletes tunnel ports for GRE tunnel app.
Signed-off-by: Isaku Yamahata
---
Changes v3 -> v4:
- 'key=flow' option to tunnel port
---
ryu/app/tunnel_port_updater.py | 470
1 file changed, 470 insertions(+)
create mode
With this API, other component such as openstack quantum tells informations
necessary for tunnel.
- tunnel key corresponding to network id
- tunnel port related information
which tunnel port of a given datapath connected to which remote datapath
Signed-off-by: Isaku Yamahata
---
Changes v4 -> v
From: Yoshihiro Kaneko
Signed-off-by: Yoshihiro Kaneko
Signed-off-by: Isaku Yamahata
---
ryu/app/quantum_adapter.py | 552
ryu/flags.py | 28 +++
2 files changed, 580 insertions(+)
create mode 100644 ryu/app/quantum_adapter.py
dif
- race masking layer
- debug app: PortSetDebug
- implement GRETunnel app: app/gre_tunnel
Signed-off-by: Isaku Yamahata
---
Changes v4 -> v5:
- use tunnel specific exceptions
Changes v3 -> v4:
- duplicated output to tunnel port
gre_tunnel: not to use controller.is_reserved_port
Signed-off-by: I
Signed-off-by: Isaku Yamahata
---
Changes v2 -> v3:
- de-GRE
---
bin/ryu-client | 21 -
1 file changed, 20 insertions(+), 1 deletion(-)
diff --git a/bin/ryu-client b/bin/ryu-client
index 20eeff6..e121f61 100755
--- a/bin/ryu-client
+++ b/bin/ryu-client
@@ -19,6 +19,7 @@
im
Those constants are used to manipulate Open_vSwitch db of ovsdb.
Signed-off-by: Isaku Yamahata
---
ryu/lib/ovs/vswitch_idl.py | 175
1 file changed, 175 insertions(+)
create mode 100644 ryu/lib/ovs/__init__.py
create mode 100644 ryu/lib/ovs/vswitch
Signed-off-by: Isaku Yamahata
---
ryu/lib/synchronized.py | 29 +
1 file changed, 29 insertions(+)
create mode 100644 ryu/lib/synchronized.py
diff --git a/ryu/lib/synchronized.py b/ryu/lib/synchronized.py
new file mode 100644
index 000..d1129db
--- /dev/null
++
It is sometimes commonly interesting to track datapath/port
appearance/disappearance. The applications usually want to see that ports
appear after datapath becomes ready, and ports disappear when datapath is dead.
It requires to handle properly events, hand shaking, port_mod event,
switch_feature_r
This will be used by tunnel app.
Signed-off-by: Isaku Yamahata
---
ryu/controller/network.py | 17 +
1 file changed, 13 insertions(+), 4 deletions(-)
diff --git a/ryu/controller/network.py b/ryu/controller/network.py
index abfd12c..08dcdbf 100644
--- a/ryu/controller/network.p
This patch adds requirements to path component so that URL is verified.
And simplify with submapper.
Signed-off-by: Isaku Yamahata
---
ryu/app/rest.py | 36 ++--
1 file changed, 22 insertions(+), 14 deletions(-)
diff --git a/ryu/app/rest.py b/ryu/app/rest.py
in
For tunnel application and generally, it is necessary to associate
configurations to each switches. Such as tunnel port ip address for each
switches.
So introduce a helper class to manage those configurations.
Signed-off-by: Isaku Yamahata
---
Changes v4 -> v5:
- commit message
Changes v1 -> v2:
Signed-off-by: Isaku Yamahata
---
Changes:
- drop unused code
---
ryu/lib/ovs/bridge.py | 165 +
1 file changed, 165 insertions(+)
create mode 100644 ryu/lib/ovs/bridge.py
diff --git a/ryu/lib/ovs/bridge.py b/ryu/lib/ovs/bridge.py
new file mode 1
Signed-off-by: Isaku Yamahata
---
bin/ryu-client | 10 ++
1 file changed, 10 insertions(+)
diff --git a/bin/ryu-client b/bin/ryu-client
index e121f61..04fec26 100755
--- a/bin/ryu-client
+++ b/bin/ryu-client
@@ -21,6 +21,7 @@ from optparse import OptionParser
from ryu.app.client imp
Signed-off-by: Isaku Yamahata
---
Changes v4 -> v5:
- drop unused code
- default argument to VSCtlCommand.__init__(args)
- AttributeError
ovs/vsctl: AttributeError
commands = [vsctl.VSCtlCommand('add-br', ['br2']),
vsctl.VSCtlCommand('list-br', [])]
self.vsctl.run_command(commands)
Signed-off-by: Isaku Yamahata
---
Changes v2 -> v3:
- de-GRE
---
ryu/app/client.py | 46 ++
1 file changed, 46 insertions(+)
diff --git a/ryu/app/client.py b/ryu/app/client.py
index b8e5096..de74357 100644
--- a/ryu/app/client.py
+++ b/ryu/app/client
- fix path to 'networks'
- list_macs() must return string object, not implicit None
Signed-off-by: Isaku Yamahata
---
ryu/app/client.py | 31 +++
1 file changed, 23 insertions(+), 8 deletions(-)
diff --git a/ryu/app/client.py b/ryu/app/client.py
index fcf1283..b8e5
- helper functions and event generator for gre tunnel
- plug events for gre tunnel app
Signed-off-by: Isaku Yamahata
---
Changes v4 -> v5:
- use tunnel specific exceptions
---
ryu/controller/tunnels.py | 210 +
1 file changed, 210 insertions(+)
creat
Later ryu passes/drops packets from the port based on mac address.
Signed-off-by: Isaku Yamahata
---
bin/ryu-client |6 +-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/bin/ryu-client b/bin/ryu-client
index dc1f697..20eeff6 100755
--- a/bin/ryu-client
+++ b/bin/ryu-client
- Factor out from network.py the logic to track network and dpid
- introduce class Port to allow other info
Later we'll track mac address associated to port. So allow intermediate
layer to contain infos related to Port.
- make network track mac address associated to port
- generate events
Sign
Sometimes client code just wants to ignore 404 when deleting resources.
So provide helper function for it.
Signed-off-by: Isaku Yamahata
---
ryu/app/client.py | 13 +
1 file changed, 13 insertions(+)
diff --git a/ryu/app/client.py b/ryu/app/client.py
index d54fe44..fcf1283 100644
Now REST API is enhanced. So factor out reset client code such that
it affords extension.
Signed-off-by: Isaku Yamahata
---
ryu/app/client.py | 53 +++--
1 file changed, 31 insertions(+), 22 deletions(-)
diff --git a/ryu/app/client.py b/ryu/app/
This patch adds new port type for reserved port and vport-gre.
They will be used later. Via this REST API, ryu knows which port is used
for gre or reserved port.
Signed-off-by: Isaku Yamahata
---
ryu/app/rest_nw_id.py | 20 +++-
1 file changed, 19 insertions(+), 1 deletion(-)
This is version 5 of GRE tunnel support, which is greatly simplified
from the previous version.
The conversion of quantum_adapter is next phase TODO.
Changes v4 -> v5:
- dropped unnecessary patches
- eliminated unused code of vsctl, ovsbridge
- addressed review
Changes v3 -> v4:
- minor bug fixe
Via this API, ryu knows that what mac address is associated with the port.
So ryu can pass/drop packets from the port.
Signed-off-by: Isaku Yamahata
---
ryu/app/rest.py | 71 +++
1 file changed, 66 insertions(+), 5 deletions(-)
diff --git a/
2012/11/8 Simon Horman :
> On Thu, Nov 08, 2012 at 12:15:44PM +0900, OHMURA Kei wrote:
>> 2012/11/8 Simon Horman :
>> > On Thu, Nov 08, 2012 at 07:01:45AM +0900, OHMURA Kei wrote:
>> >> 2012/11/7 FUJITA Tomonori :
>> >> > On Wed, 7 Nov 2012 21:25:43 +0900
>> >> > OHMURA Kei wrote:
>> >> >
>> >> >
31 matches
Mail list logo