Adding Egress security group using nova python sdk
Hi
I am trying to add security rules to the default group using the below command
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")"
The above command will add the Ingress rule type, and i am not able to add egress rule using the sdk. I there any way to do this.
By default It choose Custom rule type and port range (from_port and to_port). How do i create rule for a specific port.