Sha256: aafcc11a9790d5192ee6cbaf22b9a0132e93e80824dd7015da072645c67edea3

Contents?: true

Size: 444 Bytes

Versions: 3

Compression:

Stored size: 444 Bytes

Contents

include "service-schemas.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

	s1 isa Service
	s2 isa Service
}

goal constraint {
	s1 {
		running is true
		on_machine is vm1
	}

	s2 {
		running is true
		on_machine is vm2
	}
}

global constraint {
	if s2.running then s1.running
}

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
sfp-0.2.1 test/nd-cloud1.sfp
sfp-0.2.0 test/nd-cloud1.sfp
sfp-0.1.3 test/nd-cloud1.sfp