[netconf] draft-ietf-netconf-udp-notif encoding option

Andy Bierman <andy@yumaworks.com> Thu, 19 November 2020 04:07 UTC

Return-Path: <andy@yumaworks.com>
X-Original-To: netconf@ietfa.amsl.com
Delivered-To: netconf@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id D394C3A09EE for <netconf@ietfa.amsl.com>; Wed, 18 Nov 2020 20:07:14 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.888
X-Spam-Level:
X-Spam-Status: No, score=-1.888 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, SPF_HELO_NONE=0.001, T_SPF_PERMERROR=0.01] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=yumaworks-com.20150623.gappssmtp.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 4FYP9yxEQKo3 for <netconf@ietfa.amsl.com>; Wed, 18 Nov 2020 20:07:13 -0800 (PST)
Received: from mail-lj1-x233.google.com (mail-lj1-x233.google.com [IPv6:2a00:1450:4864:20::233]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 14E163A0A08 for <netconf@ietf.org>; Wed, 18 Nov 2020 20:07:12 -0800 (PST)
Received: by mail-lj1-x233.google.com with SMTP id p12so4757382ljc.9 for <netconf@ietf.org>; Wed, 18 Nov 2020 20:07:12 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yumaworks-com.20150623.gappssmtp.com; s=20150623; h=mime-version:from:date:message-id:subject:to; bh=EqkFUGiACKSkEVNz8hwcnnM9gI1IsngBewZ99hiNitw=; b=CTuHFXzF09PiaP49h3uhlD9HYELKdMnDcH2DZtM8j3JXxdHM0B1SGdY7qE2HtfIGGv fXCiW9tDalNDgjxCv5ZVBfDLeH4lePO2wT5Ar2Ww3Xw1mOqIixgQXtCChkdga7phTvZO KHw76oiCS1Q+bLKgAIBinBrQpD1F/SRMWrFoSUHuysPTYau1SudgOatXOFlWe2RvcmLv F1fWl55nRAASMv+yCIogGdjhwzRlSfDkQI/LRviCnvQgdsqCGv6XVOzjU46/S5UdxIZG Ok58l+JQjtLkYCKlcyE9xHnB7+L2jtk0OS9BAP+UTZ6gEe5BVsh5rae2nStbebauKBob 6Jiw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=EqkFUGiACKSkEVNz8hwcnnM9gI1IsngBewZ99hiNitw=; b=UZR8PbCdMQorD56mQKqf0YIGfS3ctSj5aXNOgF8AKbrGEOWnfHZ9kJhU/TWFo5bIn2 pYDpWb8xskSBHKEYqYC5Y+dOKC2CNTjv0rsTM1vJ5e4qhAX2fLXo+E1Ga9k8KGEjL0fT GpUIp97FL1rr+YwlBIQzGa6z40/vdzmiaasqeZeZ1qyjXoVLOi5c/Jp/8gmq6RRkcg38 eYXj/WyDKmIGoP4dmZl4MlYy3vb5yz8b/ZL/aFg12CKtZW9BPEd8xHpnyi2b0xjN2VA0 2sg+eb0TMVXbkH34j4B3gClDl7zdIpQ8eH9cHuExYjgbdL8JW37ltRFVPg6u9p7IRAox bDTg==
X-Gm-Message-State: AOAM5319vGSrpvivFCCEfYfbvC8zNZbzOG1myaPFIkEwI55XQYckLI+5 einIK05+td1loEingSGYM6w7DutXOlRq8tXUAuYxht4FpJcINA==
X-Google-Smtp-Source: ABdhPJzvnRNCQiD56CfjnQSwxHeHwBisBpZQBA31L/r1wnOFwOO83/1PgvpMTErRjnOfc78K3sYtIaa5Q2qwR38ZZSE=
X-Received: by 2002:a05:651c:2111:: with SMTP id a17mr5492718ljq.220.1605758830830; Wed, 18 Nov 2020 20:07:10 -0800 (PST)
MIME-Version: 1.0
From: Andy Bierman <andy@yumaworks.com>
Date: Wed, 18 Nov 2020 20:07:00 -0800
Message-ID: <CABCOCHSitc8n5Mv4iFzPig8msoJHJ7dTq2xiK-x5oL7boguD6Q@mail.gmail.com>
To: Netconf <netconf@ietf.org>
Content-Type: multipart/alternative; boundary="000000000000b5034605b46ddc14"
Archived-At: <https://mailarchive.ietf.org/arch/msg/netconf/K2rd2MAg63L5nNdavBIFP8ac3O0>
Subject: [netconf] draft-ietf-netconf-udp-notif encoding option
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: NETCONF WG list <netconf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/netconf>, <mailto:netconf-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/netconf/>
List-Post: <mailto:netconf@ietf.org>
List-Help: <mailto:netconf-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netconf>, <mailto:netconf-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 19 Nov 2020 04:07:15 -0000

Hi,

There was a suggestion to assign an encoding enumeration to
represent "other".  I think this could work, if it meant that the
receiver should check the options for an "Encoding ID Option",

  Type = to be assigned
  Length = 2 + length of variable data
  Variable data = some string identifying the encoding type

IMO this allows a good balance between message size and interoperability,
and it is very extensible.


Andy