Configuration management of network or network elements