summaryrefslogtreecommitdiffstats
path: root/snaps/config/security_group.py
AgeCommit message (Collapse)AuthorFilesLines
2018-03-12Fixed a few Py 2.7 -> 3.x issues.spisarski1-18/+28
JIRA: SNAPS-286 Change-Id: Ib4976529168655df0ed906276b503b70a8459f21 Signed-off-by: spisarski <s.pisarski@cablelabs.com>
2018-02-22Changed pattern on how objects lookup themselves by name and project.spisarski1-7/+5
The pattern being replaced has unwittingly added the requirement that all creator credentials must be of type 'admin' as when looking up the associated project ID required a call to keystone.projects.list(). As the SNAPS integration tests were always creating users with an 'admin' role, this issue was not caught. As part of this patch, integration test users will no longer be admin. JIRA: SNAPS-274 Change-Id: I02957f69e31a9d4dfa63362d371f061687e59fbf Signed-off-by: spisarski <s.pisarski@cablelabs.com>
2018-02-15Added functionality for OpenStackSecurityGroup#initialize() not to acceptspisarski1-4/+7
security groups with the same name from a different project JIRA: SNAPS-264 Change-Id: I7c905e5588d5e503b47ea0e9f5997be89e841aec Signed-off-by: spisarski <s.pisarski@cablelabs.com>
2018-02-14Compare strings instead of objects in SecurityGroupConfigCédric Ollivier1-1/+1
It could have worked thanks to interned strings. Change-Id: If56cc44fe35ca06bc9033af620ddd3c0586877fe Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-11-21Refactoring of SecurityGroupSettings to extend SecurityGroupConfigspisarski1-0/+388
SecurityGroupSettings, SecurityGroupSettings and neutron_utils have a runtime cyclical dependency. This patch reduces this dependency and deprecates the SecurityGroupSettings and SecurityGroupRuleSettings class with snaps.config.security_group SecurityGroupConfig and SecurityGroupRuleConfg classes JIRA: SNAPS-224 Change-Id: I6cd82ed5be31f4a24449be767b203e86489b1962 Signed-off-by: spisarski <s.pisarski@cablelabs.com>