attributes:
  nfs_volume_for_nova:
    value: ""
    label: "NFS Volume"
    description: "NFS volume to store instances (e.g. 192.168.0.2:/vol2)"
    weight: 10
    type: "text"
  nfs_mount_point_nova:
    value: "/mnt/nova"
    label: "NFS mount point"
    description: "Mount point to store instances (Nova)"
    weight: 20
    type: "text"

attributes:
  nfs_volume_for_nova:
    value: ""
    label: "NFS Volume"
    description: "NFS volume to store instances (e.g. 192.168.0.2:/vol2)"
    weight: 10
    type: "text"
    regex:
      source: '^(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?):/(?:[\w-]+\/?)+$'
      error: "NFS volume path must be in form IP.ADD.RE.SS:/unix/path/to/volume e.g. 192.168.0.2:/vol2"
  nfs_mount_point_nova:
    value: "/mnt/nova"
    label: "NFS mount point"
    description: "Mount point to store instances (Nova)"
    weight: 20
    type: "text"
    regex:
      source: '^/(?:[\w-]+\/?)+$'
      error: "Valid characters are: '/', '0-9', 'a-z', 'A-Z', '_', '-'"

Add validation for plugin settings
Add validation for plugin settings

Change-Id: I520b5be522d7ac9f01e20a72b84e39ecb6d8c813
