Currently, appmgr does not allow onboarding xApp images that are
available in image registries pointed by IP addresses.
This change enables setting up an IPv4 address for the container
registry in the xApp descriptor file.
Issue-ID: RIC-884
Signed-off-by: Alexandre Huff <alexandrehuff@utfpr.edu.br>
Change-Id: Ie214cb460e791557333fe16d01848993c1f6b546
"examples": [
"nexus3.o-ran-sc.org:10002"
],
- "pattern": "^[A-Za-z0-9\\.-]{1,}\\.[A-Za-z]{1,}(?:\\:\\d+)?$"
+ "pattern": "^([A-Za-z0-9\\.-]{1,}\\.[A-Za-z]{1,}|((?:(?: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]?)))(?:\\:\\d+)?$"
},
"name": {
"$id": "#/properties/containers/items/properties/image/properties/name",