Skip to content

Commit

Permalink
Merge pull request #287 from HewlettPackard/API2000_hypervisor_resources
Browse files Browse the repository at this point in the history
Api2000 hypervisor resources
  • Loading branch information
VenkateshRavula committed Sep 24, 2020
2 parents 601786a + 120db11 commit 3455871
Show file tree
Hide file tree
Showing 7 changed files with 36 additions and 30 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Expand Up @@ -10,10 +10,14 @@
- Ethernet Network
- FC Network
- FCOE Network
- Hypervisor Cluster Profile
- Hypervisor Manager
- Network Set
- Server Certificate
- Storage Pool
- Storage System
- Storage Volume Template
- Uplink Set
- Volume
- Volume Attachment

Expand Down
42 changes: 21 additions & 21 deletions endpoints-support.md

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions examples/firmware_driver.pp
@@ -1,5 +1,5 @@
################################################################################
# (C) Copyright 2016-2017 Hewlett Packard Enterprise Development LP
# (C) Copyright 2016-2020 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.
Expand All @@ -15,10 +15,10 @@
################################################################################

# NOTE: Both 'customBaselineName' or simply 'name' are accepted as the single identifier for the custom firmware package.
# It is required to have exactly one of those on each resource declaration
# It is required to have exactly one of those on each resource declaration
# NOTE: 1- baselineUri and hotfixUris accept either the uri or names for the drivers
# NOTE: 2- hotfixUris values must be inserted inside an array, enclosed by [].
# Example: hotfixUris => ['value1', 'value2', 'value3']
# Example: hotfixUris => ['value1', 'value2', 'value3']

oneview_firmware_driver{'firmware_driver_1':
ensure => 'present',
Expand Down
1 change: 1 addition & 0 deletions examples/hypervisor_cluster_profile.pp
Expand Up @@ -15,6 +15,7 @@
################################################################################

# NOTE: As with all resources, the found ensurable accepts a data as an optional filter field.
# NOTE: As a pre-requisite, create a Server Profile Template and add a hypervisor manager.

# This created Hypervisor ClusterProfile if we use ServerProfileTemplate without OS DeploymentPlan
oneview_hypervisor_cluster_profile{'hcp1 Create':
Expand Down
1 change: 1 addition & 0 deletions examples/hypervisor_manager.pp
Expand Up @@ -15,6 +15,7 @@
################################################################################

# NOTE: As with all resources, the found ensurable accepts a data as an optional filter field.
# NOTE: Server Certificate for '172.18.13.11' should be added as a pre-requisite
oneview_hypervisor_manager{'hm Create':
ensure => 'present',
data => {
Expand Down
2 changes: 1 addition & 1 deletion examples/os_deployment_plan.pp
@@ -1,5 +1,5 @@
################################################################################
# (C) Copyright 2018 Hewlett Packard Enterprise Development LP
# (C) Copyright 2020 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.
Expand Down
10 changes: 5 additions & 5 deletions examples/uplink_set.pp
@@ -1,5 +1,5 @@
################################################################################
# (C) Copyright 2016-2017 Hewlett Packard Enterprise Development LP
# (C) Copyright 2016-2020 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.
Expand All @@ -15,8 +15,8 @@
################################################################################

# NOTE: The 'portConfigInfos' at the moment do not have the 'list a name instead of uri' available for
# the tag. It should be declared with all infos required as per the oneview documentation in case it
# is needed.
# the tag. It should be declared with all infos required as per the oneview documentation in case it
# is needed.

oneview_uplink_set{'uplink_set_1':
ensure => 'present',
Expand All @@ -31,7 +31,7 @@
description => 'nil',
name => 'Puppet Uplink Set',
networkUris => [
'Puppet Test EthNetwork', 'OneViewSDK_Bulk_Network_28'
'TestNetwork_1', 'TestNetwork_2'
],
logicalInterconnectUri => 'Encl1-Test Oneview'
},
Expand All @@ -52,7 +52,7 @@
name => 'Puppet Uplink Set',
new_name => 'Puppet Uplink Set Updated',
networkUris => [
'Puppet Test EthNetwork'
'TestNetwork_1'
],
logicalInterconnectUri => 'Encl1-Test Oneview'
},
Expand Down

0 comments on commit 3455871

Please sign in to comment.