brintos

brintos / linux-shallow public Read only

0
0
Text · 3.3 KiB · 86ba9ac Raw
176 lines · yaml
1# SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause)2 3name: ovs_vport4version: 25protocol: genetlink-legacy6uapi-header: linux/openvswitch.h7 8doc:9  OVS vport configuration over generic netlink.10 11definitions:12  -13    name: ovs-header14    type: struct15    members:16      -17        name: dp-ifindex18        type: u3219  -20    name: vport-type21    type: enum22    enum-name: ovs-vport-type23    name-prefix: ovs-vport-type-24    entries: [ unspec, netdev, internal, gre, vxlan, geneve ]25  -26    name: vport-stats27    type: struct28    enum-name: ovs-vport-stats29    members:30      -31        name: rx-packets32        type: u6433      -34        name: tx-packets35        type: u6436      -37        name: rx-bytes38        type: u6439      -40        name: tx-bytes41        type: u6442      -43        name: rx-errors44        type: u6445      -46        name: tx-errors47        type: u6448      -49        name: rx-dropped50        type: u6451      -52        name: tx-dropped53        type: u6454 55attribute-sets:56  -57    name: vport-options58    enum-name: ovs-vport-options59    name-prefix: ovs-tunnel-attr-60    attributes:61      -62        name: dst-port63        type: u3264      -65        name: extension66        type: u3267  -68    name: upcall-stats69    enum-name: ovs-vport-upcall-attr70    name-prefix: ovs-vport-upcall-attr-71    attributes:72      -73        name: success74        type: u6475        value: 076      -77        name: fail78        type: u6479  -80    name: vport81    name-prefix: ovs-vport-attr-82    enum-name: ovs-vport-attr83    attributes:84      -85        name: unspec86        type: unused87        value: 088      -89        name: port-no90        type: u3291      -92        name: type93        type: u3294        enum: vport-type95      -96        name: name97        type: string98      -99        name: options100        type: nest101        nested-attributes: vport-options102      -103        name: upcall-pid104        type: binary105        sub-type: u32106      -107        name: stats108        type: binary109        struct: vport-stats110      -111        name: pad112        type: unused113      -114        name: ifindex115        type: u32116      -117        name: netnsid118        type: u32119      -120        name: upcall-stats121        type: nest122        nested-attributes: upcall-stats123 124operations:125  name-prefix: ovs-vport-cmd-126  list:127    -128      name: new129      doc: Create a new OVS vport130      attribute-set: vport131      fixed-header: ovs-header132      do:133        request:134          attributes:135            - name136            - type137            - upcall-pid138            - ifindex139            - options140    -141      name: del142      doc: Delete existing OVS vport from a data path143      attribute-set: vport144      fixed-header: ovs-header145      do:146        request:147          attributes:148            - port-no149            - type150            - name151    -152      name: get153      doc: Get / dump OVS vport configuration and state154      attribute-set: vport155      fixed-header: ovs-header156      do: &vport-get-op157        request:158          attributes:159            - name160        reply: &dev-all161          attributes:162            - port-no163            - type164            - name165            - upcall-pid166            - stats167            - ifindex168            - netnsid169            - upcall-stats170      dump: *vport-get-op171 172mcast-groups:173  list:174    -175      name: ovs_vport176