TAPI icon indicating copy to clipboard operation
TAPI copied to clipboard

Specify valid Name Types for ServiceInterfacePoint

Open karthik-sethuraman opened this issue 8 years ago • 1 comments

In TAPI, the NameAndValue is currently being used as "KeyAndValue" - the valueName attribute of the data-type is specified to be object key.

  • So it would make sense to refactor the attribute "valueName" to "nameType"
  • Make the type of "key" attribute to be an extensible enumeration NameType
  • use the following initial values for the NameType enum - [IPV4, IPV6, MAC, TNA, LFID, LABEL, TID, TE_ID, NODEID]

karthik-sethuraman avatar Jan 31 '17 13:01 karthik-sethuraman

_TAPI Call 6/6/2017: _ - Noted that since this is a common data type used by all TAPI classes, the valid/applicable list of enum literals would be constrained by the usage (specific to class type it is being applied). So we need to define this as an extensible base enumeration type NameType and create specific extensions per usage class type, e.g. NodeNameType, ServiceInterfacePointNameType, etc

karthik-sethuraman avatar Jun 07 '17 22:06 karthik-sethuraman

This issue has been closed due to the lack of activity for more than one year. Please reopen it if follow up is necessary.

amazzini avatar Mar 20 '24 17:03 amazzini