diff --git a/qapi-schema.json b/qapi-schema.json index 83fa485..56eac6d 100644 --- a/qapi-schema.json +++ b/qapi-schema.json @@ -2940,6 +2940,62 @@ '*localaddr': 'str', '*udp': 'str' } } +# @NetdevL2TPv3Options +# +# Connect the VLAN to Ethernet over L2TPv3 Static tunnel +# +# @ipv6: #bool, use ipv6 +# +# @udp: #bool use the udp version of the L2TPv3 encapsulation +# +# @cookie64 : #use 64 bit cookies +# +# @offset : #extra offset +# +# @counter : #have sequence counter +# +# @fd: #optional file descriptor of an already opened socket +# +# @src: #source address +# +# @srcport: #source port - mandatory for udp, optional for ip +# +# @dst: #destination address +# +# @dstport: #destination port - mandatory for udp, optional for ip +# +# @txcookie: #optional 32 or 64 bit tx cookie for the tunnel +# +# @rxcookie: #optional 32 or 64 bit rx cookie for the tunnel +# +# @txsession: #tx 32 bit session +# +# @rxsession: #rx 32 bit session - if unset value for txsession is used +# +# +# Since 1.2 +## +## +{ 'type': 'NetdevL2TPv3Options', + 'data': { + '*fd': 'str', + 'src': 'str', + 'dst': 'str', + '*srcport': 'str', + '*dstport': 'str', + '*ipv6': 'bool', + '*udp': 'bool', + '*cookie64': 'bool', + '*counter': 'bool', + '*txcookie': 'uint64', + '*rxcookie': 'uint64', + 'txsession': 'uint32', + '*rxsession': 'uint32', + '*offset': 'uint32' + +} } + +## ## # @NetdevVdeOptions # @@ -3014,13 +3070,16 @@ # A discriminated record of network device traits. # # Since 1.2 -## +# +# Added in 2.0 - l2tpv3 +# { 'union': 'NetClientOptions', 'data': { 'none': 'NetdevNoneOptions', 'nic': 'NetLegacyNicOptions', 'user': 'NetdevUserOptions', 'tap': 'NetdevTapOptions', + 'l2tpv3': 'NetdevL2TPv3Options', 'socket': 'NetdevSocketOptions', 'vde': 'NetdevVdeOptions', 'dump': 'NetdevDumpOptions',