only allow type values of ingress and egress