<149>Mar 30 12:45:19 edge01.xyz01 rpd[1234]: BGP_PREFIX_THRESH_EXCEEDED: 1.2.3.4 (External AS 123): Configured maximum prefix-limit threshold(160) exceeded for inet-unicast nlri: 181 (instance master)
{'message_details': {'processId': '1234', 'pri': '149', 'processName': 'rpd', 'host': 'edge01.xyz01', 'tag': 'BGP_PREFIX_THRESH_EXCEEDED', 'time': '12:45:19', 'date': 'Mar 30', 'message': '1.2.3.4 (External AS 123): Configured maximum prefix-limit threshold(160) exceeded for inet-unicast nlri: 181 (instance master)'}, 'open_config': {'bgp': {'neighbors': {'neighbor': {u'1.2.3.4': {'state': {'peer_as': 123}, 'afi_safis': {'afi_safi': {u'inet': {'state': {'prefixes': {'received': 181}}, 'afi_safi_name': u'inet', 'ipv4_unicast': {'prefix_limit': {'state': {'max_prefixes': 160}}}}}}, 'neighbor_address': u'1.2.3.4'}}}}}, 'ip': '127.0.0.1', 'error': 'BGP_PREFIX_THRESH_EXCEEDED', 'host': 'edge01.xyz01', 'timestamp': '1490874319', 'os': 'junos', 'model_name': 'openconfig_bgp'}
<149>Mar 30 12:45:19 edge01.xyz01 rpd[1234]: BGP_PREFIX_THRESH_EXCEEDED: 5.6.7.8 (External AS 123): Configured maximum prefix-limit threshold(160) exceeded for inet-unicast nlri: 181 (instance master)
{'message_details': {'processId': '1234', 'pri': '149', 'processName': 'rpd', 'host': 'edge01.xyz01', 'tag': 'BGP_PREFIX_THRESH_EXCEEDED', 'time': '12:45:19', 'date': 'Mar 30', 'message': '5.6.7.8 (External AS 123): Configured maximum prefix-limit threshold(160) exceeded for inet-unicast nlri: 181 (instance master)'}, 'open_config': {'bgp': {'neighbors': {'neighbor': {u'1.2.3.4': {'state': {'peer_as': 123}, 'afi_safis': {'afi_safi': {u'inet': {'state': {'prefixes': {'received': 181}}, 'afi_safi_name': u'inet', 'ipv4_unicast': {'prefix_limit': {'state': {'max_prefixes': 160}}}}}}, 'neighbor_address': u'1.2.3.4'}, u'5.6.7.8': {'state': {'peer_as': 123}, 'afi_safis': {'afi_safi': {u'inet': {'state': {'prefixes': {'received': 181}}, 'afi_safi_name': u'inet', 'ipv4_unicast': {'prefix_limit': {'state': {'max_prefixes': 160}}}}}}, 'neighbor_address': u'5.6.7.8'}}}}}, 'ip': '127.0.0.1', 'error': 'BGP_PREFIX_THRESH_EXCEEDED', 'host': 'edge01.xyz01', 'timestamp': '1490874319', 'os': 'junos', 'model_name': 'openconfig_bgp'}
As you can see in the example the details of the 1st input are present, this is not intended.
This is due to us caching the openconfig object, each time we load a new dict into the model this is stored in the cached version.