Update network/subnet hooks to handle new classification fields
#5374 was merged but introduced new features which require an update of hooks managing shared networks and subnets.
#5374 was merged but introduced new features which require an update of hooks managing shared networks and subnets.