

def get_vlan_port_configuration(self, port):
    conf = ['interface {}'.format(port.name)]
    vlan = self.switch_configuration.get_vlan(port.vlan_id)
    if vlan.name:
        conf.append('name "{}"'.format(vlan.name))
    conf.append('exit')
    return conf

dataset/ETHPy150Open internap/fake-switches/fake_switches/dell/command_processor/enabled.py DellEnabledCommandProcessor.get_vlan_port_configuration/original