
    "	                     b    S r SSKJr  SSKJr  SSKJr  SSKJr   " S S\R                  5      rg)	z:The 'gcloud firebase test network-profiles' command group.    )absolute_import)division)unicode_literals)basec                   0    \ rS rSrSrSS0r\S 5       rSrg)NetworkProfiles   aR  Explore network profiles available for testing.

A network traffic profile consists of a set of parameters to emulate network
conditions when running a test. This feature only works on physical devices.
The network shaping parameters are:

- *RULE*: Where to apply traffic shaping. The UP rule shapes the
  connection from the device to the internet. The DOWN rule shapes the
  connection from the internet to the device.
- *DELAY*: The delay in packet transmission, in ms.
- *LOSS_RATIO*: The ratio of packets dropped during transmission.
- *DUPLICATION_RATIO*: The ratio of packets duplicated during
  transmission.
- *BANDWIDTH*: The average packet transmission rate in kbits/s, as
  defined by the token bucket algorithm.
- *BURST*: The total size, in kbits, by which packets can exceed the
  bandwidth, as defined by the token bucket algorithm.
EXAMPLESz          To list all network profiles which can be used for testing, run:

            $ {command} list

          To view information about a specific network profile, run:

            $ {command} describe PROFILE_ID
          c                     g)zMethod called by Calliope to register flags common to this sub-group.

Args:
  parser: An argparse parser used to add arguments that immediately follow
      this group in the CLI. Positional arguments are allowed.
N )parsers    6lib/surface/firebase/test/network_profiles/__init__.pyArgsNetworkProfiles.Args9   s     	    r   N)	__name__
__module____qualname____firstlineno____doc__detailed_helpstaticmethodr   __static_attributes__r   r   r   r   r      s,    (  
- 	 	r   r   N)	r   
__future__r   r   r   googlecloudsdk.callioper   Groupr   r   r   r   <module>r      s'     A &  ' ((	djj (	r   