Hi Martin,
One quick comment on this one:
leaf type {
type uint8;
mandatory true;
description
"High-order Type of the community. Supported values are 0
(0x00) for Transitive Two-Octet AS-Specific Extended
Communities, 2 (0x02) for Transitive Four-Octet
AS-Specific Extended Communities, 64 (0x40) for
Non-Transitive Two-Octet AS-Specific Extended Communities
and 66 (0x42) for Non-Transitive Four-Octet AS-Specific
Extended Communities.";
}
Some restriction on the allowed values is needed here. If this is a definite
list, then a range or enumeration may be appropriate.
Alternatively, if we think that future AS-specific values can be defined in the
future, rather than having something frozen in the module itself, you may
consider defining an IANA-maintained module that will be based on
https://www.iana.org/assignments/bgp-extended-communities/bgp-extended-communities.xhtml#transitive
and
https://www.iana.org/assignments/bgp-extended-communities/bgp-extended-communities.xhtml#non-transitive
filtered to include only AS-specific values. The value of this approach is
that we can use these new values without having to modify an RFC :-)
Cheers,
Med (as contributor)
> -----Message d'origine-----
> De : Martin Pels <[email protected]>
> Envoyé : jeudi 26 juin 2025 09:38
> À : [email protected]
> Objet : [GROW] Re: I-D Action: draft-ietf-grow-yang-bgp-communities-
> 05.txt
>
>
> Hi list,
>
> Here is a summary of the changes compared to 04:
>
> - Incorporated feedback from the early Yangdoctors review by
> Ladislav Lhotka
> - Using the field value as field-description is now an explicit
> option instead of the default. This lets parsers hide fields when no
> description is set (see the extended community example in Appendix
> A.2).
> - Changed the model to read-only (config:false)
> - Expanded the Security considerations section based on draft-ietf-
> netmod-rfc8407bis, section 3.7
>
> Kind regards,
> Martin
>
> On 26/06/2025 09:23, [email protected] wrote:
> > Internet-Draft draft-ietf-grow-yang-bgp-communities-05.txt is now
> available.
> > It is a work item of the Global Routing Operations (GROW) WG of
> the IETF.
> >
> > Title: A YANG Data Model for BGP Communities
> > Author: Martin Pels
> > Name: draft-ietf-grow-yang-bgp-communities-05.txt
> > Pages: 26
> > Dates: 2025-06-26
> >
> > Abstract:
> >
> > This document defines a YANG data model for the structured
> > specification of BGP communities. The model provides
> operators with
> > a way to publish their locally defined BGP communities in a
> > standardized format.
> >
> > The IETF datatracker status page for this Internet-Draft is:
> >
> https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fda
> ta
> > tracker.ietf.org%2Fdoc%2Fdraft-ietf-grow-yang-bgp-
> communities%2F&data=
> >
> 05%7C02%7Cmohamed.boucadair%40orange.com%7C67d6501798854eabf90508ddb
> 48
> >
> 4782d%7C90c7a20af34b40bfbc48b9253b6f5d20%7C0%7C0%7C63886520321821340
> 8%
> >
> 7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIs
> Il
> >
> AiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&sdata=LA
> Hx
> > NvCG5ByaKcpVBaimBrktNrPfVNbSHgIw8FLNXnI%3D&reserved=0
> >
> > There is also an HTML version available at:
> >
> https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fww
> w.
> > ietf.org%2Farchive%2Fid%2Fdraft-ietf-grow-yang-bgp-communities-
> 05.html
> >
> &data=05%7C02%7Cmohamed.boucadair%40orange.com%7C67d6501798854eabf90
> 50
> >
> 8ddb484782d%7C90c7a20af34b40bfbc48b9253b6f5d20%7C0%7C0%7C63886520321
> 82
> >
> 57614%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMD
> Aw
> >
> MCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&sd
> at
> > a=1PUo10MNKaHBEfXgwucK3M08TFmuFDaQDNi1fKcjois%3D&reserved=0
> >
> > A diff from the previous version is available at:
> >
> https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fau
> th
> > or-tools.ietf.org%2Fiddiff%3Furl2%3Ddraft-ietf-grow-yang-bgp-
> communiti
> > es-
> 05&data=05%7C02%7Cmohamed.boucadair%40orange.com%7C67d6501798854eab
> >
> f90508ddb484782d%7C90c7a20af34b40bfbc48b9253b6f5d20%7C0%7C0%7C638865
> 20
> >
> 3218284576%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwL
> jA
> >
> uMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%
> 7C
> >
> &sdata=%2FBu7eRb5tHbpOzERA6FG%2F77Ydhw3tWIb0HWzPvLM0bI%3D&reserved=0
> >
> > Internet-Drafts are also available by rsync at:
> > rsync.ietf.org::internet-drafts
> >
> >
> > _______________________________________________
> > GROW mailing list -- [email protected]
> > To unsubscribe send an email to [email protected]
>
> _______________________________________________
> GROW mailing list -- [email protected]
> To unsubscribe send an email to [email protected]
____________________________________________________________________________________________________________
Ce message et ses pieces jointes peuvent contenir des informations
confidentielles ou privilegiees et ne doivent donc
pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce
message par erreur, veuillez le signaler
a l'expediteur et le detruire ainsi que les pieces jointes. Les messages
electroniques etant susceptibles d'alteration,
Orange decline toute responsabilite si ce message a ete altere, deforme ou
falsifie. Merci.
This message and its attachments may contain confidential or privileged
information that may be protected by law;
they should not be distributed, used or copied without authorisation.
If you have received this email in error, please notify the sender and delete
this message and its attachments.
As emails may be altered, Orange is not liable for messages that have been
modified, changed or falsified.
Thank you.
_______________________________________________
GROW mailing list -- [email protected]
To unsubscribe send an email to [email protected]