Skip to content

Commit

Permalink
Set limits for VM and Template names and descriptions
Browse files Browse the repository at this point in the history
RHV enforce the following limits:
* VM name to 255 characters
* VM description to 255 characters
* Template name to 40 characters (it will be extended to 255 in
ovirt-engine-4.2)
* Template description to 255 characters

Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1529052
  • Loading branch information
masayag committed Jan 4, 2018
1 parent 2c1b7a4 commit 1f2a123
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@
:display: :edit
:data_type: :string
:min_length:
:max_length: 100
:max_length: 255
:vm_prefix:
:description: VM Name Prefix/Suffix
:required_method: :validate_vm_name
Expand Down Expand Up @@ -241,7 +241,7 @@
:data_type: :string
:notes_display: :show
:min_length:
:max_length:
:max_length: 255
:pxe_image_id:
:values_from:
:method: :allowed_images
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@
:display: :edit
:data_type: :string
:min_length:
:max_length: 100
:max_length: 255
:vm_prefix:
:description: VM Name Prefix/Suffix
:required_method: :validate_vm_name
Expand Down Expand Up @@ -317,7 +317,7 @@
:data_type: :string
:notes_display: :show
:min_length:
:max_length:
:max_length: 255
:pxe_image_id:
:values_from:
:method: :allowed_images
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@
:display: :edit
:data_type: :string
:min_length:
:max_length: 100
:max_length: 255
:vm_prefix:
:description: VM Name Prefix/Suffix
:required_method: :validate_vm_name
Expand Down Expand Up @@ -338,7 +338,7 @@
:data_type: :string
:notes_display: :show
:min_length:
:max_length:
:max_length: 255
:pxe_image_id:
:values_from:
:method: :allowed_images
Expand Down

0 comments on commit 1f2a123

Please sign in to comment.