Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • S snf-ganeti
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • itmineduitminedu
  • snf-ganeti
  • Repository
Switch branch/tag
  • snf-ganeti
  • lib
  • opcodes.py
Find file BlameHistoryPermalink
  • Michael Hanselmann's avatar
    opcodes: Add function for compact summary · 3ce9a5e7
    Michael Hanselmann authored May 09, 2011
    
    
    Depending on the opcode and its parameters, the existing “Summary”
    function can give a rater long summary. For displaying the summary in
    logs and in the lock monitor, it should be shorter. Hence this new
    function is added to just use the opcode ID with common prefixes
    replaced (e.g. “INSTANCE_” becomes “I_”). Opcode values are not used.
    
    Signed-off-by: default avatarMichael Hanselmann <hansmi@google.com>
    Reviewed-by: default avatarIustin Pop <iustin@google.com>
    3ce9a5e7