Re: [Ryu-devel] Creating a LAG in Ryu

2015-03-30 Thread YAMAMOTO Takashi
> Hello All, > > I want to create a LAG using Ryu. I came across this code. However, this is > for aggregation using LACP only. > > Is there a way to create LAG without LACP(like in Round robin mode or > active-passive mode) do you mean, without any controlling protocols like lacp? how about har

[Ryu-devel] Creating a LAG in Ryu

2015-03-27 Thread Sandesh Shrestha
Hello All, I want to create a LAG using Ryu. I came across this code. However, this is for aggregation using LACP only. Is there a way to create LAG without LACP(like in Round robin mode or active-passive mode) def add(self, dpid, ports): # ... assert isinstance(ports, list) assert

[Ryu-devel] creating a LAG in Ryu

2015-03-27 Thread Sandesh Shrestha
Hello All, I want to create a LAG using Ryu. I came across this code. def add(self, dpid, ports): # ... assert isinstance(ports, list) assert 2 <= len(ports) ifs = {} for port in ports: ifs[port] = {’enabled’: False, ’timeout’: 0} bond = {} bond[dpid] = ifs self._bonds.append(bond) --