module ztp_device { yang-version "1"; namespace "urn:ztp_nos"; prefix "ztp_nos"; organization "EVIDEN"; contact "jose.carcel@eviden.com"; description "Basic example of data model for modelling NOS ZTP Device"; revision "2023-08-03" { description "Basic example of data model for modelling NOS ZTP Device"; reference ""; } grouping config{ leaf ztp_device_sw_url{ type string; } leaf config_script_url{ type string; } } typedef state { type enumeration{ enum "UNDEF"; enum "INIT_HW"; enum "INIT_SW"; enum "CONFIGURED"; enum "RUNNING"; enum "UPDATING"; enum "MIGRATING"; enum "DELETED"; } } grouping state { leaf ztp_device_state { type state; } } }