1 /*******************************************************************************
2 * Copyright Ericsson Telecom AB
4 * XSD to TTCN-3 Translator
6 * All rights reserved. This program and the accompanying materials
7 * are made available under the terms of the Eclipse Public License v1.0
8 * which accompanies this distribution, and is available at
9 * http://www.eclipse.org/legal/epl-v10.html
10 *******************************************************************************/
12 // File: tail_f_com_ns_confd_1_0_e.ttcn
17 // Updated: Thu Jan 28 15:35:13 2010
18 // Contact: http://ttcn.ericsson.se
20 ////////////////////////////////////////////////////////////////////////////////
22 // Generated from file(s):
25 // /* xml version = "1.0" encoding = "UTF-8" */
26 // /* targetnamespace = "http://tail-f.com/ns/confd/1.0" */
28 ////////////////////////////////////////////////////////////////////////////////
31 module tail_f_com_ns_confd_1_0_e {
37 type union InetAddress
39 InetAddressIPv4 inetAddressIPv4,
40 InetAddressIPv6 inetAddressIPv6,
41 InetAddressDNS inetAddressDNS
44 variant "name as uncapitalized";
49 type union InetAddressIP
51 InetAddressIPv4 inetAddressIPv4,
52 InetAddressIPv6 inetAddressIPv6
55 variant "name as uncapitalized";
60 type XSD.String InetAddressIPv4 (pattern "(([0-1]#(0,1)[0-9]#(0,1)[0-9]|2[0-4][0-9]|25[0-5]).)#(1,3)([0-1]#(0,1)[0-9]#(0,1)[0-9]|2[0-4][0-9]|25[0-5])") length(7 .. 15)
62 variant "name as uncapitalized";
70 type XSD.String InetAddressIPv6 (pattern "(([0-9a-fA-F]#(1,4):)*([0-9a-fA-F]#(1,4)))*(::)(([0-9a-fA-F]#(1,4):)*([0-9a-fA-F]#(1,4)))*(([0-9]#(1,3).[0-9]#(1,3).[0-9]#(1,3).[0-9]#(1,3)))") length(0 .. 39)
72 variant "name as uncapitalized";
76 type XSD.String InetAddressDNS
78 variant "name as uncapitalized";
82 type XSD.UnsignedShort InetPortNumber
84 variant "name as uncapitalized";
88 type XSD.String Size (pattern "S([0-9]+G)#(0,1)([0-9]+M)#(0,1)([0-9]+K)#(0,1)([0-9]+B)#(0,1)")
90 variant "name as uncapitalized";
94 type XSD.String MD5DigestString;
97 type XSD.String DES3CBCEncryptedString;
100 type XSD.String AESCFB128EncryptedString;
105 variant "name as uncapitalized";
109 type XSD.String HexValue (pattern "[0-9a-fA-F]*")
111 variant "name as uncapitalized";
115 type XSD.String HexList
117 variant "name as uncapitalized";
121 type XSD.String OctetList (pattern "(([0-1]#(0,1)[0-9]#(0,1)[0-9]|2[0-4][0-9]|25[0-5]).)*([0-1]#(0,1)[0-9]#(0,1)[0-9]|2[0-4][0-9]|25[0-5])")
123 variant "name as uncapitalized";
127 type XSD.String Oid (pattern "(([0-9]#(0,1)[0-9]*).)*([0-9]#(0,1)[0-9]*)#(0,1)")
129 variant "name as uncapitalized";
133 type XSD.String ObjectRef
135 variant "name as uncapitalized";
139 type XSD.UnsignedInt Counter32;
142 type XSD.UnsignedLong Counter64;
145 type XSD.UnsignedInt Gauge32;
154 variant "name as uncapitalized";
156 variant (alt_) "name as ''";
157 variant (alt_1) "name as ''";
161 /* Pattern is not converted due to using character categories and blocks in patterns is not supported. */
162 type XSD.String Ipv4Prefix
164 variant "name as uncapitalized";
168 /* Pattern is not converted due to using character categories and blocks in patterns is not supported. */
169 type XSD.String Ipv6Prefix
171 variant "name as uncapitalized";
175 type XSD.AnySimpleType Default
177 variant "name as uncapitalized";
182 type XSD.Boolean Config
184 variant "name as uncapitalized";
189 type XSD.String ErrorMessage
191 variant "name as uncapitalized";
199 variant "namespace as 'http://tail-f.com/ns/confd/1.0'";
200 variant "controlNamespace 'http://www.w3.org/2001/XMLSchema-instance' prefix 'xsi'";