Hi,

the module ietf-packet-fields.yang in draft-ietf-netmod-acl-model-03
still has the problem that I discovered in the previous revision:

- Containers "source-port-range" and "destination-port-range" are both
  mandatory because the child leaf "lower-port" in each is mandatory. I
  think this wasn't intended. One solution would be to make both of them
  containers with presence.

(see
https://mailarchive.ietf.org/arch/msg/netmod/ShROtXH7aMNDs5HoIiTUa99X0JY)

Even though the tree in sec. 3.1 displays "lower-port" as optional, in
reality ietf-packet-fields.yang still has this leaf as "mandatory true;"
in both "source-port-range" and "destination-port-range".

Lada

-- 
Ladislav Lhotka, CZ.NIC Labs
PGP Key ID: E74E8C0C

_______________________________________________
netmod mailing list
netmod@ietf.org
https://www.ietf.org/mailman/listinfo/netmod

Reply via email to