kuryr-kubernetes/kuryr_kubernetes/tests/unit/controller/drivers
Luis Tomas Bolivar b200d368cd Add Network Policy support to services
This patch adds support for Network Policy on services. It
applies pods' security groups onto the services in front of them.
It makes the next assumptions:
- All the pods pointed by one svc have the same labels, thus the same
sgs being enforced
- Only copies the SG rules that have the same protocol and direction
as the listener being created
- Adds a default rule to NP to enable traffic from services subnet CIDR

Partially Implements: blueprint k8s-network-policies
Change-Id: Ibd4b51ff40b69af26ab7e7b81d18e63abddf775b
2019-01-08 06:35:55 -05:00
..
__init__.py Controller driver base and pod project driver 2016-11-18 17:46:55 +03:00
test_base.py Refactor DriverBase.get_instance() 2018-09-12 10:27:11 +09:00
test_default_project.py Ensure project id is returned for DefaultNamespaceProjectDriver 2018-08-02 13:29:31 +02:00
test_default_security_groups.py K8s Services support: LBaaSSpecHandler 2017-02-03 15:05:45 +03:00
test_default_subnet.py Move function get_subnet to kuryr_kubernetes.utils 2018-08-13 07:06:52 -04:00
test_lb_public_ip.py Make ext subnet config optional 2018-02-20 15:09:54 +02:00
test_lbaasv2.py Add Network Policy support to services 2019-01-08 06:35:55 -05:00
test_multi_vif.py Refactor DriverBase.get_instance() 2018-09-12 10:27:11 +09:00
test_namespace_security_groups.py Add namespace isolation for services 2018-08-06 19:33:55 +02:00
test_namespace_subnet.py Move function get_subnet to kuryr_kubernetes.utils 2018-08-13 07:06:52 -04:00
test_nested_macvlan_vif.py NestedMacvlanPodVIFDriver gets host port before request vif 2018-02-20 10:22:11 +09:00
test_nested_vif.py Enforce E128 pep8 check 2017-06-13 14:22:51 +03:00
test_nested_vlan_vif.py dict_object.keys() is not required for *in* operator 2018-12-19 17:33:41 +05:30
test_network_policy.py Add Network Policy support to services 2019-01-08 06:35:55 -05:00
test_network_policy_security_groups.py Update CRD when NP has podSelectors 2019-01-02 22:14:44 +00:00
test_neutron_vif.py Separate helper function for pod 2018-08-10 11:23:58 +00:00
test_public_ip.py Ensure floatingip information is retrieved 2018-11-15 14:16:31 +01:00
test_sriov.py Drop unnecessary import 2018-09-26 17:12:33 +02:00
test_vif_pool.py Ensure pools support don't break due to neutron-vif 2018-12-17 17:41:36 +01:00