Abstracting network elements from mask layout to network management: a case study