Skip to content

Commit 69e520a

Browse files
Merge pull request #6 from Cray-HPE/Add-OpenBMC-Stock-mockup
Add OpenBMC mockup
2 parents cd1a85e + 88a566a commit 69e520a

File tree

1,057 files changed

+126464
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,057 files changed

+126464
-0
lines changed

mockups/OpenBMC-stock/$metadata/index.xml

Lines changed: 3322 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"@odata.id": "/redfish/v1/AccountService/Accounts",
3+
"@odata.type": "#ManagerAccountCollection.ManagerAccountCollection",
4+
"Description": "BMC User Accounts",
5+
"Members": [
6+
{
7+
"@odata.id": "/redfish/v1/AccountService/Accounts/root"
8+
}
9+
],
10+
"Members@odata.count": 1,
11+
"Name": "Accounts Collection"
12+
}
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
{
2+
"@odata.id": "/redfish/v1/AccountService/Accounts/root",
3+
"@odata.type": "#ManagerAccount.v1_7_0.ManagerAccount",
4+
"AccountTypes": [
5+
"HostConsole",
6+
"IPMI",
7+
"Redfish",
8+
"WebUI",
9+
"ManagerConsole"
10+
],
11+
"Description": "User Account",
12+
"Enabled": true,
13+
"Id": "root",
14+
"Links": {
15+
"Role": {
16+
"@odata.id": "/redfish/v1/AccountService/Roles/Administrator"
17+
}
18+
},
19+
"Locked": false,
20+
"Locked@Redfish.AllowableValues": [
21+
"false"
22+
],
23+
"Name": "User Account",
24+
"Password": null,
25+
"PasswordChangeRequired": false,
26+
"RoleId": "Administrator",
27+
"StrictAccountTypes": true,
28+
"UserName": "root"
29+
}
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"@odata.id": "/redfish/v1/AccountService/LDAP/Certificates",
3+
"@odata.type": "#CertificateCollection.CertificateCollection",
4+
"Description": "A Collection of LDAP certificate instances",
5+
"Members": [],
6+
"Members@odata.count": 0,
7+
"Name": "LDAP Certificates Collection"
8+
}
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
{
2+
"@odata.id": "/redfish/v1/AccountService/Roles/Administrator",
3+
"@odata.type": "#Role.v1_2_2.Role",
4+
"AssignedPrivileges": [
5+
"Login",
6+
"ConfigureManager",
7+
"ConfigureUsers",
8+
"ConfigureSelf",
9+
"ConfigureComponents"
10+
],
11+
"Description": "Administrator User Role",
12+
"Id": "Administrator",
13+
"IsPredefined": true,
14+
"Name": "User Role",
15+
"OemPrivileges": [],
16+
"RoleId": "Administrator"
17+
}
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{
2+
"@odata.id": "/redfish/v1/AccountService/Roles/Operator",
3+
"@odata.type": "#Role.v1_2_2.Role",
4+
"AssignedPrivileges": [
5+
"Login",
6+
"ConfigureSelf",
7+
"ConfigureComponents"
8+
],
9+
"Description": "Operator User Role",
10+
"Id": "Operator",
11+
"IsPredefined": true,
12+
"Name": "User Role",
13+
"OemPrivileges": [],
14+
"RoleId": "Operator"
15+
}
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
"@odata.id": "/redfish/v1/AccountService/Roles/ReadOnly",
3+
"@odata.type": "#Role.v1_2_2.Role",
4+
"AssignedPrivileges": [
5+
"Login",
6+
"ConfigureSelf"
7+
],
8+
"Description": "ReadOnly User Role",
9+
"Id": "ReadOnly",
10+
"IsPredefined": true,
11+
"Name": "User Role",
12+
"OemPrivileges": [],
13+
"RoleId": "ReadOnly"
14+
}
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{
2+
"@odata.id": "/redfish/v1/AccountService/Roles",
3+
"@odata.type": "#RoleCollection.RoleCollection",
4+
"Description": "BMC User Roles",
5+
"Members": [
6+
{
7+
"@odata.id": "/redfish/v1/AccountService/Roles/Administrator"
8+
},
9+
{
10+
"@odata.id": "/redfish/v1/AccountService/Roles/Operator"
11+
},
12+
{
13+
"@odata.id": "/redfish/v1/AccountService/Roles/ReadOnly"
14+
}
15+
],
16+
"Members@odata.count": 3,
17+
"Name": "Roles Collection"
18+
}
Lines changed: 76 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,76 @@
1+
{
2+
"@odata.id": "/redfish/v1/AccountService",
3+
"@odata.type": "#AccountService.v1_10_0.AccountService",
4+
"AccountLockoutDuration": 0,
5+
"AccountLockoutThreshold": 0,
6+
"Accounts": {
7+
"@odata.id": "/redfish/v1/AccountService/Accounts"
8+
},
9+
"ActiveDirectory": {
10+
"Authentication": {
11+
"AuthenticationType": "UsernameAndPassword",
12+
"Password": null,
13+
"Username": ""
14+
},
15+
"LDAPService": {
16+
"SearchSettings": {
17+
"BaseDistinguishedNames": [
18+
""
19+
],
20+
"GroupsAttribute": "",
21+
"UsernameAttribute": ""
22+
}
23+
},
24+
"RemoteRoleMapping": [],
25+
"ServiceAddresses": [
26+
""
27+
],
28+
"ServiceEnabled": false
29+
},
30+
"Description": "Account Service",
31+
"Id": "AccountService",
32+
"LDAP": {
33+
"Authentication": {
34+
"AuthenticationType": "UsernameAndPassword",
35+
"Password": null,
36+
"Username": ""
37+
},
38+
"Certificates": {
39+
"@odata.id": "/redfish/v1/AccountService/LDAP/Certificates"
40+
},
41+
"LDAPService": {
42+
"SearchSettings": {
43+
"BaseDistinguishedNames": [
44+
""
45+
],
46+
"GroupsAttribute": "",
47+
"UsernameAttribute": ""
48+
}
49+
},
50+
"RemoteRoleMapping": [],
51+
"ServiceAddresses": [
52+
""
53+
],
54+
"ServiceEnabled": false
55+
},
56+
"MaxPasswordLength": 20,
57+
"MinPasswordLength": 8,
58+
"Name": "Account Service",
59+
"Oem": {
60+
"OpenBMC": {
61+
"@odata.id": "/redfish/v1/AccountService#/Oem/OpenBMC",
62+
"@odata.type": "#OpenBMCAccountService.v1_0_0.AccountService",
63+
"AuthMethods": {
64+
"BasicAuth": true,
65+
"Cookie": true,
66+
"SessionToken": true,
67+
"TLS": true,
68+
"XToken": true
69+
}
70+
}
71+
},
72+
"Roles": {
73+
"@odata.id": "/redfish/v1/AccountService/Roles"
74+
},
75+
"ServiceEnabled": true
76+
}
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"@odata.id": "/redfish/v1/Cables",
3+
"@odata.type": "#CableCollection.CableCollection",
4+
"Description": "Collection of Cable Entries",
5+
"Members": [],
6+
"Members@odata.count": 0,
7+
"Name": "Cable Collection"
8+
}

0 commit comments

Comments
 (0)