parameters: (self, host: str, daemon_id: str,
                   service_name: str,
                   network: Optional[str] = None,
                   keyring: Optional[str] = None,
                   extra_args: Optional[List[str]] = None,
                   ceph_conf: str = '',
                   extra_files: Optional[Dict[str, Any]] = None,
                   daemon_type: Optional[str] = None,
                   ip: Optional[str] = None,
                   ports: Optional[List[int]] = None,
                   rank: Optional[int] = None,
                   rank_generation: Optional[int] = None,
                   extra_container_args: Optional[List[str]] = None)
docstring: A data struction to encapsulate `cephadm deploy ...
docstring_summary: A data struction to encapsulate `cephadm deploy ...
docstring_tokens: A data struction to encapsulate cephadm deploy ...
function: def __init__(self, host: str, daemon_id: str,
                   service_name: str,
                   network: Optional[str] = None,
                   keyring: Optional[str] = None,
                   extra_args: Optional[List[str]] = None,
                   ceph_conf: str = '',
                   extra_files: Optional[Dict[str, Any]] = None,
                   daemon_type: Optional[str] = None,
                   ip: Optional[str] = None,
                   ports: Optional[List[int]] = None,
                   rank: Optional[int] = None,
                   rank_generation: Optional[int] = None,
                   extra_container_args: Optional[List[str]] = None):
          """
          A data struction to encapsulate `cephadm deploy ...
          """
          self.host: str = host
          self.daemon_id = daemon_id
          self.service_name = service_name
          daemon_type = daemon_type or (service_name.split('.')[0])
          assert daemon_type is not None
          self.daemon_type: str = daemon_type
  
          # mons
          self.network = network
  
          # for run_cephadm.
          self.keyring: Optional[str] = keyring
  
          # For run_cephadm. Would be great to have more expressive names.
          self.extra_args: List[str] = extra_args or []
  
          self.ceph_conf = ceph_conf
          self.extra_files = extra_files or {}
  
          # TCP ports used by the daemon
          self.ports: List[int] = ports or []
          self.ip: Optional[str] = ip
  
          # values to be populated during generate_config calls
          # and then used in _run_cephadm
          self.final_config: Dict[str, Any] = {}
          self.deps: List[str] = []
  
          self.rank: Optional[int] = rank
          self.rank_generation: Optional[int] = rank_generation
  
          self.extra_container_args = extra_container_args
function_tokens: def __init__ ( self , host : str , daemon_id : str , service_name : str , network : Optional [ str ] = None , keyring : Optional [ str ] = None , extra_args : Optional [ List [ str ] ] = None , ceph_conf : str = '' , extra_files : Optional [ Dict [ str , Any ] ] = None , daemon_type : Optional [ str ] = None , ip : Optional [ str ] = None , ports : Optional [ List [ int ] ] = None , rank : Optional [ int ] = None , rank_generation : Optional [ int ] = None , extra_container_args : Optional [ List [ str ] ] = None ) : self . host : str = host self . daemon_id = daemon_id self . service_name = service_name daemon_type = daemon_type or ( service_name . split ( '.' ) [ 0 ] ) assert daemon_type is not None self . daemon_type : str = daemon_type # mons self . network = network # for run_cephadm. self . keyring : Optional [ str ] = keyring # For run_cephadm. Would be great to have more expressive names. self . extra_args : List [ str ] = extra_args or [ ] self . ceph_conf = ceph_conf self . extra_files = extra_files or { } # TCP ports used by the daemon self . ports : List [ int ] = ports or [ ] self . ip : Optional [ str ] = ip # values to be populated during generate_config calls # and then used in _run_cephadm self . final_config : Dict [ str , Any ] = { } self . deps : List [ str ] = [ ] self . rank : Optional [ int ] = rank self . rank_generation : Optional [ int ] = rank_generation self . extra_container_args = extra_container_args