netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH iproute2-next v2 0/2] ip/tunnel: Unify collect metadata handling
@ 2018-01-22 17:23 Serhey Popovych
  2018-01-22 17:23 ` [PATCH iproute2-next v2 1/2] ip/tunnel: Be consistent when printing tunnel collect metadata Serhey Popovych
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Serhey Popovych @ 2018-01-22 17:23 UTC (permalink / raw)
  To: netdev; +Cc: jbenc, pabeni, u9012063, julien

With this series I want to unify collect metadata
handling in tunnels:

  1) Use "external" name for JSON and non-JSON output.

     Do not *print* any options when tunnel in
     collect metadata mode: gre6 already do
     this, so just apply to others.

  2) Do not *add* any attributes when configuring
     gre tunnel in collect metadata mode.

     Other tunnels (e.g. gre6, iptnl, ip6tnl)
     alredy do that.

This is next step in ipv4 and ipv6 modules
unification to prepare for merge in the future.

Any comments, suggestions and criticism as always
welcome.

v2
  For all tunnels implementing collect metadata
  use "external" keyword for both JSON. Thanks
  to Jiri Benc for detailed explanation.

Thanks,
Serhii

Serhey Popovych (2):
  ip/tunnel: Be consistent when printing tunnel collect metadata
  gre/gre6: Unify attribute addition to netlink buffer

 ip/iplink_geneve.c |    8 +++++---
 ip/iplink_vxlan.c  |   10 ++++++----
 ip/link_gre.c      |   50 ++++++++++++++++++++++++--------------------------
 ip/link_gre6.c     |   15 +++++++++------
 ip/link_ip6tnl.c   |    6 ++++--
 ip/link_iptnl.c    |    6 ++++--
 6 files changed, 52 insertions(+), 43 deletions(-)

-- 
1.7.10.4

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2018-01-24 18:05 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-01-22 17:23 [PATCH iproute2-next v2 0/2] ip/tunnel: Unify collect metadata handling Serhey Popovych
2018-01-22 17:23 ` [PATCH iproute2-next v2 1/2] ip/tunnel: Be consistent when printing tunnel collect metadata Serhey Popovych
2018-01-22 17:23 ` [PATCH iproute2-next v2 2/2] gre/gre6: Unify attribute addition to netlink buffer Serhey Popovych
2018-01-24 18:05 ` [PATCH iproute2-next v2 0/2] ip/tunnel: Unify collect metadata handling David Ahern

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).