def _add_t2_stack_interfaces(self, interfaces, dp_index, t1_dps):
    t1_port = (T1_STACK_PORT_START + dp_index)
    for (index, t1_dp) in enumerate(t1_dps):
        port = (T2_STACK_PORT_START + (index * 2))
        description = ('to %s port %s' % (t1_dp, t1_port))
        interfaces[port] = Interface(description=description, stack=StackLink(dp=t1_dp, port=t1_port))
def _add_t2_stack_interfaces(self, interfaces, dp_index, t1_dps):
    t1_port = (T1_STACK_PORT_START + dp_index)
    for (index, t1_dp) in enumerate(t1_dps):
        port = (T2_STACK_PORT_START + (index * 2))
        description = ('to %s port %s' % (t1_dp, t1_port))
        interfaces[port] = Interface(description=description, stack=StackLink(dp=t1_dp, port=t1_port))