gaspp

This module contains definitions for the Calvados model objects. Copyright (c) 2012-2020 by Cisco Systems, Inc. All rights rese...

  • Version: 2015-08-30

    gaspp@2015-08-30


    
      module gaspp {
    
        yang-version 1;
    
        namespace
          "http://cisco.com/panini/calvados/gaspp";
    
        prefix gaspp;
    
        import tailf-common {
          prefix tailf;
        }
        import tailf-xsd-types {
          prefix xs;
        }
    
        organization "Cisco Systems, Inc.";
    
        contact
          "Cisco Systems, Inc.
         Customer Service
        
         Postal: 170 West Tasman Drive
         San Jose, CA 95134
        
         Tel: +1 800 553-NETS
        
         E-mail: cs-yang@cisco.com";
    
        description
          "This module contains definitions
         for the Calvados model objects.
    
         Copyright (c) 2012-2020 by Cisco Systems, Inc.
         All rights reserved.";
    
        revision "2015-08-30" {
          description "Initial version.";
        }
    
    
        grouping location-grp {
          list location {
            tailf:action "set" {
              input {
                leaf "value" {
                  mandatory "true";
                  type "xs:hexBinary";
                }
              }
            }
            key "location_name";
            leaf location_name {
              type string;
              mandatory true;
            }
    
            list data {
              leaf address {
                type uint64;
              }
    
              leaf name {
                type string;
              }
    
              leaf value {
                type string;
              }
    
              leaf size {
                type uint32;
              }
            }  // list data
          }  // list location
        }  // grouping location-grp
    
        grouping gaspp {
          list asic {
            key "asic-name";
            config false;
            leaf asic-name {
              type string;
            }
    
            list instance {
              key "instance-id";
              leaf instance-id {
                type uint32;
              }
    
              leaf instance-name {
                type string;
              }
    
              list address {
                key "addr size entries";
                leaf addr {
                  type string;
                  mandatory true;
                }
    
                leaf width {
                  type uint32;
                  mandatory true;
                }
    
                leaf entries {
                  type uint32;
                  mandatory true;
                }
    
                leaf size {
                  type uint32;
                }
    
                list location {
                  tailf:action "set" {
                    input {
                      leaf "value" {
                        mandatory "true";
                        type "xs:hexBinary";
                      }
                    }
                  }
                  key "location_name";
                  leaf location_name {
                    type string;
                    mandatory true;
                  }
    
                  list direct_data {
                    leaf address {
                      type uint64;
                    }
    
                    leaf name {
                      type string;
                    }
    
                    leaf value {
                      type string;
                    }
    
                    leaf size {
                      type uint32;
                    }
                  }  // list direct_data
                }  // list location
              }  // list address
    
              list block-name {
                key "block-nm block-num";
                leaf block-nm {
                  type string;
                }
    
                leaf block-num {
                  type uint32;
                }
    
                list register-name {
                  key "name";
                  leaf name {
                    type string;
                  }
    
                  leaf register {
                    type uint32;
                  }
    
                  list data {
                    leaf address {
                      type uint64;
                    }
    
                    leaf name {
                      type string;
                    }
    
                    leaf value {
                      type string;
                    }
    
                    leaf size {
                      type uint32;
                    }
                  }  // list data
                }  // list register-name
              }  // list block-name
    
              list block-number {
                key "block-num";
                leaf block-num {
                  type uint32;
                }
    
                leaf block-nm {
                  type string;
                }
    
                list register-number {
                  key "register";
                  leaf register {
                    type uint32;
                  }
    
                  leaf register-name {
                    type string;
                  }
    
                  list register-offsets {
                    key "reg-start num-entries";
                    leaf reg-start {
                      type uint32;
                    }
    
                    leaf num-entries {
                      type uint32;
                    }
    
                    uses location-grp;
                  }  // list register-offsets
    
                  uses location-grp;
                }  // list register-number
              }  // list block-number
            }  // list instance
          }  // list asic
        }  // grouping gaspp
      }  // module gaspp
    

© 2023 YumaWorks, Inc. All rights reserved.