Hi,

 I am experimenting with ovs-vswitchd 1.3 and noticed the following behavior:

 The flow mod on the wire (captured using wireshark) has the priority 16384. 
But the flow is installed with a priority of 65535.

 I am using nox version on destiny branch.

 Below is the log of packet on wire and flow mod seen using "ovs-vsctl 
bridge/dump-flows br0" Additionally the priority column is printed twice (while 
the input vlan id isn't)





OpenFlow Protocol
    Header
        Version: 0x01
        Type: Flow Mod (CSM) (14)
        Length: 80
        Transaction ID: 2684371126
    Flow Modification
        Match
            Match Types
                .... .... .... .... .... .... .... ...0 =   Input port: Exact 
(0)
                .... .... .... .... .... .... .... ..0. =   VLAN ID: Exact (0)
                .... .... .... .... .... .... .... .0.. =   Ethernet Src Addr: 
Exact (0)
                .... .... .... .... .... .... .... 0... =   Ethernet Dst Addr: 
Exact (0)
                .... .... .... .... .... .... ...0 .... =   Ethernet Type: 
Exact (0)
                .... .... .... .... .... .... ..0. .... =   IP Protocol: Exact 
(0)
                .... .... .... .... .... .... .0.. .... =   TCP/UDP Src Port: 
Exact (0)
                .... .... .... .... .... .... 0... .... =   TCP/UDP Dst Port: 
Exact (0)
                .... .... .... .... ..00 0000 .... .... =   IP Src Addr Mask: 
/32 (0)
                .... .... .... 0000 00.. .... .... .... =   IP Dst Addr Mask: 
/32 (0)
                .... .... ...0 .... .... .... .... .... =   VLAN priority: 
Exact (0)
                .... .... ..0. .... .... .... .... .... =   IPv4 DSCP: Exact (0)
            Input Port: 2
            Ethernet Src Addr: aa:aa:aa:aa:aa:aa (aa:aa:aa:aa:aa:aa)
            Ethernet Dst Addr: 93:93:93:93:93:93 (93:93:93:93:93:93)
            Input VLAN ID: 65535
            Input VLAN priority: 0
            Ethernet Type: IP (0x0800)
            IPv4 DSCP: 0
            Protocol: UDP (0x11)
            IP Src Addr: 192.168.1.1 (192.168.1.1)
            IP Dst Addr: 192.168.1.2 (192.168.1.2)
            TCP/UDP Src Port: domain (53)
            TCP/UDP Dst Port: 33792 (33792)
        Cookie: 0x0000000000000000
        Command: New flow (0)
        Idle Time (sec) Before Discarding: 5
        Max Time (sec) Before Discarding: 0
        Priority: 16384
        Buffer ID: 480488
        Out Port (delete* only): 0
        Flags
            .... .... .... ...1 = Send flow removed: Yes (1)
            .... .... .... ..0. = Check for overlap before adding flow: No (0)
            .... .... .... .0.. = Install flow into emergecy flow table: No (0)
        Output Action(s)
            Action
                Type: Output to switch port (0)
                Len: 8
                Output port: Local  (local openflow "port")
                Max Bytes to Send: 0
            # of Actions: 1









duration=5s, priority=65535, n_packets=1, n_bytes=115, 
priority=65535,udp,in_port=2,vlan_tci=0x0000,dl_src=aa:aa:aa:aa:aa:aa,dl_dst=93:93:93:93:93:93,
nw_src=192.168.1.1,nw_dst=192.168.1.2,nw_tos=0,tp_src=53,tp_dst=33792,actions=LOCAL



Thanks,
_______________________________________________
discuss mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/discuss

Reply via email to