
This change adds support for exporting system configuration. The configuration of the entire system or individual subsystems, such as iDRAC, BIOS, NIC, and RAID, can be exported. Change-Id: Ia7db0223d72566cf4a4d013a35ef2782f273695f Co-Authored-By: Sonali Borkar <sonaliborkar85@gmail.com>
22 lines
816 B
Python
22 lines
816 B
Python
# Copyright (c) 2020-2021 Dell Inc. or its subsidiaries.
|
|
#
|
|
# 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.
|
|
|
|
from sushy.resources import base
|
|
from sushy.resources import common
|
|
|
|
|
|
class ExportActionField(common.ActionField):
|
|
allowed_values = base.Field('ShareParameters',
|
|
adapter=dict)
|