fixes bug
1048357
This patch removes the code that set the port name for the DHCP agent.
Change-Id: Icd769486c5f335d533349ac5e94ac9771c8ca450
network_id=network_id,
tenant_id=network['tenant_id'],
mac_address=attributes.ATTR_NOT_SPECIFIED,
- name='DHCP Agent',
+ name='',
device_owner='network:dhcp',
fixed_ips=[dict(subnet_id=s) for s in dhcp_enabled_subnet_ids])
def test_get_dhcp_port_create_new(self):
self.plugin.get_network.return_value = dict(tenant_id='tenantid')
create_spec = dict(tenant_id='tenantid', device_id='devid',
- network_id='netid', name='DHCP Agent',
+ network_id='netid', name='',
admin_state_up=True,
device_owner='network:dhcp',
mac_address=mock.ANY)