diff --git a/holo-protocol/src/test/stub/mod.rs b/holo-protocol/src/test/stub/mod.rs index abd6db01..daf80fef 100644 --- a/holo-protocol/src/test/stub/mod.rs +++ b/holo-protocol/src/test/stub/mod.rs @@ -229,7 +229,7 @@ where let topo_dir = topology_dir::

(topology, router); // Spawn protocol instance. - let mut stub = start_test_instance::

("test").await; + let mut stub = start_test_instance::

("eth-sw1").await; // Push configuration through stub northbound. let path = format!("{}/{}", topo_dir, "config.json"); diff --git a/holo-vrrp/src/northbound/state.rs b/holo-vrrp/src/northbound/state.rs index e9606327..ec3afa2c 100644 --- a/holo-vrrp/src/northbound/state.rs +++ b/holo-vrrp/src/northbound/state.rs @@ -80,8 +80,8 @@ fn load_callbacks() -> Callbacks { // ===== impl Interface ===== impl Provider for Interface { - // TODO - const STATE_PATH: &'static str = ""; + const STATE_PATH: &'static str = + "/ietf-interfaces:interfaces/interface[name='eth-sw1']/ietf-ip:ipv4/ietf-vrrp:vrrp"; type ListEntry<'a> = ListEntry<'a>;