nfv/nfv/nfv-vim/nfv_vim/nfvi/objects/v1/_host_aggregate.py

17 lines
463 B
Python
Executable File

#
# Copyright (c) 2016 Wind River Systems, Inc.
#
# SPDX-License-Identifier: Apache-2.0
#
from nfv_vim.nfvi.objects.v1._object import ObjectData
class HostAggregate(ObjectData):
"""
NFVI Host Aggregate Object
"""
def __init__(self, name, host_names, availability_zone):
super(HostAggregate, self).__init__('1.0.0')
self.update(dict(name=name, host_names=host_names,
availability_zone=availability_zone))