X_ifAlias attribute not updating after update action on device model in CA Spectrum 10.2.x

Document ID : KB000094116
Last Modified Date : 18/04/2019
Show Technical Document Details
Issue:
The internal X_ifAlias attribute for an interface model is not updating with the value of the external ifAlias attribute after running update action=0x10411 on the device model.
Environment:
Spectrum 10.2.x
Cause:
The CLI output below shows what is happening. The first command shows the value of ifAlias and X_ifAlias on the interface before the update action:
 
./show attributes attr=0x11f7e attr=0x13224 mh=0x313e9bd
Id      Name    Iid                                               Value
0x11f7e ifAlias PRI-A_BT_L2TP_01424423073_01424423073_01424423073 Venue:1176 Slo
0x13224 X_ifAlias

The next 3 commands walk up the HASPART association to find the device model handle:
 
./show parents rel=HASPART mh=0x313e9bd
MHandle   MName                            MTypeHnd MTypeName    Relation
0x313e9bc pprt011760001_AT0/0/0            0x220011 Gen_IF_Port  HASPART

./show parents rel=HASPART mh=0x313e9bc
MHandle   MName                            MTypeHnd MTypeName    Relation
0x313e9bb pprt011760001_AT0/0/0-adsl       0x220011 Gen_IF_Port  HASPART
0x313e9c3 pprt011760001_ADSL/VDSL over POT 0xc40092 EntityModule HASPART

./show parents rel=HASPART mh=0x313e9bb
MHandle   MName                            MTypeHnd MTypeName    Relation
0x313e988 pprt011760001                    0x21000c Rtr_Cisco    HASPART
 

The next command executes the update action 0x10411 on the device model:
 
./update action=0x10411 mh=0x313e988
update action: successful
Response has 0 attributes:

The final command shows that the value of X_ifAlias has not updated for the interface. Note that it has updated for other interfaces of this device:
./show attributes attr=0x11f7e attr=0x13224 mh=0x313e9bd
Id      Name                                                      Iid        Value
0x11f7e ifAlias PRI-A_BT_L2TP_01424423073_01424423073_01424423073 Venue:1176 Slo
0x13224 X_ifAlias

The root cause of this is that Component OID and ifIndex are different for some interfaces.
Resolution:
The fix is in Release 10.3.0 and later versions of Spectrum:
 

Symptom: X_ifAlias of interface does not get updated after the update action because the component oid and ifindex are different for some interfaces. 

Resolution: Updating x_ifalias by comparing ifindex of ports.

(10.3.0, DE350851, 00978186) 

Additional Information:
https://docops.ca.com/ca-spectrum/10-3-0/en/release-information/issues-resolved