/****************************************************************************** * Copyright (c) 2000-2014 Ericsson Telecom AB * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html ******************************************************************************/ // // File: tail_f_com_ns_confd_1_0.ttcn // Description: // References: // Rev: // Prodnr: // Updated: Thu Jan 28 15:35:13 2010 // Contact: http://ttcn.ericsson.se // //////////////////////////////////////////////////////////////////////////////// // // Generated from file(s): // // - confd.xsd // /* xml version = "1.0" encoding = "UTF-8" */ // /* targetnamespace = "http://tail-f.com/ns/confd/1.0" */ // //////////////////////////////////////////////////////////////////////////////// module tail_f_com_ns_confd_1_0 { import from XSD all; type union InetAddress { InetAddressIPv4 inetAddressIPv4, InetAddressIPv6 inetAddressIPv6, InetAddressDNS inetAddressDNS } with { variant "name as uncapitalized"; variant "useUnion"; }; type union InetAddressIP { InetAddressIPv4 inetAddressIPv4, InetAddressIPv6 inetAddressIPv6 } with { variant "name as uncapitalized"; variant "useUnion"; }; 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) with { variant "name as uncapitalized"; }; /* Full */ /* Mixed */ /* Shortened */ /* Shortened mixed */ 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) with { variant "name as uncapitalized"; }; type XSD.String InetAddressDNS with { variant "name as uncapitalized"; }; type XSD.UnsignedShort InetPortNumber with { variant "name as uncapitalized"; }; 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)") with { variant "name as uncapitalized"; }; type XSD.String MD5DigestString; type XSD.String DES3CBCEncryptedString; type XSD.String AESCFB128EncryptedString; type XSD.String Atom with { variant "name as uncapitalized"; }; type XSD.String HexValue (pattern "[0-9a-fA-F]*") with { variant "name as uncapitalized"; }; type XSD.String HexList with { variant "name as uncapitalized"; }; 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])") with { variant "name as uncapitalized"; }; type XSD.String Oid (pattern "(([0-9]#(0,1)[0-9]*).)*([0-9]#(0,1)[0-9]*)#(0,1)") with { variant "name as uncapitalized"; }; type XSD.String ObjectRef with { variant "name as uncapitalized"; }; type XSD.UnsignedInt Counter32; type XSD.UnsignedLong Counter64; type XSD.UnsignedInt Gauge32; type union IpPrefix { Ipv4Prefix alt_, Ipv6Prefix alt_1 } with { variant "name as uncapitalized"; variant "useUnion"; variant (alt_) "name as ''"; variant (alt_1) "name as ''"; }; /* Pattern is not converted due to using character categories and blocks in patterns is not supported. */ type XSD.String Ipv4Prefix with { variant "name as uncapitalized"; }; /* Pattern is not converted due to using character categories and blocks in patterns is not supported. */ type XSD.String Ipv6Prefix with { variant "name as uncapitalized"; }; type XSD.AnySimpleType Default with { variant "name as uncapitalized"; variant "attribute"; }; type XSD.Boolean Config with { variant "name as uncapitalized"; variant "attribute"; }; type XSD.String ErrorMessage with { variant "name as uncapitalized"; variant "element"; }; } with { encode "XML"; variant "namespace as 'http://tail-f.com/ns/confd/1.0'"; variant "controlNamespace 'http://www.w3.org/2001/XMLSchema-instance' prefix 'xsi'"; }