Refactored `unique` validation for `name`, `mac`, `ip`
Refactored `unique` validation for `name`, `mac`, `ip`

bladeroot/hipanel-module-server,bladeroot/hipanel-module-server,hiqdev/hipanel-module-server,hiqdev/hipanel-module-server