Merge "Fix controllerfs-modify related bugs"
This commit is contained in:
@@ -1,2 +1,2 @@
|
||||
SRC_DIR="sysinv"
|
||||
TIS_PATCH_VER=321
|
||||
TIS_PATCH_VER=322
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
# License for the specific language governing permissions and limitations
|
||||
# under the License.
|
||||
#
|
||||
# Copyright (c) 2013-2018 Wind River Systems, Inc.
|
||||
# Copyright (c) 2013-2019 Wind River Systems, Inc.
|
||||
#
|
||||
|
||||
|
||||
@@ -635,7 +635,7 @@ class ControllerFsController(rest.RestController):
|
||||
|
||||
@cutils.synchronized(LOCK_NAME)
|
||||
@wsme.validate(types.uuid, [ControllerFsPatchType])
|
||||
@wsme_pecan.wsexpose(ControllerFs, types.uuid, body=[[ControllerFsPatchType]])
|
||||
@wsme_pecan.wsexpose(None, types.uuid, body=[[ControllerFsPatchType]])
|
||||
def update_many(self, isystem_uuid, patch):
|
||||
"""Update the current controller_fs configuration."""
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# Copyright (c) 2018 Wind River Systems, Inc.
|
||||
# Copyright (c) 2018-2019 Wind River Systems, Inc.
|
||||
#
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
#
|
||||
@@ -138,7 +138,7 @@ class Health(object):
|
||||
# and also filter the alarms bases on entity instance id.
|
||||
# If multiple alarms with the same ID exist, we only return the ID
|
||||
# one time.
|
||||
if not fm_api.FaultAPIs.alarm_allowed(alarm.severity, degrade_affecting):
|
||||
if degrade_affecting == 'True':
|
||||
if (entity_instance_id_filter in alarm.entity_instance_id and
|
||||
alarm.alarm_id not in alarm_ignore_list and
|
||||
alarm.alarm_id not in degrade_alarms):
|
||||
|
||||
Reference in New Issue
Block a user