2026-10-22 18:01:26,290 - INFO - Domain Default found not creating
2026-10-22 18:01:26,509 - INFO - Project ctest-TestBasicPolicy-46573579 not found, creating it
2026-10-22 18:01:26,980 - INFO - Created Project:ctest-TestBasicPolicy-46573579, ID : a151bfdb-cbe1-4a5e-998d-7fd78bb67558
2026-10-22 18:01:28,682 - INFO - ================================================================================
2026-10-22 18:01:28,682 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-10-22 18:01:28,682 - INFO - TEST DESCRIPTION :
Create 2 Vns and allow icmp traffic between them and validate with pings
Update the policy to deny the same traffic
Check that pings fail
2026-10-22 18:01:28,944 - DEBUG - Nothing to compare xmpp stats {'10.0.0.190': {'10.20.0.254': '0'}} with
2026-10-22 18:01:28,944 - INFO - Initial checks done. Running the testcase now
2026-10-22 18:01:28,944 - INFO -
2026-10-22 18:01:29,593 - DEBUG - Response for create_network : {'network': {'id': '31b7bcf2-cdc3-4147-b9b4-ac982e046feb', 'name': 'ctest-vn-70318034', 'tenant_id': 'a151bfdbcbe14a5e998d7fd78bb67558', 'project_id': 'a151bfdbcbe14a5e998d7fd78bb67558', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-46573579', 'ctest-vn-70318034'], 'port_security_enabled': True, 'description': ''}}
2026-10-22 18:01:29,771 - DEBUG - Response for create_subnet : {'subnet': {'id': '40a71128-f3de-4107-b0e3-baeef2a38641', 'name': '', 'tenant_id': 'a151bfdbcbe14a5e998d7fd78bb67558', 'network_id': '31b7bcf2-cdc3-4147-b9b4-ac982e046feb', 'ip_version': 4, 'cidr': '48.45.51.128/26', 'allocation_pools': [{'start': '48.45.51.130', 'end': '48.45.51.190'}], 'gateway_ip': '48.45.51.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '48.45.51.130', 'tags': [], 'project_id': 'a151bfdbcbe14a5e998d7fd78bb67558'}}
2026-10-22 18:01:29,790 - INFO - Created VN ctest-vn-70318034
2026-10-22 18:01:29,845 - DEBUG - VN ctest-vn-70318034 UUID is 31b7bcf2-cdc3-4147-b9b4-ac982e046feb
2026-10-22 18:01:30,197 - DEBUG - Response for create_network : {'network': {'id': 'a293e88f-abea-4bba-99cb-6ed44ced3489', 'name': 'ctest-vn-00400672', 'tenant_id': 'a151bfdbcbe14a5e998d7fd78bb67558', 'project_id': 'a151bfdbcbe14a5e998d7fd78bb67558', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-46573579', 'ctest-vn-00400672'], 'port_security_enabled': True, 'description': ''}}
2026-10-22 18:01:30,416 - DEBUG - Response for create_subnet : {'subnet': {'id': 'be2b9eb6-7cfa-488b-b4e6-a0a41791b1ca', 'name': '', 'tenant_id': 'a151bfdbcbe14a5e998d7fd78bb67558', 'network_id': 'a293e88f-abea-4bba-99cb-6ed44ced3489', 'ip_version': 4, 'cidr': '97.170.189.64/26', 'allocation_pools': [{'start': '97.170.189.66', 'end': '97.170.189.126'}], 'gateway_ip': '97.170.189.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '97.170.189.66', 'tags': [], 'project_id': 'a151bfdbcbe14a5e998d7fd78bb67558'}}
2026-10-22 18:01:30,436 - INFO - Created VN ctest-vn-00400672
2026-10-22 18:01:30,489 - DEBUG - VN ctest-vn-00400672 UUID is a293e88f-abea-4bba-99cb-6ed44ced3489
2026-10-22 18:01:30,637 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-46573579:ctest-vn-70318034, security_group = None, network_policy = None, subnet_list = []], src_ports = [start_port = -1, end_port = -1], application = [], dst_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-46573579:ctest-vn-00400672, security_group = None, network_policy = None, subnet_list = []], dst_ports = [start_port = -1, end_port = -1], action_list = simple_action = pass, gateway_name = None, apply_service = [], service_properties = None, mirror_to = None, assign_routing_instance = None, log = False, alert = False, qos_action = None, host_based_service = False, ethertype = None, created = None, last_modified = None, description = None]
2026-10-22 18:01:30,951 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '31b7bcf2-cdc3-4147-b9b4-ac982e046feb', 'name': 'ctest-vn-70318034', 'tenant_id': 'a151bfdbcbe14a5e998d7fd78bb67558', 'project_id': 'a151bfdbcbe14a5e998d7fd78bb67558', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['40a71128-f3de-4107-b0e3-baeef2a38641'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-46573579', 'ctest-vn-70318034'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-46573579', 'ctest-policy-allow-all-29686506']], 'subnet_ipam': [{'subnet_cidr': '48.45.51.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-10-22 18:01:31,169 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'a293e88f-abea-4bba-99cb-6ed44ced3489', 'name': 'ctest-vn-00400672', 'tenant_id': 'a151bfdbcbe14a5e998d7fd78bb67558', 'project_id': 'a151bfdbcbe14a5e998d7fd78bb67558', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['be2b9eb6-7cfa-488b-b4e6-a0a41791b1ca'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-46573579', 'ctest-vn-00400672'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-46573579', 'ctest-policy-allow-all-29686506']], 'subnet_ipam': [{'subnet_cidr': '97.170.189.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-10-22 18:01:31,293 - DEBUG - Requesting: http://10.0.0.190:8082/domains
2026-10-22 18:01:31,671 - DEBUG - Requesting: http://10.0.0.190:8082/domains
2026-10-22 18:01:31,700 - DEBUG - Requesting: http://10.0.0.190:8082/domain/d1016fab-71c1-4e8a-9324-a9ffaf62869c
2026-10-22 18:01:31,721 - DEBUG - Requesting: http://10.0.0.190:8082/project/a151bfdb-cbe1-4a5e-998d-7fd78bb67558
2026-10-22 18:01:31,801 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-network/31b7bcf2-cdc3-4147-b9b4-ac982e046feb
2026-10-22 18:01:31,812 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-network/31b7bcf2-cdc3-4147-b9b4-ac982e046feb
2026-10-22 18:01:31,821 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/678ea3f0-fd9f-4138-a47c-b873da63e90e
2026-10-22 18:01:31,831 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/678ea3f0-fd9f-4138-a47c-b873da63e90e
2026-10-22 18:01:31,837 - DEBUG - Requesting: http://10.0.0.190:8082/route-target/cf6b6531-2979-4f79-8d09-e053b590ed55
2026-10-22 18:01:31,844 - DEBUG - Route Targets: ['target:64512:8000005']
2026-10-22 18:01:31,844 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-network/31b7bcf2-cdc3-4147-b9b4-ac982e046feb
2026-10-22 18:01:31,855 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/678ea3f0-fd9f-4138-a47c-b873da63e90e
2026-10-22 18:01:31,871 - INFO - Verified VN network id 12 for VN 31b7bcf2-cdc3-4147-b9b4-ac982e046feb
2026-10-22 18:01:31,871 - INFO - Verifications in API Server for VN ctest-vn-70318034 passed
2026-10-22 18:01:31,871 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-network/31b7bcf2-cdc3-4147-b9b4-ac982e046feb
2026-10-22 18:01:31,883 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/678ea3f0-fd9f-4138-a47c-b873da63e90e
2026-10-22 18:01:31,891 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/678ea3f0-fd9f-4138-a47c-b873da63e90e
2026-10-22 18:01:31,898 - DEBUG - Requesting: http://10.0.0.190:8082/route-target/cf6b6531-2979-4f79-8d09-e053b590ed55
2026-10-22 18:01:31,912 - DEBUG - Control-node 10.0.0.190 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-46573579:ctest-vn-70318034', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-46573579', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3582539779616751943', 'uuid-lslong': '13381510162431635435'}, 'enable': 'true', 'created': '2026-10-22T18:01:29', 'last-modified': '2026-10-22T18:01:30', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.988183'}
2026-10-22 18:01:31,919 - DEBUG - Route Targets: ['target:64512:8000005']
2026-10-22 18:01:31,919 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-70318034 passed
2026-10-22 18:01:31,920 - DEBUG - ====Verifying policy data for ctest-vn-70318034 in API_Server ======
2026-10-22 18:01:31,920 - DEBUG - Requesting: http://10.0.0.190:8082/domains
2026-10-22 18:01:31,926 - DEBUG - Requesting: http://10.0.0.190:8082/domain/d1016fab-71c1-4e8a-9324-a9ffaf62869c
2026-10-22 18:01:31,938 - DEBUG - Requesting: http://10.0.0.190:8082/project/a151bfdb-cbe1-4a5e-998d-7fd78bb67558
2026-10-22 18:01:32,014 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-network/31b7bcf2-cdc3-4147-b9b4-ac982e046feb
2026-10-22 18:01:32,029 - DEBUG - ==>Verifying data for policy with id: 0e572efa-ca64-4abe-b2f9-94af0c1044cf, fqn: ['default-domain', 'ctest-TestBasicPolicy-46573579', 'ctest-policy-allow-all-29686506']
2026-10-22 18:01:32,029 - INFO - VN ctest-vn-70318034 Policy verification: verify_vn_policy_in_api_server, status: True
2026-10-22 18:01:32,029 - DEBUG - Verifying the vn in opserver
2026-10-22 18:01:32,029 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-46573579:ctest-vn-70318034 virtual network link through opserver 10.0.0.190
2026-10-22 18:01:32,029 - DEBUG - Requesting: http://10.0.0.190:8081/analytics/uves/virtual-networks
2026-10-22 18:01:32,413 - DEBUG - Requesting: http://10.0.0.190:8081/analytics/uves/virtual-networks
2026-10-22 18:01:32,475 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-46573579:ctest-vn-70318034', 'href': 'http://10.0.0.190:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-46573579:ctest-vn-70318034?flat'}
2026-10-22 18:01:32,475 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-46573579:ctest-vn-70318034 is found in opserver
2026-10-22 18:01:32,487 - DEBUG - Do not have enough data to verify VN in agent
2026-10-22 18:01:32,492 - DEBUG - VRF ids for VN ctest-vn-70318034: {}
2026-10-22 18:01:32,492 - DEBUG - Requesting: http://10.0.0.190:8082/domains
2026-10-22 18:01:32,497 - DEBUG - Requesting: http://10.0.0.190:8082/domain/d1016fab-71c1-4e8a-9324-a9ffaf62869c
2026-10-22 18:01:32,508 - DEBUG - Requesting: http://10.0.0.190:8082/project/a151bfdb-cbe1-4a5e-998d-7fd78bb67558
2026-10-22 18:01:32,584 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-network/a293e88f-abea-4bba-99cb-6ed44ced3489
2026-10-22 18:01:32,594 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-network/a293e88f-abea-4bba-99cb-6ed44ced3489
2026-10-22 18:01:32,603 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/af7bec2a-2a9f-4a4e-9152-dab2168170de
2026-10-22 18:01:32,610 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/af7bec2a-2a9f-4a4e-9152-dab2168170de
2026-10-22 18:01:32,616 - DEBUG - Requesting: http://10.0.0.190:8082/route-target/9ebcd42e-34de-43bc-8e19-ed49c02d2b7b
2026-10-22 18:01:32,622 - DEBUG - Route Targets: ['target:64512:8000006']
2026-10-22 18:01:32,622 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-network/a293e88f-abea-4bba-99cb-6ed44ced3489
2026-10-22 18:01:32,631 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/af7bec2a-2a9f-4a4e-9152-dab2168170de
2026-10-22 18:01:32,643 - INFO - Verified VN network id 13 for VN a293e88f-abea-4bba-99cb-6ed44ced3489
2026-10-22 18:01:32,643 - INFO - Verifications in API Server for VN ctest-vn-00400672 passed
2026-10-22 18:01:32,643 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-network/a293e88f-abea-4bba-99cb-6ed44ced3489
2026-10-22 18:01:32,653 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/af7bec2a-2a9f-4a4e-9152-dab2168170de
2026-10-22 18:01:32,659 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/af7bec2a-2a9f-4a4e-9152-dab2168170de
2026-10-22 18:01:32,666 - DEBUG - Requesting: http://10.0.0.190:8082/route-target/9ebcd42e-34de-43bc-8e19-ed49c02d2b7b
2026-10-22 18:01:32,678 - DEBUG - Control-node 10.0.0.190 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-46573579:ctest-vn-00400672', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-46573579', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11714962759483018170', 'uuid-lslong': '11082073166177973385'}, 'enable': 'true', 'created': '2026-10-22T18:01:30', 'last-modified': '2026-10-22T18:01:31', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.525986'}
2026-10-22 18:01:32,685 - DEBUG - Route Targets: ['target:64512:8000006']
2026-10-22 18:01:32,685 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-00400672 passed
2026-10-22 18:01:32,686 - DEBUG - ====Verifying policy data for ctest-vn-00400672 in API_Server ======
2026-10-22 18:01:32,686 - DEBUG - Requesting: http://10.0.0.190:8082/domains
2026-10-22 18:01:32,692 - DEBUG - Requesting: http://10.0.0.190:8082/domain/d1016fab-71c1-4e8a-9324-a9ffaf62869c
2026-10-22 18:01:32,702 - DEBUG - Requesting: http://10.0.0.190:8082/project/a151bfdb-cbe1-4a5e-998d-7fd78bb67558
2026-10-22 18:01:32,772 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-network/a293e88f-abea-4bba-99cb-6ed44ced3489
2026-10-22 18:01:32,781 - DEBUG - ==>Verifying data for policy with id: 0e572efa-ca64-4abe-b2f9-94af0c1044cf, fqn: ['default-domain', 'ctest-TestBasicPolicy-46573579', 'ctest-policy-allow-all-29686506']
2026-10-22 18:01:32,781 - INFO - VN ctest-vn-00400672 Policy verification: verify_vn_policy_in_api_server, status: True
2026-10-22 18:01:32,781 - DEBUG - Verifying the vn in opserver
2026-10-22 18:01:32,781 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-46573579:ctest-vn-00400672 virtual network link through opserver 10.0.0.190
2026-10-22 18:01:32,781 - DEBUG - Requesting: http://10.0.0.190:8081/analytics/uves/virtual-networks
2026-10-22 18:01:32,791 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-46573579:ctest-vn-00400672', 'href': 'http://10.0.0.190:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-46573579:ctest-vn-00400672?flat'}
2026-10-22 18:01:32,791 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-46573579:ctest-vn-00400672 is found in opserver
2026-10-22 18:01:32,803 - DEBUG - Do not have enough data to verify VN in agent
2026-10-22 18:01:32,810 - DEBUG - VRF ids for VN ctest-vn-00400672: {}
2026-10-22 18:01:32,870 - DEBUG - Services list from nova: [