![]() ![]() Which would explain why i always have to restart my nodes, before the command 'curl' works. I went to Wireshark to figure out what is the problem and i think its because of TCP retransmissions. ![]() I have to restart my nodes and the commands works, but my load balancing isn't working. Self.add_flow(datapath, 20, match, actions) ![]() Match = parser.OFPMatch(in_port=server_out_port, eth_type=ETH_TYPE_IP,Īctions = [parser.OFPActionSetField(ipv4_src=self.VIRTUAL_IP), # If you hit this you might want to increase Mod = parser.OFPFlowMod(datapath=datapath, priority=priority, Mod = parser.OFPFlowMod(datapath=datapath, buffer_id=buffer_id, Inst = [parser.OFPInstructionActions(ofproto.OFPIT_APPLY_ACTIONS, Self.add_flow(datapath, 0, match, actions)ĭef add_flow(self, datapath, priority, match, actions, buffer_id=None): The bug has been fixed in OVS v2.1.0.Īctions = [parser.OFPActionOutput(ofproto.OFPP_CONTROLLER, # 128, OVS will send Packet-In with invalid buffer_id and At this moment, if we specify a lesser number, e.g., # We specify NO BUFFER to max_len of the output action due to Super(SimpleSwitch13, self)._init_(*args, **kwargs) ![]() Here's the script for the Load Blancing : from ryu.base import app_managerįrom import CONFIG_DISPATCHER, MAIN_DISPATCHERįrom import set_ev_clsįrom _types import ETH_TYPE_IPĬlass SimpleSwitch13(app_manager.RyuApp): (so in total 3 VMs => Mininet, Noeud1, Noeud2) Now i am trying to include Load Balancing between two of my nodes, "noeud1" and "noeud2" which are both VMs outside of my mininet network. H2.cmdPrint('dhclient '+h2.defaultIntf().name) H1.cmdPrint('dhclient '+h1.defaultIntf().name) Net.addController(name='RYU', controller=RemoteController) Im using Ryu controller and my mininet hosts can communicate with Internet, here's the script that im using : #!/usr/bin/pythonįrom mininet.node import Controller, RemoteController, OVSSwitchįrom mininet.log import setLogLevel, info ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |