diff --git a/ansible/inventory/all-in-one b/ansible/inventory/all-in-one
index aef70c441df1808bd0c80d7145a93cd065ddaea2..2f42f77a353f7883df5fda3688fc5251c9dcb195 100644
--- a/ansible/inventory/all-in-one
+++ b/ansible/inventory/all-in-one
@@ -284,6 +284,7 @@ neutron
 
 [neutron-ovn-metadata-agent:children]
 compute
+network
 
 [neutron-bgp-dragent:children]
 neutron
diff --git a/tests/templates/inventory.j2 b/tests/templates/inventory.j2
index 8bcc453b9a3a7432bacfc4ce9da4b279c1eeb0dc..f1222e41341877c73637b2db701694341d964b18 100644
--- a/tests/templates/inventory.j2
+++ b/tests/templates/inventory.j2
@@ -358,6 +358,7 @@ neutron
 
 [neutron-ovn-metadata-agent:children]
 compute
+network
 
 [neutron-bgp-dragent:children]
 neutron