1. 20 Oct, 2023 25 commits
  2. 19 Oct, 2023 15 commits
    • Kirill Smelkov's avatar
      . · bf32488c
      Kirill Smelkov authored
      bf32488c
    • Kirill Smelkov's avatar
      . · f0438e06
      Kirill Smelkov authored
      f0438e06
    • Kirill Smelkov's avatar
      . · d6de7b84
      Kirill Smelkov authored
      d6de7b84
    • Kirill Smelkov's avatar
      . · 285fede6
      Kirill Smelkov authored
      285fede6
    • Kirill Smelkov's avatar
      . · c8bc71ee
      Kirill Smelkov authored
      c8bc71ee
    • Kirill Smelkov's avatar
      . · 929a8ab1
      Kirill Smelkov authored
      929a8ab1
    • Kirill Smelkov's avatar
      . · 7d07cbc6
      Kirill Smelkov authored
      7d07cbc6
    • Kirill Smelkov's avatar
      . · 729535f5
      Kirill Smelkov authored
      729535f5
    • Kirill Smelkov's avatar
      . · 98f97ef8
      Kirill Smelkov authored
      98f97ef8
    • Kirill Smelkov's avatar
      . · 2bebb6fd
      Kirill Smelkov authored
      2bebb6fd
    • Kirill Smelkov's avatar
      Merge remote-tracking branch 'refs/remotes/kirr-backup/x/lte-multiru' into x/lte-multiru · 9450db77
      Kirill Smelkov authored
      * refs/remotes/kirr-backup/x/lte-multiru:
        .
        X slave_reference cannot be relied when working wrt slapos master
      9450db77
    • Kirill Smelkov's avatar
      . · 98aff9c2
      Kirill Smelkov authored
      98aff9c2
    • Kirill Smelkov's avatar
      X slave_reference cannot be relied when working wrt slapos master · 2df5327a
      Kirill Smelkov authored
      Here is how share instance requested with partition_reference='RU1' looks on slapproxy:
      
          {'_': {'ru_type': 'lopcomm', 'ru_link_type': 'cpri', 'mac_addr': 'XXX', 'cpri_link': {'sdr_dev': 2, 'sfp_port': 0, 'mult': 8, 'mapping': 'standard', 'rx_delay': 10, 'tx_delay': 11, 'tx_dbm': 50}, 'n_antenna_dl': 2, 'n_antenna_ul': 1, 'tx_gain': -21, 'rx_gain': -22}, 'slap_software_type': 'enb', 'slave_reference': '_RU1', 'slave_title': '_RU1'}
      
          (note both slave_reference and slave_title relate to partition_reference used in request)
      
      and here is how another shared instance requested the same way looks on slapos master:
      
          {'_': {'ru_type': 'lopcomm', 'ru_link_type': 'cpri', 'cpri_link': {'sdr_dev': 0, 'sfp_port': 1, 'mult': 4, 'mapping': 'hw', 'rx_delay': 25.11, 'tx_delay': 14.71, 'tx_dbm': 63}, 'n_antenna_dl': 1, 'n_antenna_ul': 1, 'tx_gain': -20, 'rx_gain': -20}, 'connection-parameter-hash': '4f53cda18c2baa0c0354bb5f9a3ecbe5ed12ab4d8e11ba873c2f11161202b945', 'slap_software_type': 'enb', 'slave_reference': 'SOFTINST-218663', 'slave_title': 'RU1', 'timestamp': 1697712836}
      
      note that slave_reference is now unrelated and is some identifier slapos master picked up automatically.
      
      The trace of the original reference is left only in slave_title.
      
      Rafael confirmed, that for instances requested by user, that slave_title cannot
      be duplicate for two different instances (because request with
      partition_reference=X will adjust another instance previouslt requested with
      same partition_reference=X instead of creating another one).
      
      However for instances requested by partitions - it is possible to have two
      sepearate shared instances requested with the same partition_reference=X and
      having the same slave_title=X. Those instances will live in different instance
      trees though.
      2df5327a
    • Kirill Smelkov's avatar
      . · df7a05b9
      Kirill Smelkov authored
      df7a05b9
    • Kirill Smelkov's avatar
      . · 4f0f1bd2
      Kirill Smelkov authored
      4f0f1bd2