

def apply_ovs_ipv6_flows(ovs, bridge, params):
    ovs.add('priority=6,in_port=%(OF_PORT)s,dl_src=%(MAC)s,icmp6,ipv6_src=%(IPV6_LINK_LOCAL_ADDR)s,icmp_type=135,nd_sll=%(MAC)s,actions=normal')
    ovs.add('priority=6,in_port=%(OF_PORT)s,dl_src=%(MAC)s,icmp6,ipv6_src=%(IPV6_LINK_LOCAL_ADDR)s,icmp_type=135,actions=normal')
    ovs.add('priority=6,in_port=%(OF_PORT)s,dl_src=%(MAC)s,icmp6,ipv6_src=%(IPV6_GLOBAL_ADDR)s,icmp_type=135,nd_sll=%(MAC)s,actions=normal')
    ovs.add('priority=6,in_port=%(OF_PORT)s,dl_src=%(MAC)s,icmp6,ipv6_src=%(IPV6_GLOBAL_ADDR)s,icmp_type=135,actions=normal')
    ovs.add('priority=6,in_port=%(OF_PORT)s,dl_src=%(MAC)s,icmp6,ipv6_src=%(IPV6_LINK_LOCAL_ADDR)s,icmp_type=136,nd_target=%(IPV6_LINK_LOCAL_ADDR)s,actions=normal')
    ovs.add('priority=6,in_port=%(OF_PORT)s,dl_src=%(MAC)s,icmp6,ipv6_src=%(IPV6_LINK_LOCAL_ADDR)s,icmp_type=136,actions=normal')
    ovs.add('priority=6,in_port=%(OF_PORT)s,dl_src=%(MAC)s,icmp6,ipv6_src=%(IPV6_GLOBAL_ADDR)s,icmp_type=136,nd_target=%(IPV6_GLOBAL_ADDR)s,actions=normal')
    ovs.add('priority=6,in_port=%(OF_PORT)s,dl_src=%(MAC)s,icmp6,ipv6_src=%(IPV6_GLOBAL_ADDR)s,icmp_type=136,actions=normal')
    ovs.add('priority=5,in_port=%(OF_PORT)s,icmp6,icmp_type=135,actions=drop')
    ovs.add('priority=5,in_port=%(OF_PORT)s,icmp6,icmp_type=136,actions=drop')
    ovs.add('priority=5,in_port=%(OF_PORT)s,icmp6,icmp_type=134,actions=drop')
    ovs.add('priority=5,in_port=%(OF_PORT)s,icmp6,icmp_type=137,actions=drop')
    ovs.add('priority=5,in_port=%(OF_PORT)s,icmp6,icmp_type=146,actions=drop')
    ovs.add('priority=5,in_port=%(OF_PORT)s,icmp6,icmp_type=147,actions=drop')
    ovs.add('priority=5,in_port=%(OF_PORT)s,icmp6,icmp_type=151,actions=drop')
    ovs.add('priority=5,in_port=%(OF_PORT)s,icmp6,icmp_type=152,actions=drop')
    ovs.add('priority=5,in_port=%(OF_PORT)s,icmp6,icmp_type=153,actions=drop')
    ovs.add('priority=4,in_port=%(OF_PORT)s,dl_src=%(MAC)s,ipv6_src=%(IPV6_GLOBAL_ADDR)s,icmp6,actions=normal')
    ovs.add('priority=4,in_port=%(OF_PORT)s,dl_src=%(MAC)s,ipv6_src=%(IPV6_LINK_LOCAL_ADDR)s,icmp6,actions=normal')
    ovs.add('priority=4,in_port=%(OF_PORT)s,dl_src=%(MAC)s,ipv6_src=%(IPV6_GLOBAL_ADDR)s,tcp6,actions=normal')
    ovs.add('priority=4,in_port=%(OF_PORT)s,dl_src=%(MAC)s,ipv6_src=%(IPV6_LINK_LOCAL_ADDR)s,tcp6,actions=normal')
    ovs.add('priority=4,in_port=%(OF_PORT)s,dl_src=%(MAC)s,ipv6_src=%(IPV6_GLOBAL_ADDR)s,udp6,actions=normal')
    ovs.add('priority=4,in_port=%(OF_PORT)s,dl_src=%(MAC)s,ipv6_src=%(IPV6_LINK_LOCAL_ADDR)s,udp6,actions=normal')

dataset/ETHPy150Open BU-NU-CLOUD-SP16/Trusted-Platform-Module-nova/plugins/xenserver/networking/etc/xensource/scripts/ovs_configure_vif_flows.py apply_ovs_ipv6_flows/original