Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-74422

OVE UI: The RendezvousIP field should restrict input text according to IP type

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • 4.22
    • None
    • None
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Description of problem:

          On the SaaS OVE UI, RendezvousIP field accepts an invalid IPV4 address such as 192.168.122.22.222.4343

      Version-Release number of selected component (if applicable):

          

      How reproducible:

          Always

      Steps to Reproduce:

          1. Enter an invalid IPV4 address such as 192.168.122.22.222.4343 in RendezvousIP field
          2.
          3.
          

      Actual results:

          Although the UI shows an error message that 192.168.122.22.222.4343 us not a valid IP address, the UI should identify if a user is entering IPv4 address. If it does, then the max length check for RendezvousIP field should be dynamically set to a valid IPv4 address only (15 chars) so that a user can not enter any extra characters while trying to enter Ipv4 address. For IPV6, it the max length should be 45 chars.
      
      

      Expected results:

          The maximum length of an IPv4 address in its standard text-based (string) format (e.g., 192.168.122.125) should be 15 characters. An IPv4-mapped IPv6 address, which uses dotted-decimal notation for the last portion (e.g., ::ffff:192.168.100.228), can be up to 45 characters long.

      Additional info:

          

              rh-ee-asmasarw Ashraf Masarwa
              ppinjark@redhat.com Pawan Pinjarkar
              None
              None
              Pawan Pinjarkar Pawan Pinjarkar
              None
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: