In ML2 plugin for accessing private attributes of PortContext members use accessors
Bug #1424587 reported by
Rossella Sblendido
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Fix Released
|
Undecided
|
Ann Taraday |
Bug Description
In the ML2 plugin instead of accessing the private members of PortContext directly, use accessors. For example:
orig_context.
should be:
orig_context.
port = mech_context._port
should be:
port = mech_context.
and so on...
tags: | added: ml2 |
Changed in neutron: | |
assignee: | nobody → Ann Kamyshnikova (akamyshnikova) |
Changed in neutron: | |
status: | New → In Progress |
Changed in neutron: | |
milestone: | none → liberty-1 |
status: | Fix Committed → Fix Released |
Changed in neutron: | |
milestone: | liberty-1 → 7.0.0 |
To post a comment you must log in.
Reviewed: https:/ /review. openstack. org/162100 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=857322c30ec fed11e770f0aea7 b234f8ffdc0db1
Committed: https:/
Submitter: Jenkins
Branch: master
commit 857322c30ecfed1 1e770f0aea7b234 f8ffdc0db1
Author: Ann Kamyshnikova <email address hidden>
Date: Wed Mar 4 15:50:07 2015 +0300
Use accessors instead of private attributes for Ml2 plugin
Start using accessors instead of private attributes of PortContext
and NetworkContext where it is possible.
Closes-bug: #1424587
Change-Id: Ie3d963ae6cee97 82d65ba68393607 2602c78ebaa