AmphoraProviderDriver
[source]¶Bases: octavia_lib.api.drivers.provider_base.ProviderDriver
get_supported_flavor_metadata
()[source]¶Returns the valid flavor metadata keys and descriptions.
This extracts the valid flavor metadata keys and descriptions from the JSON validation schema and returns it as a dictionary.
Returns: | Dictionary of flavor metadata keys and descriptions. |
---|---|
Raises: | DriverError – An unexpected error occurred. |
validate_flavor
(flavor_dict)[source]¶Validates flavor profile data.
This will validate a flavor profile dataset against the flavor settings the amphora driver supports.
Parameters: | flavor_dict – The flavor dictionary to validate. |
---|---|
Returns: | None |
Raises: |
|
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.