<div dir="ltr">Hi<div><br></div><div>Im trying to read user-context with a hook</div><div><br></div><div>lease4_select(CalloutHandle& handle) {<br></div> Subnet4Ptr subnet4_ptr;<br> handle.getArgument("subnet4", subnet4_ptr); // <-- getting selected subnet<br> ConstElementPtr subnet_ctx;<br> subnet_ctx = subnet4_ptr->getContext(); // <-- this is working !<div><br></div><div> Pool4Ptr pool_ptr;<br> handle.getArgument("pool", pool_ptr);
// <-- getting selected pool ?? <br></div><div> ConstElementPtr pool4_ctx;<br> pool4_ctx = pool4_ptr->getContext(); // <-- this NOT working <br><div><br></div></div><div>}</div><div> can some one advise how to read user-context at the pool level ?</div><div><br></div><div>thank you</div><div><br></div></div>