Blame view

config/schemas/schema_computer-2.0.yml 1022 Bytes
adb4a3dd   Alexis Koralewski   Updating script f...
1
2
3
4
schema;schema_computer:
  type: map
  required: True
  mapping:
ee2a5e47   Alexis Koralewski   New version of ob...
5
    inventory_label:
adb4a3dd   Alexis Koralewski   Updating script f...
6
7
      type: str
      required: True
ee2a5e47   Alexis Koralewski   New version of ob...
8
    manufacturer: 
adb4a3dd   Alexis Koralewski   Updating script f...
9
10
      type: str
      required: True
ee2a5e47   Alexis Koralewski   New version of ob...
11
    model: 
adb4a3dd   Alexis Koralewski   Updating script f...
12
13
      type: str
      required: True
ee2a5e47   Alexis Koralewski   New version of ob...
14
    description: 
adb4a3dd   Alexis Koralewski   Updating script f...
15
16
      type: str
      required: True
ee2a5e47   Alexis Koralewski   New version of ob...
17
    sn: 
adb4a3dd   Alexis Koralewski   Updating script f...
18
19
      type: str
      required: True
ee2a5e47   Alexis Koralewski   New version of ob...
20
    power:
adb4a3dd   Alexis Koralewski   Updating script f...
21
22
23
      type: map
      required: True
      mapping:
ee2a5e47   Alexis Koralewski   New version of ob...
24
        voltage: 
adb4a3dd   Alexis Koralewski   Updating script f...
25
26
          type: int
          required: True
ee2a5e47   Alexis Koralewski   New version of ob...
27
        intensity: 
adb4a3dd   Alexis Koralewski   Updating script f...
28
29
          type: int
          required: True
ee2a5e47   Alexis Koralewski   New version of ob...
30
        socket: 
adb4a3dd   Alexis Koralewski   Updating script f...
31
32
33
          type: str
          required: True
    
ee2a5e47   Alexis Koralewski   New version of ob...
34
    hostname: 
adb4a3dd   Alexis Koralewski   Updating script f...
35
36
      type: str
      required: True
ee2a5e47   Alexis Koralewski   New version of ob...
37
    virtual_machine: 
adb4a3dd   Alexis Koralewski   Updating script f...
38
39
      type: bool
      required: True
ee2a5e47   Alexis Koralewski   New version of ob...
40
    os: 
adb4a3dd   Alexis Koralewski   Updating script f...
41
42
      type: str
      required: True
ee2a5e47   Alexis Koralewski   New version of ob...
43
    os_version: 
adb4a3dd   Alexis Koralewski   Updating script f...
44
45
      type: str
      required: True
ee2a5e47   Alexis Koralewski   New version of ob...
46
    network_interfaces: 
adb4a3dd   Alexis Koralewski   Updating script f...
47
48
49
50
51
52
53
54
55
56
57
58
59
      type: seq
      required: True
      sequence:
        - type: str
        
type: map
required: True
mapping:
  schema:
    type: str
    required: True
  COMPUTER:
    include: schema_computer