Skip to content

cholcombe973/ceph_command_parser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ceph_command_parser

https://github.com/ceph/ceph/blob/master/src/mon/MonCommands.h contains the list of all possible Ceph commands that can be sent to the cluster. This utility will parse that file and build Python code to talk to Ceph with the API commands.

Running the code generally goes like this:

  • install python yapf
  • cargo build
  • cat /tmp/MonCommands.h | ./target/debug/command_parser | yapf > ceph_command.py
  • git commit the ceph_command.py and push it

About

Parses the src/mon/MonCommands.h file

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages