# Copyright 2019 AT&T Intellectual Property.  All other rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

# Important: Please modify the dictionary with appropriate
# design spec file.
---
specs:
  # Design Spec file name: SiteDesignSpec_v0.1.xlsx
  xl_spec:
    ipmi:
      # Series type data set that defines an iterable and the expected data
      # for each index in the iterable
      type: series
      sheet_name: 'Sheet DNE'
      iter:
        index-type: row
        start: 4
        end: 15
      data:
        hostname: 2
        ipmi_address: 7
        ipmi_gateway: 4
        host_profile: 5

    private_vlan:
      type: series
      sheet_name: 'Site-Information'
      iter:
        index-type: row
        start: 19
        end: 30
      data:
        net_type: 1
        vlan: 2

    private_net:
      type: series
      sheet_name: 'Site-Information'
      iter:
        index-type: row
        start: 33
        end: 40
      data:
        net_vlan: 1
        net: 2

    public:
      type: container
      sheet_name: 'Site-Information'
      data:
        oam:
          type: point
          data:
            oam_vlan: [43, 1]
            oam_ip: [43, 2]
        ingress:
          type: point
          data:
            ingress_ip: [45, 2]
        oob:
          type: series
          iter:
            index-type: col
            start: 2
            end: 5
          rows:
            oob_net: 48


    site_info:
      # Point type defines x, y (row, column) coordinates for where data can be found
      type: point
      sheet_name: 'Site-Information'
      data:
        domain: [51, 2]
        subdomain: [52, 2]
        global_group: [53, 2]
        ldap: [54, 2]
        ntp: [55, 2]
        dns: [56, 2]

    location:
      type: point
      sheet_name: 'Site-Information'
      data:
        sitename: [58, 2]
        corridor: [59, 2]
        state: [60, 2]
        country: [61, 2]
        clli: [62, 2]
...