{
    "entries": [
        {
            "containerID": 0,
            "entityType": 57346,
            "entityInstance": 0,
            "sensorOffset": 1,
            "event_states": [
                1,
                2
            ],
            "dbus": {
                "object_path": "/xyz/openbmc_project/network/hypervisor/eth0/ipv4/addr0",
                "interface": "xyz.openbmc_project.Object.Enable",
                "property_name": "Enabled",
                "property_type": "bool",
                "property_values": [
                    true,
                    false
                ]
            }
        },
        {
            "containerID": 0,
            "entityType": 57346,
            "entityInstance": 1,
            "sensorOffset": 1,
            "event_states": [
                1,
                2
            ],
            "dbus": {
                "object_path": "/xyz/openbmc_project/network/hypervisor/eth1/ipv4/addr0",
                "interface": "xyz.openbmc_project.Object.Enable",
                "property_name": "Enabled",
                "property_type": "bool",
                "property_values": [
                    true,
                    false
                ]
            }
        }
     ]
}
{
    "entries": [
        {
            "containerID": 0,
            "entityType": 57346,
            "entityInstance": 0,
            "sensorOffset": 1,
            "event_states": [
                1,
                2,
                3
            ],
            "dbus": {
                "object_path": "/xyz/openbmc_project/network/hypervisor/eth0/ipv4/addr0",
                "interface": "xyz.openbmc_project.Object.Enable",
                "property_name": "Enabled",
                "property_type": "bool",
                "property_values": [
                    true,
                    false,
                    false
                ]
            }
        },
        {
            "containerID": 0,
            "entityType": 57346,
            "entityInstance": 1,
            "sensorOffset": 1,
            "event_states": [
                1,
                2,
                3
            ],
            "dbus": {
                "object_path": "/xyz/openbmc_project/network/hypervisor/eth1/ipv4/addr0",
                "interface": "xyz.openbmc_project.Object.Enable",
                "property_name": "Enabled",
                "property_type": "bool",
                "property_values": [
                    true,
                    false,
                    false
                ]
            }
        }
     ]
}

Fix for handling invalid event state
PLDM: Fix for handling invalid event state

This commit makes a quick fix for handling the invalid event
state. This corrects the behaviour of the pldm responder where
it reports the error from the host side rather than the BMC side.

Tested on rainier.

Change-Id: I66e5f64aa00d40c1b8bb73f30e5338f6db521e8f
Signed-off-by: Pavithra Barithaya <11e7489634b47a21de4c1739cec61358fe3ab503@ibm.com>
