Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions ryu/app/simple_isolation.py
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ def packet_in_handler(self, ev):

# When NW_ID_UNKNOWN is found, registering ports might be delayed.
# So just drop only this packet and not install flow entry.
# It is expected that when next packet arrives, the port is registers
# It is expected that when next packet arrives, the port is registered
# with some network id

if port_nw_id != NW_ID_EXTERNAL and port_nw_id != NW_ID_UNKNOWN:
Expand Down Expand Up @@ -267,7 +267,7 @@ def packet_in_handler(self, ev):

def _port_add(self, ev):
#
# delete flows entries that matches with
# delete flow entries that matches with
# dl_dst == broadcast/multicast
# and dl_src = network id if network id of this port is known
# to send broadcast packet to this newly added port.
Expand All @@ -284,7 +284,7 @@ def _port_add(self, ev):

def _port_del(self, ev):
# free mac addresses associated to this VM port,
# and delete related flow entries for later reuse of mac address
# and delete related flow entries for later reuse of the mac address

dps_needs_barrier = set()

Expand Down
2 changes: 1 addition & 1 deletion ryu/app/simple_switch.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
LOG = logging.getLogger('ryu.app.simple_switch')

# TODO: we should split the handler into two parts, protocol
# independent and dependant parts.
# independent and dependent parts.

# TODO: can we use dpkt python library?

Expand Down