On Wed, Dec 07, 2016 at 12:25:59PM +0100, Vladimir Vassilev wrote:
> On 12/06/2016 10:40 PM, Juergen Schoenwaelder wrote:
> 
> > I fear that a dumb client sending a <get/> without a proper filter to
> > select the data that is relevant for the client will not necessarily
> > get smarter by defining additional operations.
> > 
> > Sometimes access control can help to control dumb clients that try to
> > get everything (and then ignore most of the data they receive); simply
> > make sure that only the information is accessible to a client that is
> > actually needed by a client. In other words, the filtering logic does
> > not have to be hard coded in the data model.
> +1
> 
> One additional solution for consideration is a new top level config=false
> container with a list e.g. /ethernet-interfaces-state/ethernet-interface/...
> where the key is leafref to /interfaces-state/interface/name With this
> solution IMO all requirements mentioned in the discussion so far are
> satisfied without the need to introduce any RPCs or hard coding filtering
> logic in the model.
>

This may help until the dumb client grabs /ethernet-interfaces-state
as well.

/js

-- 
Juergen Schoenwaelder           Jacobs University Bremen gGmbH
Phone: +49 421 200 3587         Campus Ring 1 | 28759 Bremen | Germany
Fax:   +49 421 200 3103         <http://www.jacobs-university.de/>

_______________________________________________
netmod mailing list
[email protected]
https://www.ietf.org/mailman/listinfo/netmod

Reply via email to