blob: 34e3efa516f8820aab3e71ae9442630f2d7aaf4f [file] [log] [blame]
Zbigniew Kurzynski9f2c7e22020-02-20 19:00:42 +01001description: >
Patrick Williamsa1347412022-12-06 10:56:22 -06002 Defines the object configuration like mounting mode, image paths, timouts
3 etc.
Zbigniew Kurzynski9f2c7e22020-02-20 19:00:42 +01004
5properties:
6 - name: EndPointId
7 type: string
8 description: Name of the Network Block Devices that will be used.
9 flags:
Patrick Williams8da396c2022-03-14 14:21:02 -050010 - const
Zbigniew Kurzynski9f2c7e22020-02-20 19:00:42 +010011 errors:
12 - xyz.openbmc_project.Common.Error.InternalFailure
13
14 - name: Mode
15 type: byte
16 description: Mounting mode, supported values are 0-proxy, 1-legacy.
17 flags:
Patrick Williams8da396c2022-03-14 14:21:02 -050018 - const
Zbigniew Kurzynski9f2c7e22020-02-20 19:00:42 +010019 errors:
20 - xyz.openbmc_project.Common.Error.InternalFailure
21
22 - name: Device
23 type: string
24 description: Name of mounted device.
25 flags:
Patrick Williams8da396c2022-03-14 14:21:02 -050026 - const
Zbigniew Kurzynski9f2c7e22020-02-20 19:00:42 +010027 errors:
28 - xyz.openbmc_project.Common.Error.InternalFailure
29
30 - name: Socket
31 type: string
32 description: Path to socket used to mount the image.
33 flags:
Patrick Williams8da396c2022-03-14 14:21:02 -050034 - const
Zbigniew Kurzynski9f2c7e22020-02-20 19:00:42 +010035 errors:
36 - xyz.openbmc_project.Common.Error.InternalFailure
37
38 - name: Timeout
39 type: uint16
40 description: >
Patrick Williamsa1347412022-12-06 10:56:22 -060041 Client connection timeout in seconds. If VirtualMedia cannot connect
42 successfully with served image the connection is dropped after that
43 timeout.
Zbigniew Kurzynski9f2c7e22020-02-20 19:00:42 +010044 flags:
Patrick Williams8da396c2022-03-14 14:21:02 -050045 - const
Zbigniew Kurzynski9f2c7e22020-02-20 19:00:42 +010046 errors:
47 - xyz.openbmc_project.Common.Error.InternalFailure
48
49 - name: BlockSize
50 type: uint16
51 description: Size of data block.
52 flags:
Patrick Williams8da396c2022-03-14 14:21:02 -050053 - const
Zbigniew Kurzynski9f2c7e22020-02-20 19:00:42 +010054 errors:
55 - xyz.openbmc_project.Common.Error.InternalFailure
56
57 - name: RemainingInactivityTimeout
58 type: uint16
59 description: >
Patrick Williamsa1347412022-12-06 10:56:22 -060060 Seconds to drop connection by server, for activated endpoint, 0
61 otherwise.
Zbigniew Kurzynski9f2c7e22020-02-20 19:00:42 +010062 flags:
Patrick Williams8da396c2022-03-14 14:21:02 -050063 - const
Zbigniew Kurzynski9f2c7e22020-02-20 19:00:42 +010064 errors:
65 - xyz.openbmc_project.Common.Error.InternalFailure
66
67 - name: ImageURL
68 type: string
69 description: URL to mounted image.
70 flags:
Patrick Williams8da396c2022-03-14 14:21:02 -050071 - const
Zbigniew Kurzynski9f2c7e22020-02-20 19:00:42 +010072 errors:
73 - xyz.openbmc_project.Common.Error.InternalFailure
Anna Platash395ba212020-11-19 12:44:00 +010074
75 - name: WriteProtected
76 type: boolean
77 description: >
Patrick Williamsa1347412022-12-06 10:56:22 -060078 Mounting mode, 'True' if the image is read only, 'False' otherwise.
Anna Platash395ba212020-11-19 12:44:00 +010079 flags:
Patrick Williams8da396c2022-03-14 14:21:02 -050080 - const
Anna Platash395ba212020-11-19 12:44:00 +010081 errors:
82 - xyz.openbmc_project.Common.Error.InternalFailure