The _custom_field_processing for members on NetworkV4 and NetworkTemplate was incorrectly calling the Msdhcpserver class. The _custom_field_processing should call a more agnostic DHCP member class which includes a required property _struct for the struct type of "msdhcpserver|dhcpmember"
NOTE: the Msdhcpserver class is no longer used and could be removed.
Also note that a more agnostic class name could be used here instead of Dhcpmember which infers it's always a Grid DHCP Member vs Microsoft DHCP server - such as Dhcpserver
How it was fixed/implemented
change _custom_field_processing on the NetworkV4 and NetworkTemplate classes to call the Dhcpmember.from_dict
update Dhcpmember class to include _struct property
Issue/Feature description
NOTE: the Msdhcpserver class is no longer used and could be removed.
Also note that a more agnostic class name could be used here instead of Dhcpmember which infers it's always a Grid DHCP Member vs Microsoft DHCP server - such as Dhcpserver
How it was fixed/implemented
Tests
Two (2) new tests were added to test the bug fix:
Reviewers