Public bug reported: Description =========== I am not able to create Egress security rules using python-novaclient,by default it creates Ingress security rule and also try to list the rules inside security group.
Steps to reproduce ================== Execute the below command, will create Ingress rule in the default security group. sec_group = nova.security_groups.find(name = "default") nova.security_group_rules.create(sec_group.id,ip_protocol="udp",from_port="5201",to_port="5201") nova.security_group_rules._list() <No method for list the rules > Expected result =============== I want to create Egress rule using the above create method, but no provision for adding the rule type in the method. Actual result ============= It create a rule with ingress type in the security group. Environment =========== Packstack Mitaka (Rdo) ** Affects: nova Importance: Undecided Status: New ** Tags: nova nova-manage security-groups -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to OpenStack Compute (nova). https://bugs.launchpad.net/bugs/1579749 Title: Unable to create a Egress rule in security group using python- novaclient Status in OpenStack Compute (nova): New Bug description: Description =========== I am not able to create Egress security rules using python-novaclient,by default it creates Ingress security rule and also try to list the rules inside security group. Steps to reproduce ================== Execute the below command, will create Ingress rule in the default security group. sec_group = nova.security_groups.find(name = "default") nova.security_group_rules.create(sec_group.id,ip_protocol="udp",from_port="5201",to_port="5201") nova.security_group_rules._list() <No method for list the rules > Expected result =============== I want to create Egress rule using the above create method, but no provision for adding the rule type in the method. Actual result ============= It create a rule with ingress type in the security group. Environment =========== Packstack Mitaka (Rdo) To manage notifications about this bug go to: https://bugs.launchpad.net/nova/+bug/1579749/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp