

def get_db_items(self):
    self.customer_gateways = {cgw['id']: cgw for cgw in db_api.get_items(self.context, 'cgw')}
    neutron = clients.neutron(self.context)
    self.os_ikepolicies = {ike['id']: ike for ike in neutron.list_ikepolicies(tenant_id=self.context.project_id)['ikepolicies']}
    self.os_ipsecpolicies = {ipsec['id']: ipsec for ipsec in neutron.list_ipsecpolicies(tenant_id=self.context.project_id)['ipsecpolicies']}
    self.os_ipsec_site_connections = {conn['id']: conn for conn in neutron.list_ipsec_site_connections(tenant_id=self.context.project_id)['ipsec_site_connections']}
    self.external_ips = _get_vpn_gateways_external_ips(self.context, neutron)
    return super(VpnConnectionDescriber, self).get_db_items()

dataset/ETHPy150Open openstack/ec2-api/ec2api/api/vpn_connection.py VpnConnectionDescriber.get_db_items/original