diff --git a/src/ztp/src/ztp-agent/ztp_device.yang b/src/ztp/src/ztp-agent/ztp_device.yang deleted file mode 100644 index f506d6413faa49b35bf89f5f4bbf50993f159377..0000000000000000000000000000000000000000 --- a/src/ztp/src/ztp-agent/ztp_device.yang +++ /dev/null @@ -1,46 +0,0 @@ -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; - } - leaf ip_range { - type string; // check IP regular expression - } - } - - 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; - } - } -} \ No newline at end of file