Class MiscConfig.Builder

  • Enclosing class:
    MiscConfig

    public static final class MiscConfig.Builder
    extends java.lang.Object
    Builder class for MiscConfig.
    • Constructor Detail

      • Builder

        public Builder()
        Constructor with parameters for the required properties of MiscConfig.
    • Method Detail

      • setUplinkRxRingSize

        public MiscConfig.Builder setUplinkRxRingSize​(java.lang.Long uplinkRxRingSize)
        This property will be required to change the RX ring size of all uplinks in DVS. It should be in multiples of 32. format: int32
        Parameters:
        uplinkRxRingSize - New value for the property.
      • setUplinkTxRingSize

        public MiscConfig.Builder setUplinkTxRingSize​(java.lang.Long uplinkTxRingSize)
        This property will be required to change the TX ring size of all uplinks in DVS. It should be in multiples of 32. format: int32
        Parameters:
        uplinkTxRingSize - New value for the property.
      • setHighPerformanceConfigParams

        public MiscConfig.Builder setHighPerformanceConfigParams​(java.util.List<HighPerformanceConfigParams> highPerformanceConfigParams)
        List of parameters that could be used to configure high performance.
        Parameters:
        highPerformanceConfigParams - New value for the property.
      • setVersion

        public MiscConfig.Builder setVersion​(java.util.List<java.lang.String> version)
        Based on the high_performance_config_type, it could be either driver version or host version. For high_performance_config_type as ADV_CONFIG or MISC_CONFIG, this represents host version. For high_performance_config_type as DRIVER_CONFIG, this represents physical NIC driver version.
        Parameters:
        version - New value for the property.