ValidationService¶
-
class
ydk::
ValidationService
¶ Validation Service class for validating C++ model API objects of type
Entity
.-
enum class
Option
¶ All validation is performed in the context of some operation. These options capture the context of use.
-
enumerator
DATASTORE
¶ Datastore validation.
-
enumerator
GET_CONFIG
¶ Get config validation. Checks to see if only config nodes are references.
-
enumerator
GET
¶ Get validation.
-
enumerator
EDIT_CONFIG
¶ Edit validation. Checks on the values of leafs etc.
-
enumerator
-
void
validate
(const ydk::path::ServiceProvider &provider, Entity &entity, ValidationService::Option option)¶ Validates an entity based on the option.
Parameters: Raises YError: If validation errors were detected
-
virtual
~ValidationService
()¶
-
enum class