百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
G

go-puccini

> 编程语言
开源

基于 TOSCA 的云拓扑管理和部署工具

99 stars0 点赞1 次浏览
访问官网GitHub

工具介绍

基于 TOSCA 的云拓扑管理和部署工具

Notice: This repository is in maintenance mode. Development has moved to the Rust language and is proceeding in the main repository.

Puccini

Cloud topology management and deployment tools based on TOSCA.

Puccini is primarily a TOSCA processor. It parses TOSCA service templates and compiles them into the Clout format.

Let's dive in!

  • Head to the tutorial. It will likely answer most of your questions.
  • Want to try it out without installing it? Here's a live demo of Puccini TOSCA running in a browser.

Note that Puccini is intentionally not an orchestrator. This is a "BYOO" kind of establishment ("Bring Your Own Orchestrator"). Available orchestration integrations:

  • Khutulun is an extensible TOSCA-native orchestrator
  • Kubernetes: Turandot packages Puccini as a Kubernetes operator and includes TOSCA types generated directly from the Kubernetes API
  • Ansible: Puccini is packaged for Ansible Galaxy
  • OpenStack: see these examples using Ansible (Puccini also natively supports OpenStack's Heat Orchestration Template language)
  • Process automation: see these examples for BPMN integration

Puccini is also available as a GitHub action, allowing you to validate and otherwise use TOSCA in your git workflow.

For a TOSCA development environment, check out the TOSCA Visual Studio Code Extension, which is based on Puccini (work in progress).

Get It

To build Puccini yourself see the build guide.

Overview

Distribution

Each tool is a self-contained executable file, allowing them to be easily distributed with and embedded in toolchains, orchestration, and development environments. They are coded in 100% Go and are very portable, even available for WebAssembly, which is how the in-browser demo linked above works.

You can also embed Puccini into your program as a library. Puccini is immediately usable from Go, but can be used in many other programming languages via self-contained shared C libraries. See included wrappers and examples for Java, Python, and Ruby.

Dialects

Puccini can parse all versions of TOSCA:

  • TOSCA 2.0
  • TOSCA 1.3
  • TOSCA 1.2
  • TOSCA 1.1
  • TOSCA 1.0

Additionally, Puccini can parse the following TOSCA-like dialects:

  • Cloudify DSL 1.3
  • OpenStack Heat Orchestration Template language (HOT) 2021-04-16

TOSCA is a complex object-oriented language. We put considerable effort into adhering to every aspect of the grammar, especially in regards to data type checking and type inheritance contracts, which are key to delivering the object-oriented promise of extensibility while maintaining reliable base-type compatibility. Unfortunately, in earlier versions of TOSCA some grammatical features and even some syntax have been specified in ways that are open to interpretation. Puccini picks one interpretation by default, but also supports quirk modes that enable alternative behaviors.

Packaging

The TOSCA source can be accessed by URL, either on the local file systems or via HTTP/HTTPS, as individual files as well as packaged in CSAR files.

Puccini also comes with a simple CSAR creation tool that can be used independently of the other tools, puccini-csar.

Design Principles

Puccini's TOSCA parser comprises 6 multi-threaded phases that handle validation, inheritance, assignment, and normalization of TOSCA's many types and templates, resulting in a flat, serializable data structure that can be directly consumed by your program. Validation error messages are precise and useful.

FAQ

Please read it!

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

Gocloudorchestrationtosca

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月18日
分类编程语言
定价开源

> 相关工具

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言