# Revision history [back]

You can create an YANG module which augments the network-topology data tree with a leaf for the link's cost.

Create a yang file like this on your provider plugin:

module link-cost{
/* put all the required things for a module here like namespace and revision */