config-backend: field should not be copied from shared network to subnet in config-get
when shared network and subnet is configured in the following way:
'shared-networks': [{'interface-id': 'vlan-a',
'name': 'floor13',
'subnet6': [{'pools': [{'option-data': [],
'pool': '2001:db8:1::1-2001:db8:1::100'}],
'subnet': '2001:db8:1::/64'}]}],
config-get should not return field 'interface-id' in subnet as it was not configure there.
Kea responds incorrectly with:
u'shared-networks': [{u'interface-id': u'vlan-a',
u'name': u'floor13',
u'option-data': [],
u'relay': {u'ip-addresses': []},
u'subnet6': [{u'id': 1,
u'interface-id': u'vlan-a',
u'option-data': [],
u'pd-pools': [],
u'pools': [{u'option-data': [],
u'pool': u'2001:db8:1::1-2001:db8:1::100'}],
u'relay': {u'ip-addresses': []},
u'reservations': [],
u'subnet': u'2001:db8:1::/64'}]}],
Exposed by Forge tests:
- tests/dhcpv4/kea_only/config_backend/test_interface_id.py::test_interface_id_in_network