Hi all, draft-nmdsdt-netmod-revised-datastores-00 mentions that "Templates are expanded when copied into <intended>".
That means the non-expanded template (i.e. the single copy of template data itself) is in the running. Is that original non-expanded template data (which is presumably part of the schema) also present in the <intended> DS (along with the expanded copies of the data) ? What would an RFC6243 <get-config> response from the <running> DS with 'report-all' be expected to return for a leaf that is deleted in the 'main' part of the config but has been overridden by a value for that leaf in a template ? Example -> some leaf-a with a default value of 50, that is not present in the config, but is present in a template that sets leaf-a to 55. A 'report-all' response could show a value for leaf-a in the template and in the main part of the config. What value would be returned for leaf-a in the main part of the config ? 50 (since 'running' doesn't have expanded templates) or 55 (i.e. the result of the value of leaf-a due to the template expansion) ? The spirit of report-all seems to be to reflect what values the router is using, even when they aren't explicitly configured. So 55 is the actual value being used in the system. But returning 55 would mean we are returning the 'expanded' view (which the running isn't supposed to have). Regards, Jason
_______________________________________________ netmod mailing list [email protected] https://www.ietf.org/mailman/listinfo/netmod
