Skip to content

Commit

Permalink
Merge pull request #96 from sunithasomanna/odim-5616
Browse files Browse the repository at this point in the history
Merge to dev - Updating relevant feedback items given for the plugin sections in the Getting Started readme
  • Loading branch information
shivacharanms authored Feb 25, 2022
2 parents 4c4cf6b + f88e657 commit 871efbe
Showing 1 changed file with 29 additions and 17 deletions.
46 changes: 29 additions & 17 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -170,21 +170,25 @@ Kubernetes cluster is set up and the resource aggregator is successfully deploye
The Helm package for the Cisco ACI plugin is created in the tgz format.
8. Navigate to the `ODIM` directory.
8. Save the Cisco ACI plugin Docker image on the deployment node at `~/plugins/aciplugin`.
```
cd ODIM
docker save aciplugin:3.0 -o ~/plugins/aciplugin/aciplugin.tar
```
9. Save the Cisco ACI plugin Docker image on the deployment node at `~/plugins/aciplugin`.
9. Navigate to the `PluginCiscoACI` directory.
```
cd ~/PluginCiscoACI
```
docker save aciplugin:2.0 -o ~/plugins/aciplugin/aciplugin.tar
```

10. Save the proxy configuration file `install/templates/aciplugin_proxy_server.conf.j2` to `~/plugins/aciplugin`.
10. Copy the proxy configuration file `install/templates/aciplugin_proxy_server.conf.j2` to `~/plugins/aciplugin`.

```
cp install/templates/aciplugin_proxy_server.conf.j2 ~/plugins/aciplugin
```
**Important**: Do NOT change the value of any parameter in this file.
**Important**: Do NOT change the value of any parameter in this file.
11. Navigate to the `/ODIM/odim-controller/scripts` directory on the deployment node.
Expand All @@ -196,7 +200,7 @@ Kubernetes cluster is set up and the resource aggregator is successfully deploye
vi kube_deploy_nodes.yaml
13. Update the following parameters in the `kube_deploy_nodes.yaml` file to their corresponding values:
13. Specify values for the following parameters in the `kube_deploy_nodes.yaml` file:
| Parameter | Value |
| ---------------------------- | ------------------------------------------------------------ |
Expand All @@ -205,11 +209,18 @@ Kubernetes cluster is set up and the resource aggregator is successfully deploye
| odimraServerCertFQDNSan | The FQDN to be included in the server certificate of Resource Aggregator for ODIM for deploying the ACI plugin:<br /> `aciplugin`, `aciplugin-events`<br> Add these values to the existing comma-separated list.<br> |
odimPluginPath: /home/bruce/plugins
connectionMethodConf:
- ConnectionMethodType: Redfish
ConnectionMethodVariant: Fabric:BasicAuth:ACI_v1.0.0
odimraKafkaClientCertFQDNSan: aciplugin,aciplugin-events
odimraServerCertFQDNSan: aciplugin,aciplugin-events
odimra:
groupID: 2021
userID: 2021
namespace: odim
fqdn:
rootServiceUUID:
haDeploymentEnabled: True
connectionMethodConf:
- ConnectionMethodType: Redfish
ConnectionMethodVariant: Fabric:BasicAuth:ACI_v1.0.0
odimraKafkaClientCertFQDNSan: aciplugin,aciplugin-events
odimraServerCertFQDNSan: aciplugin,aciplugin-events
14. Move odimra_kafka_client.key, odimra_kafka_client.crt, odimra_server.key and odimra_server.crt stored in odimCertsPath to a different folder.
Expand Down Expand Up @@ -276,7 +287,7 @@ The plugin you want to add is successfully deployed.
"Password":"Plug!n12$4",
"Links":{
"ConnectionMethod": {
"@odata.id": "/redfish/v1/AggregationService/ConnectionMethods/d172e66c-b4a8-437c-981b-1c07ddfeacaa"
"@odata.id": "/redfish/v1/AggregationService/ConnectionMethods/{ConnectionMethodId}"
}
}
}
Expand Down Expand Up @@ -321,18 +332,19 @@ The plugin you want to add is successfully deployed.
echo -n '{odim_username}:{odim_password}' | base64 -w0
```
Default username is `admin` and default password is `Od!m12$4`.
Replace `{base64_encoded_string_of_[odim_username:odim_password]}` with the generated base64 encoded string in the curl command. You will receive:
- An HTTP `202 Accepted` status code.
- A link to the task monitor associated with this operation in the response header.
- A link of the executed task. Performing a `GET` operation on this link displays the task monitor associated with this operation in the response header.
To know the status of this task, perform HTTP `GET` on the `taskmon` URI until the task is complete. If the plugin is added successfully, you will receive an HTTP `200 OK` status code.
To know the status of this task, perform HTTP `GET` on the `taskmon` URI until the task is complete. If the plugin is added successfully, you will receive an HTTP `200 OK` status code.
After the plugin is successfully added, it will also be available as a manager resource at:
`/redfish/v1/Managers`
For more information, refer to "Adding a plugin" in the [Resource Aggregator for Open Distributed Infrastructure Management™ API Reference and User Guide](https://github.com/ODIM-Project/ODIM/tree/development/docs).
For more information, refer to "Adding a plugin" in the [Resource Aggregator for Open Distributed Infrastructure Management™ API Reference and User Guide](https://github.com/ODIM-Project/ODIM/tree/development/docs).
2. To verify that the added plugin is active and running, do the following:
Expand Down

0 comments on commit 871efbe

Please sign in to comment.