public
public copied to clipboard
Incorrect pattern for area-address in isis
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-
- Maximum length allowed here seems be 7 bytes instead of 13 bytes.
- This pattern doesn't allow for even byte area-addresses (eg- 4900.1111)
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.