cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2946
Views
4
Helpful
8
Replies

how can I add interfaces details on link

aakapoor
Level 1
Level 1

how can I add interfaces details on link both sides

8 Replies 8

aaikepae
Cisco Employee
Cisco Employee

Hey,

Can you describe more about this. And here are two examples you can refer.

http://codepen.io/NEXTSUPPORT/pen/yORLBr?editors=0010

http://codepen.io/NEXTSUPPORT/pen/LNgYER

Abu

In your second example on link between SJC-1 and SJC-2, one side is labeled 3500 and other is 5500.

how can I change it to e5/2 on one side and e3/4 on other and using link property.

The link property is also used to describe additional information about the link such as interface/bandwidth/link type.

you can change this two any properties in configuration, that from your link data, like 'model.sourceInterface' or 'model.linkBandwidth' etc

sourcelabel: 'model.srcTrafficMap.Default.EMPTYQUEUE',

targetlabel: 'model.tgtTrafficMap.Default.EMPTYQUEUE'

What is the significance of EMPTYQUEUE? Is it a reserved word?

There's no importance. That's just a part of example above. What follows "model." is 100% up to you.

Works as advertised, thanks

a.alhamali931
Level 1
Level 1

This doesn't seem to work if one of the nodes is inside a nodeset. Why is that?

Hi Abdul Rahman,

I looked into your issue. I believe that was normal behavior, because the nodes were hidden inside the node set, which prevents any additional info to be shown. (Otherwise, there could have been way too many labels, overlaying each other...) Once you expand the node set, the interface details show up -- which makes sense, because at the same time you can see both a node and the label.

I hope that makes sense; however I would really appreciate if you provide more details on expected behavior.

Thanks,

Alex