The context objects accepts and ignores unknown keyword arguments. This
was to allow it to handle the deserialization of parameters it didn't
understand from the base class' to_dict method. This will make it
difficult to pass unknown attributes to the base class so fix the
from_dict method to only accept params it knows about.
Reviewed: https:/ /review. openstack. org/340205 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=8ad224d4e6b f40aeb895b526dd caa5c00011fc46
Committed: https:/
Submitter: Jenkins
Branch: master
commit 8ad224d4e6bf40a eb895b526ddcaa5 c00011fc46
Author: Jamie Lennox <email address hidden>
Date: Mon Jul 11 12:06:41 2016 +1000
Use from_dict to load context params
The context objects accepts and ignores unknown keyword arguments. This
was to allow it to handle the deserialization of parameters it didn't
understand from the base class' to_dict method. This will make it
difficult to pass unknown attributes to the base class so fix the
from_dict method to only accept params it knows about.
Related-Bug: #1602081 1ba4f8a177d898b e457e2c3160
Change-Id: Ic58a2025680e8e