summaryrefslogtreecommitdiff
path: root/meta-phosphor/common/recipes-phosphor/settings/phosphor-settings-defaults/defaults.yaml
blob: de00b8e68de0b756f732d082da05e28cf20dc7f1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
/xyz/openbmc_project/control/minimum_ship_level_required:
    - Interface: xyz.openbmc_project.Control.MinimumShipLevel
      Properties:
          MinimumShipLevelRequired:
             Default: 'true'

/xyz/openbmc_project/control/host0/auto_reboot:
    - Interface: xyz.openbmc_project.Control.Boot.RebootPolicy
      Properties:
          AutoReboot:
             Default: 'true'

/xyz/openbmc_project/control/host0/boot:
    - Interface: xyz.openbmc_project.Control.Boot.Source
      Properties:
          BootSource:
              Default: Source::Sources::Default
    - Interface: xyz.openbmc_project.Control.Boot.Mode
      Properties:
          BootMode:
              Default: Mode::Modes::Regular

/xyz/openbmc_project/control/host0/boot/one_time:
    - Interface: xyz.openbmc_project.Control.Boot.Source
      Properties:
          BootSource:
              Default: Source::Sources::Default
    - Interface: xyz.openbmc_project.Control.Boot.Mode
      Properties:
          BootMode:
              Default: Mode::Modes::Regular
    - Interface: xyz.openbmc_project.Object.Enable
      Properties:
          Enabled:
              Default: 'true'

/xyz/openbmc_project/control/host0/power_cap:
    - Interface: xyz.openbmc_project.Control.Power.Cap
      Properties:
          PowerCap:
              Default: 0
              Validation:
                  Type: "range"
                  Validator: "0..1000"
                  Unit: "Watts"
          PowerCapEnable:
               Default: 'false'
  
/xyz/openbmc_project/control/host0/power_restore_policy:
    - Interface: xyz.openbmc_project.Control.Power.RestorePolicy
      Properties:
          PowerRestorePolicy:
              Default: RestorePolicy::Policy::AlwaysOff

/xyz/openbmc_project/time/owner:
    - Interface: xyz.openbmc_project.Time.Owner
      Properties:
          TimeOwner:
              Default: Owner::Owners::BMC

/xyz/openbmc_project/time/sync_method:
    - Interface: xyz.openbmc_project.Time.Synchronization
      Properties:
          TimeSyncMethod:
              Default: Synchronization::Method::NTP

/xyz/openbmc_project/network/host0/intf:
    - Interface: xyz.openbmc_project.Network.MACAddress
      Properties:
          MACAddress:
              Default: '"00:00:00:00:00:00"'
              Validation:
                  Type: "regex"
                  Validator: '^([0-9A-Fa-f]{2}[:-]){5}([0-9A-Fa-f]{2})$'

#needs to implement address validation TODO openbmc/issues/2046
/xyz/openbmc_project/network/host0/intf/addr:
    - Interface: xyz.openbmc_project.Network.IP
      Properties:
          Address:
              Default: '"0.0.0.0"'
          PrefixLength:
              Default: 0
              Validation:
                  Type: "range"
                  Validator: 0..128
                  Unit: "bits"
          Origin:
              Default: IP::AddressOrigin::Static
          Gateway:
              Default: '"0.0.0.0"'
          Type:
              Default: IP::Protocol::IPv4

/xyz/openbmc_project/control/host0/restriction_mode:
    - Interface: xyz.openbmc_project.Control.Security.RestrictionMode
      Properties:
          RestrictionMode:
              Default: RestrictionMode::Modes::None

/xyz/openbmc_project/control/host0/TPMEnable:
    - Interface: xyz.openbmc_project.Control.TPM.Policy
      Properties:
          TPMEnable:
             Default: 'false'

/xyz/openbmc_project/control/power_supply_redundancy:
    - Interface: xyz.openbmc_project.Control.PowerSupplyRedundancy
      Properties:
          PowerSupplyRedundancyEnabled:
             Default: 'true'

/xyz/openbmc_project/control/host0/turbo_allowed:
    - Interface: xyz.openbmc_project.Control.Host.TurboAllowed
      Properties:
          TurboAllowed:
             Default: 'true'