Ralph Command Line Interface

Installation

pip install ralph-beast

Documentation

Usage | Configuration

Sample commands

Show available resources
beast show
Show available fields for resource
beast show venture --schema
CSV list of all ventures
beast show venture --fields=name,roles,symbol --limit 0 --csv >/tmp/ventures.csv
Shows all cloud venture devices with barcodes and names
beast show dev --filter=venture__symbol=cloud --fields=barcode,id,name --csv
Search for all HP models known
beast show model --fields=name,id --csv | grep "HP"
Show model name of given id
beast show dev --filter=model=6701393
Show all racks beast show dev --fields=barcode,name --filter=model__type=1
Show all cloud serversbeast show dev --fields=name,model --filter=model__type=204
Show all switchesbeast show dev --fields=name,model --filter=model__type=203
Show all blades

beast show dev --fields=name,model --filter=model__type=202

Networks

Show all management networks with advanced info
beast show networks --fields=last_scan,min_ip,max_ip,name,remarks | grep mgmt

CMDB

Show all application CI's with technical owners
beast show ci --filter=layers=1 --fields=technical_owners,name
Show all services for given business line
beast show service --filter=business_line=Retail

Check out all 37 resources

Ralph beast has access to the all API resources in the easy way. You can make complex scripts using this API.

Scroll for more

Close