HewlettPackard/oneview-puppet

View on GitHub
examples/logical_downlink.pp

Summary

Maintainability
Test Coverage
################################################################################
# (C) Copyright 2016-2017 Hewlett Packard Enterprise Development LP
#
# 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.
################################################################################

# This example requires:
# At least 1 logical downlink in your Appliance

# This resource depends on other resources to be created or destroyed. Therefore,
# you may receive an error when trying to declare it as present or absent (unless
# it exists or not in your appliance, respectively).

# Optional filters
oneview_logical_downlink{'Logical Downlink Found':
    ensure => 'found',
    # data   =>
    # {
    #   name => 'LDc3330ee6-8b74-4eaf-9e5d-b14eeb5340b4 (HP VC FlexFabric-20/40 F8 Module)'
    # }
}

# Optional filters
oneview_logical_downlink{'Logical Downlink Get Without Ethernet':
    ensure => 'get_without_ethernet',
    # data   =>
    # {
    #   name => 'LD4f44701e-e60c-420e-b09e-d620366d0dba (HP VC FlexFabric 10Gb/24-Port Module)'
    # }
}