Commit 3786a02f authored by Manuel Angel Jimenez Quesada's avatar Manuel Angel Jimenez Quesada
Browse files

Remove ztp_device.yang

parent 1a2ad3f9
Loading
Loading
Loading
Loading
+0 −46
Original line number Diff line number Diff line
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