Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

API Overview

SmartForge provides comprehensive management capabilities through two complementary APIs.

Architecture

Both APIs operate concurrently and share the same underlying data model, ensuring consistency across protocols.

graph TB
    Client1[gRPC Client] -->|Port 50051| GrpcServer[gRPC Server]
    Client2[Redfish Client] -->|Port 8080| RedfishServer[Redfish Server]
    GrpcServer --> Model[Shared Data Model]
    RedfishServer --> Model
    Model --> Chassis[Chassis Management]
    Model --> Memory[Memory Management]
    Model --> Tasks[Task Management]

When to Use Each API

Use gRPC When:

  • You need real-time bidirectional streaming
  • Performance is critical
  • You’re building custom applications
  • You want efficient binary protocol

Use Redfish When:

  • You need industry-standard compliance
  • You’re using existing Redfish tools
  • You prefer REST/HTTP
  • You need broad ecosystem support