Data Transformation

DSEMAN~1_img27

Filtering Rules:

In this case we are only processing using fields where the topo.endpoint-ref has two field on the list and topo.topo-layer has physical-link layer on the field.

 

JSON Field

API Field

API Example

JSON Value

Comments

componentacmlinkedkey

topo.fdn

MD=CISCO_EPNM!ND=Teletalk-MOU0012….

ND=Teletalk-MOU0012

Extract out NE Linked Key

componentzcmlinkedkey

topo.fdn

MD=CISCO_EPNM!ND=FENCHUGANJ-N55A2-PE01…

ND=FENCHUGANJ-N55A2-PE01

Extract out NE Linked Key






portaname

topo.fdn

… TenGigabitEthernet0/0

TenGigabitEthernet0/0

Extract out port name

portzname

topo.fdn

… GigabitEthernet0/0/0/4

GigabitEthernet0/0/0/4

Extract out port name

portakind

NA


outer


portzkind

NA


outer


technique

NA

NA

ethernet


capacity

topo.total-capacity

1, 10 , 40 or 100

Using the DSE Manager Rate Mapping Function on general Config.

1 – 1GigEthernet

10- 10GigEthernet

40 – 40GigEthernet

100 – 100GigEthernet

Will need to create these ethernet rates in CM Library

operationtype

topo.direction

com:bi-direction

Duplex

Map bi-direction to Duplex

name

topo.discovered-name

FENCHUGANJ-N55A2-PE01_GigabitEthernet0/0/0/4:Teletalk-MOU0012_TenGigabitEthernet0/0

FENCHUGANJ-N55A2-PE01_0/0/0/4:Teletalk-MOU0012_0/0


cmlinkedkey

topo.fdn

MD=CISCO_EPNM!TL=FENCHUGANJ-N55A2-PE01_GigabitEthernet0/0/0/4:Teletalk-MOU0012_TenGigabitEthernet0/0

FENCHUGANJ-N55A2-PE01_0/0/0/4:Teletalk-MOU0012_0/0


Operational-State

topo.oper-state

com:oper-state-up

UP

String match for UP or DOWN

Admin-State

topo.admin-state

com:oper-state-up

DOWN

String match for UP or DOWN