def _get_instance_nw_info(self, context, instance, **kwargs):
        flavor = instance.get_flavor()
        args = {'instance_id': instance.uuid,
                'rxtx_factor': flavor['rxtx_factor'],
                'host': instance.host,
                'project_id': instance.project_id}
        nw_info = self.network_rpcapi.get_instance_nw_info(context, **args)

        return network_model.NetworkInfo.hydrate(nw_info)
Atomically increments a key's value.
dataset/ETHPy150Open BU-NU-CLOUD-SP16/Trusted-Platform-Module-nova/nova/network/api.py/API._get_instance_nw_info--crossover with--dataset/ETHPy150Open AppScale/appscale/AppServer/google/appengine/api/memcache/__init__.py/Client.incr