Handle L2 agent configurations for compute and network nodes separately