def _add_port_from_net(self, plugin, ctxt, router_id, tenant_id, ha_net):
        return plugin.add_ha_port(ctxt, router_id, ha_net.network.id,
                                  tenant_id)
Argument is a Geometry, return type is a string.
dataset/ETHPy150Open openstack/neutron/neutron/scheduler/l3_agent_scheduler.py/L3Scheduler._add_port_from_net--crossover with--dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-1.4/django/contrib/gis/geos/prototypes/geom.py/string_from_geom