Cisco Cisco Virtual Topology System 2.3 Developer's Guide
VTS 2.3 Developer Guide
56
'([1-9][0-9]{0,3}|[1-5][0-9]{1,4}|6[0-4][0-9]{3}|65[0-4][0-9]{2}|655[0-
2][0-9]|6553[0-5])'
+ '\.'
+ '([1-9][0-9]{0,3}|[1-5][0-9]{1,4}|6[0-4][0-9]{3}|65[0-4][0-9]{2}|655[0-
2][0-9]|6553[0-5])'
+ ':'
+ '([1-9][0-9]{0,3}|[1-5][0-9]{1,4}|6[0-4][0-9]{3}|65[0-4][0-9]{2}|655[0-
2][0-9]|6553[0-5])';
}
}
typedef ipv4-nn2 {
type string {
pattern
'(([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.){3}'
+ '([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])'
+ ':'
+ '([1-9][0-9]{0,3}|[1-5][0-9]{1,4}|6[0-4][0-9]{3}|65[0-4][0-9]{2}|655[0-
2][0-9]|6553[0-5])';
}
}
typedef route-target {
type union{
type vts-types:asn2-nn4;
type vts-types:asn4-nn2;
type vts-types:ipv4-nn2;
}
description
"Three allowed types for route target
1. ASN2:NN4
2. ASN4:NN2
3. IPV4:NN2";
tailf:info
"Three allowed types for route target:
1. ASN2:NN4
2. ASN4:NN2
3. IPV4:NN2";
}
typedef vpc-identifier {
description
"identifier for virtual port channel number";
type uint16 {
range "1..4096";
}
}