<reponame>Vibaswan/ixnetwork_restpy
from ixnetwork_restpy.base import Base
from ixnetwork_restpy.files import Files


class OSPFv3_LSA_Acknowledgement_Packet(Base):
    __slots__ = ()
    _SDM_NAME = 'ospfv3LSAAcknowledgement'
    _SDM_ATT_MAP = {
        'OSPFv3 Packet Header': 'ospfv3LSAAcknowledgement.header.ospfv3PacketHeader',
        'Link-State Acknowledgment Body': 'ospfv3LSAAcknowledgement.header.linkStateAcknowledgmentBody',
    }

    def __init__(self, parent):
        super(OSPFv3_LSA_Acknowledgement_Packet, self).__init__(parent)

    @property
    def OSPFv3_Packet_Header(self):
        from ixnetwork_restpy.multivalue import Multivalue
        return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP['OSPFv3 Packet Header']))

    @property
    def Link_State_Acknowledgment_Body(self):
        from ixnetwork_restpy.multivalue import Multivalue
        return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP['Link-State Acknowledgment Body']))

    def add(self):
        return self._create(self._map_locals(self._SDM_ATT_MAP, locals()))

from ixnetwork_restpy.base import Base
from ixnetwork_restpy.files import Files


class OSPFv3_LSA_Acknowledgement_Packet(Base):
    __slots__ = ()
    _SDM_NAME = 'ospfv3LSAAcknowledgement'
    _SDM_ATT_MAP = {
        'OSPFv3 Packet Header': 'ospfv3LSAAcknowledgement.header.ospfv3PacketHeader',
        'Link-State Acknowledgment Body': 'ospfv3LSAAcknowledgement.header.linkStateAcknowledgmentBody',
    }

    def __init__(self, parent):
        super(OSPFv3_LSA_Acknowledgement_Packet, self).__init__(parent)

    @property
    def OSPFv3_Packet_Header(self):
        from ixnetwork_restpy.multivalue import Multivalue
        return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP['OSPFv3 Packet Header']))

    @property
    def Link_State_Acknowledgment_Body(self):
        from ixnetwork_restpy.multivalue import Multivalue
        return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP['Link-State Acknowledgment Body']))

    def add(self):
        return self._create(self._map_locals(self._SDM_ATT_MAP, locals()))