Subject: [netmod] OSPF interfaces

From: Ladislav Lhotka <[email-masked]>
Date: Wed, 5 Mar 2014 15:44:36 +0000

Hi Derek,

one comment to your OSPF module: in the configuration of interfaces (inside an area), you should not use the type "if:interface-ref" for the “interface” leaf because you have to make sure that only interfaces belonging to the same routing instance are used. So the definition should be something like

leaf interface {
  type leafref {
    path “../…/../rt:interfaces/rt:interface/rt:name”;
  }
}

(I am too lazy to count how many double-dots are actually needed;-).

The leaf “te-rid” is the same case.

Lada

--
Ladislav Lhotka, CZ.NIC Labs
PGP Key ID: E74E8C0C