'Cleans security groups requested from Nova API
Neutron already passes a \'default\' security group when
creating ports so it\'s not necessary to specify it to the
request.'

def _clean_security_groups(self, security_groups):

    if (not security_groups):
        security_groups = []
    elif (security_groups == [DEFAULT_SECGROUP]):
        security_groups = []
    return security_groups
