mirror of
https://github.com/opennetworkinglab/onos.git
synced 2026-05-05 12:16:13 +02:00
Currecting the pattern restriction for IPV4 address in ne-l3vpncomm-type.yang
here space in the pattern makes it different from the expected one as of now it expect the value in the form of 1.1.1." "1 which makes this invalid. so removing the extra spaces to receive the proper validated input. Change-Id: Ic89d7595171aff60c5c4c56d69b1faa94241ded3
This commit is contained in:
parent
87c87333d8
commit
07d33852e2
@ -47,8 +47,7 @@ module ne-l3vpncomm-type {
|
||||
typedef ipv4Address {
|
||||
type string {
|
||||
length "0..255";
|
||||
pattern "((([1-9]?[0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.){3}
|
||||
([1-9]?[0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5]))";
|
||||
pattern "((([1-9]?[0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.){3}([1-9]?[0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5]))";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user