kernel/v2: allow private network type to be a string [GH-3349]