I'd have a look in the ovs-vswitchd.conf.db man page which documents the tag and trunks options in the port table. With those, you shouldn't need to mess around with OpenFlow at all.
Ethan On Mon, Jun 18, 2012 at 8:44 PM, YIMIN CHEN <ymchen.n...@gmail.com> wrote: > Hello, > > I am trying to set up 4 VMs on 2 HOSTs running openflow openvswitchs. > > > HOST 1 HOST2 > > VM1 (vlan 1) VM4 (vlan1) > VM2 (vlan 1) > VM3 (vlan 2) > > The goal is to have VM1, VM2, and VM4 be able to talk to each other, > but not VM3. VM ports are access mode, so VMs do not have VLAN > knowledge. > > My question is how to setup openflow flows to achieve these. I can see > the use of SET_VLAN_ID, OUTPUT, STRIP_VLAN_ID actions in this case, > but couldn't figure out how FLOOD_ACTIONS can be used here. Do I need > to configure STP in order to use FLOOD? Will openvswitch automatically > learn which ports to flood in ARP broadcast case? Or I need explicitly > specify which ports to forward for vlan1, etc? > > Thank you! > Yimin > _______________________________________________ > openflow-discuss mailing list > openflow-discuss@lists.stanford.edu > https://mailman.stanford.edu/mailman/listinfo/openflow-discuss _______________________________________________ openflow-discuss mailing list openflow-discuss@lists.stanford.edu https://mailman.stanford.edu/mailman/listinfo/openflow-discuss