Commit | Line | Data |
---|---|---|
970ed795 | 1 | /****************************************************************************** |
3abe9331 | 2 | * Copyright (c) 2000-2015 Ericsson Telecom AB |
970ed795 EL |
3 | * All rights reserved. This program and the accompanying materials |
4 | * are made available under the terms of the Eclipse Public License v1.0 | |
5 | * which accompanies this distribution, and is available at | |
6 | * http://www.eclipse.org/legal/epl-v10.html | |
7 | ******************************************************************************/ | |
8 | // | |
9 | // File: www_ericsson_com_is_isco_IsTypes_R4L06_R4AF11.ttcn | |
10 | // Description: | |
11 | // References: | |
12 | // Rev: | |
13 | // Prodnr: | |
14 | // Updated: Thu Jan 28 15:35:13 2010 | |
15 | // Contact: http://ttcn.ericsson.se | |
16 | // | |
17 | //////////////////////////////////////////////////////////////////////////////// | |
18 | // | |
19 | // Generated from file(s): | |
20 | // | |
21 | // - IsTypes.xsd | |
22 | // /* xml version = "1.0" encoding = "UTF-8" */ | |
23 | // /* targetnamespace = "http://www.ericsson.com/is/isco/IsTypes/R4L06/R4AF11" */ | |
24 | // | |
25 | //////////////////////////////////////////////////////////////////////////////// | |
26 | ||
27 | ||
28 | module www_ericsson_com_is_isco_IsTypes_R4L06_R4AF11 { | |
29 | ||
30 | ||
31 | import from XSD all; | |
32 | ||
33 | ||
34 | import from tail_f_com_ns_confd_1_0 all; | |
35 | ||
36 | ||
37 | type enumerated DummyEmptyType | |
38 | { | |
39 | x | |
40 | } | |
41 | with { | |
42 | variant "text 'x' as ''"; | |
43 | }; | |
44 | ||
45 | ||
46 | /* A MAC address | |
47 | in the form v1:v2:v3:v4:v5:v6 where v1 ... v6 is a | |
48 | hexadecimal number in the range 00 to FF. */ | |
49 | type XSD.Token MacAddress (pattern "[A-F0-9][A-F0-9]?:[A-F0-9][A-F0-9]?:[A-F0-9][A-F0-9]?:[A-F0-9][A-F0-9]?:[A-F0-9][A-F0-9]?:[A-F0-9][A-F0-9]?"); | |
50 | ||
51 | ||
52 | /* An IPv4 address | |
53 | in the form v1.v2.v3.v4 where v1 ... v4 is a | |
54 | decimal number in the range 0 to 255. */ | |
55 | type XSD.Token IpAddress (pattern "(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9]?[0-9]).(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9]?[0-9]).(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9]?[0-9]).(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9]?[0-9])"); | |
56 | ||
57 | ||
58 | /* Datatype for an integer according to SNMPv2 definition of | |
59 | unsigned32. */ | |
60 | type XSD.Integer Unsigned32 (0 .. 4294967295); | |
61 | ||
62 | ||
63 | } | |
64 | with { | |
65 | encode "XML"; | |
66 | variant "namespace as 'http://www.ericsson.com/is/isco/IsTypes/R4L06/R4AF11' prefix 'ist'"; | |
67 | variant "controlNamespace 'http://www.w3.org/2001/XMLSchema-instance' prefix 'xsi'"; | |
68 | variant "elementFormQualified"; | |
69 | } |