Sha256: b2ee70f2aadadbaf8a0ef4357479ca5badee985df9655cf2d104544fd987bd87
Contents?: true
Size: 551 Bytes
Versions: 2
Compression:
Stored size: 551 Bytes
Contents
include "service-classes.sfp" // generate all possible states with constraint solver initial state { cloud1 isa Cloud { running either ( true, false ) } cloud2 isa Cloud { running either ( true, false ) } vm1 isa VM vm2 isa VM vm3 isa VM lb isa Service ws isa Service db isa Service } goal constraint { lb { running is true on_machine is vm1 } ws { running is true on_machine is vm2 } db { running is true on_machine is vm3 } } global constraint { if lb.running then ws.running if ws.running then db.running }
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
sfp-0.1.1 | test/cloud2.sfp |
sfp-0.1.0 | test/cloud2.sfp |