source: addons/isp/demo/isp_demo.xml

Last change on this file was 62, checked in by chronos, 13 years ago
  • Přidáno: Evidence využitých frekvencí v modulu ISP.
File size: 14.1 KB
Line 
1<?xml version="1.0"?>
2<openerp>
3 <data noupdate="1">
4
5 <record model="network.device.type" id="device_type_desktop_pc">
6 <field name="name">Desktop computer</field>
7 <field name="running_permanent" eval="False"/>
8 </record>
9 <record model="network.device.type" id="device_type_notebook">
10 <field name="name">Notebook</field>
11 <field name="running_permanent" eval="False"/>
12 </record>
13 <record model="network.device.type" id="device_type_ipcam">
14 <field name="name">IP camera</field>
15 <field name="running_permanent" eval="True"/>
16 </record>
17 <record model="network.device.type" id="device_type_printer">
18 <field name="name">Printer</field>
19 <field name="running_permanent" eval="False"/>
20 </record>
21 <record model="network.device.type" id="device_type_server">
22 <field name="name">Server</field>
23 <field name="running_permanent" eval="True"/>
24 </record>
25 <record model="network.device.type" id="device_type_switch">
26 <field name="name">Switch</field>
27 <field name="running_permanent" eval="True"/>
28 </record>
29 <record model="network.device.type" id="device_type_router">
30 <field name="name">Router</field>
31 <field name="running_permanent" eval="True"/>
32 </record>
33 <record model="network.device.type" id="device_type_tv">
34 <field name="name">Television</field>
35 <field name="running_permanent" eval="False"/>
36 </record>
37 <record model="network.device.type" id="device_type_thermometer">
38 <field name="name">Thermometer</field>
39 <field name="running_permanent" eval="True"/>
40 </record>
41 <record model="network.device.type" id="device_type_voip">
42 <field name="name">VoIP device</field>
43 <field name="running_permanent" eval="True"/>
44 </record>
45
46
47 <record model="network.interface.type" id="interface_type_ethernet_metalic">
48 <field name="name">Metalic ethernet</field>
49 <field name="full_duplex" eval="True"/>
50 <field name="wireless" eval="False"/>
51 </record>
52 <record model="network.interface.type" id="interface_type_ethernet_wifi_b">
53 <field name="name">Wi-Fi 802.11b 11Mbit</field>
54 <field name="full_duplex" eval="False"/>
55 <field name="wireless" eval="True"/>
56 </record>
57 <record model="network.interface.type" id="interface_type_ethernet_wifi_g">
58 <field name="name">Wi-Fi 802.11g 54Mbit</field>
59 <field name="full_duplex" eval="False"/>
60 <field name="wireless" eval="True"/>
61 </record>
62 <record model="network.interface.type" id="interface_type_ethernet_wifi_a">
63 <field name="name">Wi-Fi 802.11a 54Mbit</field>
64 <field name="full_duplex" eval="False"/>
65 <field name="wireless" eval="True"/>
66 </record>
67 <record model="network.interface.type" id="interface_type_ethernet_wifi_n_150">
68 <field name="name">Wi-Fi 802.11n 150Mbit</field>
69 <field name="full_duplex" eval="False"/>
70 <field name="wireless" eval="True"/>
71 </record>
72 <record model="network.interface.type" id="interface_type_ethernet_wifi_n_300">
73 <field name="name">Wi-Fi 802.11n 300Mbit</field>
74 <field name="full_duplex" eval="False"/>
75 <field name="wireless" eval="True"/>
76 </record>
77 <record model="network.interface.type" id="interface_type_optics">
78 <field name="name">Optic ethernet</field>
79 <field name="full_duplex" eval="True"/>
80 <field name="wireless" eval="True"/>
81 </record>
82 <record model="network.interface.type" id="interface_type_wireless_10G">
83 <field name="name">Wireless 10 GHz</field>
84 <field name="full_duplex" eval="True"/>
85 <field name="wireless" eval="True"/>
86 </record>
87 <record model="network.interface.type" id="interface_type_wireless_24G">
88 <field name="name">Wireless 24 GHz</field>
89 <field name="full_duplex" eval="True"/>
90 <field name="wireless" eval="True"/>
91 </record>
92 <record model="network.interface.type" id="interface_type_wireless_80G">
93 <field name="name">Wireless 80 GHz</field>
94 <field name="full_duplex" eval="True"/>
95 <field name="wireless" eval="True"/>
96 </record>
97 <record model="network.interface.type" id="interface_type_cdma">
98 <field name="name">CDMA 450 MHz</field>
99 <field name="full_duplex" eval="False"/>
100 <field name="wireless" eval="True"/>
101 </record>
102 <record model="network.interface.type" id="interface_type_homeplug">
103 <field name="name">Homeplug over 230V</field>
104 <field name="full_duplex" eval="False"/>
105 <field name="wireless" eval="False"/>
106 </record>
107 <record model="network.interface.type" id="interface_type_adsl">
108 <field name="name">ADSL</field>
109 <field name="full_duplex" eval="False"/>
110 <field name="wireless" eval="False"/>
111 </record>
112 <record model="network.interface.type" id="interface_type_vdsl">
113 <field name="name">VDSL</field>
114 <field name="full_duplex" eval="False"/>
115 <field name="wireless" eval="False"/>
116 </record>
117 <record model="network.interface.type" id="interface_type_3g">
118 <field name="name">3G (UTMS, HSDPA)</field>
119 <field name="full_duplex" eval="False"/>
120 <field name="wireless" eval="True"/>
121 </record>
122 <record model="network.interface.type" id="interface_type_wimax">
123 <field name="name">WiMax</field>
124 <field name="full_duplex" eval="False"/>
125 <field name="wireless" eval="True"/>
126 </record>
127 <record model="network.interface.type" id="interface_type_lte">
128 <field name="name">LTE</field>
129 <field name="full_duplex" eval="False"/>
130 <field name="wireless" eval="True"/>
131 </record>
132
133
134 <record model="network.service.type" id="service_internet">
135 <field name="name">Internet</field>
136 </record>
137 <record model="network.service.type" id="service_voip">
138 <field name="name">VoIP</field>
139 </record>
140 <record model="network.service.type" id="service_iptv">
141 <field name="name">IPTV</field>
142 </record>
143 <record model="network.service.type" id="service_ipcam">
144 <field name="name">IP camera</field>
145 </record>
146 <record model="network.service.type" id="service_server_hosting">
147 <field name="name">Server hosting</field>
148 </record>
149 <record model="network.service.type" id="service_vps_hosting">
150 <field name="name">VPS server hosting</field>
151 </record>
152 <record model="network.service.type" id="service_server_housing">
153 <field name="name">Server housing</field>
154 </record>
155 <record model="network.service.type" id="service_web_hosting">
156 <field name="name">Web hosting</field>
157 </record>
158 <record model="network.service.type" id="service_domain_reg">
159 <field name="name">Domain registration</field>
160 </record>
161
162
163 <record model="network.billing.period" id="billing_period_none">
164 <field name="name">None</field>
165 <field name="months">0</field>
166 </record>
167 <record model="network.billing.period" id="billing_period_month">
168 <field name="name">Monthly</field>
169 <field name="months">1</field>
170 </record>
171 <record model="network.billing.period" id="billing_period_querter">
172 <field name="name">Quarterly</field>
173 <field name="months">3</field>
174 </record>
175 <record model="network.billing.period" id="billing_period_half_year">
176 <field name="name">Half-yearly</field>
177 <field name="months">6</field>
178 </record>
179 <record model="network.billing.period" id="billing_period_year">
180 <field name="name">Yearly</field>
181 <field name="months">12</field>
182 </record>
183
184
185 <record model="network.point" id="point_praha">
186 <field name="name">Praha</field>
187 <field name="latitude">50.120578</field>
188 <field name="longitude">14.395981</field>
189 <field name="address_id" search="[]" model="res.partner.address"/>
190 </record>
191 <record model="network.point" id="point_brno">
192 <field name="name">Brno</field>
193 <field name="latitude">49.205935</field>
194 <field name="longitude">16.608353</field>
195 <field name="address_id" search="[]" model="res.partner.address"/>
196 </record>
197 <record model="network.point" id="point_ostrava">
198 <field name="name">Ostrava</field>
199 <field name="latitude">49.822037</field>
200 <field name="longitude">18.250580</field>
201 <field name="address_id" search="[]" model="res.partner.address"/>
202 </record>
203
204
205 <record model="network.device" id="device_router_praha">
206 <field name="name">Router Praha</field>
207 <field name="type_id" ref="device_type_router"/>
208 <field name="position" ref="point_praha"/>
209 <field name="partner_id" search="[]" model="res.partner"/>
210 </record>
211 <record model="network.device" id="device_router_brno">
212 <field name="name">Router Brno</field>
213 <field name="type_id" ref="device_type_router"/>
214 <field name="position" ref="point_brno"/>
215 <field name="partner_id" search="[]" model="res.partner"/>
216 </record>
217
218
219 <record model="network.address" id="address_google">
220 <field name="name">base</field>
221 <field name="ipv4">74.125.39.103</field>
222 <field name="ipv6">2001:4860:b002::68</field>
223 </record>
224 <record model="network.address" id="address_router1">
225 <field name="name">router1</field>
226 <field name="ipv4">192.168.0.1</field>
227 <field name="ipv6">2001:FFFF:b002::1</field>
228 </record>
229 <record model="network.address" id="address_router2">
230 <field name="name">router2</field>
231 <field name="ipv4">192.168.0.2</field>
232 <field name="ipv6">2001:FFFF:b002::2</field>
233 </record>
234 <record model="network.address" id="address_router3">
235 <field name="name">router3</field>
236 <field name="ipv4">10.0.0.1</field>
237 <field name="ipv6">2001:2442:C422::1</field>
238 </record>
239 <record model="network.address" id="address_router4">
240 <field name="name">router4</field>
241 <field name="ipv4">10.0.0.2</field>
242 <field name="ipv6">2001:2442:C422::2</field>
243 </record>
244
245
246 <record model="network.link" id="interface_link1">
247 <field name="name">link1</field>
248 <field name="point_ids" eval="[(4, ref('point_praha')),
249 (4, ref('point_ostrava'))]"/>
250 </record>
251 <record model="network.link" id="interface_link2">
252 <field name="name">link2</field>
253 </record>
254
255
256 <record model="network.interface" id="interface_eth0">
257 <field name="name">eth0</field>
258 <field name="type_id" ref="interface_type_optics"/>
259 <field name="device_id" ref="device_router_praha"/>
260 <field name="mac">00:01:FE:32:56:26</field>
261 <field name="local_address_id" ref="address_router1"/>
262 <field name="link_id" ref="interface_link1"/>
263 </record>
264 <record model="network.interface" id="interface_eth0">
265 <field name="name">eth1</field>
266 <field name="type_id" ref="interface_type_wireless_10G"/>
267 <field name="device_id" ref="device_router_praha"/>
268 <field name="mac">00:01:FE:32:56:27</field>
269 <field name="local_address_id" ref="address_router3"/>
270 <field name="link_id" ref="interface_link2"/>
271 </record>
272 <record model="network.interface" id="interface_eth0">
273 <field name="name">eth0</field>
274 <field name="type_id" ref="interface_type_optics"/>
275 <field name="device_id" ref="device_router_brno"/>
276 <field name="mac">00:01:FE:32:54:22</field>
277 <field name="local_address_id" ref="address_router2"/>
278 <field name="link_id" ref="interface_link1"/>
279 </record>
280
281
282 <record model="network.service" id="service_internet_1M">
283 <field name="name">Internet 1Mbit</field>
284 <field name="type_id" ref="service_internet"/>
285 <field name="price">200</field>
286 <field name="available" eval="True"/>
287 </record>
288 <record model="network.service" id="service_internet_2M">
289 <field name="name">Internet 2Mbit</field>
290 <field name="type_id" ref="service_internet"/>
291 <field name="price">300</field>
292 <field name="available" eval="True"/>
293 </record>
294
295
296 <record model="network.domain" id="domain_company">
297 <field name="name">company.com</field>
298 </record>
299
300
301 <record model="network.subnet" id="service_subnet_main">
302 <field name="name">Main subnet</field>
303 <field name="address">192.168.0.0</field>
304 <field name="prefix">24</field>
305 <field name="dhcp_id" ref="address_router3"/>
306 <field name="dns_ids" eval="[(4, ref('address_router1')),
307 (4, ref('address_router2'))]"/>
308 <field name="gateway_id" ref="address_router2"/>
309 <field name="wins_id" ref="address_router3"/>
310 <field name="domain_id" ref="domain_company"/>
311 <field name="partner_id" search="[]" model="res.partner"/>
312 </record>
313 </data>
314</openerp>
Note: See TracBrowser for help on using the repository browser.