docs: def _pad_former_ports(self, port_handler):
          """Create ports with former port index.
  
          :param port_handler: Port information to be registered.
  
          Depending on slot type and card type, it is necessary to register
          LAN ports with former index to VIOM table.
          """
          if not port_handler.need_padding():
              return
          for port_idx in range(1, port_handler.port_idx):
              pad_handler = port_handler.__class__(
                  port_handler.slot_type,
                  port_handler.card_type,
                  port_handler.slot_idx,
                  port_handler.card_idx,
                  port_idx)
              if not self._find_port(pad_handler):
                  self._add_port(pad_handler,
                                 pad_handler.create_lan_port())