Skip to content
This repository has been archived by the owner on Sep 26, 2019. It is now read-only.

Commit

Permalink
Making gpdb abbreviation consistent across files
Browse files Browse the repository at this point in the history
Change-Id: Ice4941f22533778428572541af0b829b57f983ff
  • Loading branch information
Mohammad Banikazemi committed Feb 4, 2015
1 parent 13852a7 commit 174b15d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gbpservice/neutron/services/grouppolicy/plugin.py
Expand Up @@ -17,7 +17,7 @@
from neutron.openstack.common import excutils
from neutron.openstack.common import log as logging

from gbpservice.neutron.db.grouppolicy import group_policy_db as gdb
from gbpservice.neutron.db.grouppolicy import group_policy_db as gpdb
from gbpservice.neutron.db.grouppolicy import group_policy_mapping_db
from gbpservice.neutron.extensions import group_policy as gpex
from gbpservice.neutron.services.grouppolicy import (
Expand Down Expand Up @@ -261,7 +261,7 @@ def _validate_l3p_es(self, context, current, original=None):
es_id=current['id'])
# Verify allocated address correctly in subnet
for addr in current['external_segments'][es['id']]:
if addr != gdb.ADDRESS_NOT_SPECIFIED:
if addr != gpdb.ADDRESS_NOT_SPECIFIED:
if addr not in netaddr.IPNetwork(es['cidr']):
raise gp_exc.InvalidL3PExternalIPAddress(
ip=addr, es_id=es['id'], l3p_id=current['id'],
Expand Down

0 comments on commit 174b15d

Please sign in to comment.