public icon indicating copy to clipboard operation
public copied to clipboard

Incorrect pattern for area-address in isis

Open nikhil2553 opened this issue 7 years ago • 1 comments

pattern for area-address type defined in https://github.com/openconfig/public/blob/master/release/models/isis/openconfig-isis-types.yang seems incorrect. It is enforcing an extra dot '.' to be present in the end (eg '49.0001.').

typedef area-address { type string { pattern '^[0-9A-Fa-f]{2}.([0-9A-Fa-f]{4}.){0,3}$'; } description "This type defines the ISIS area address."; }

Couple of more questions-

  1. Maximum length allowed here seems be 7 bytes instead of 13 bytes.
  2. This pattern doesn't allow for even byte area-addresses (eg- 4900.1111)

nikhil2553 avatar Jun 06 '18 08:06 nikhil2553

This issue is stale because it has been open 180 days with no activity. If you wish to keep this issue active, please remove the stale label or add a comment, otherwise will be closed in 14 days.

github-actions[bot] avatar Jun 25 '24 02:06 github-actions[bot]