Sha256: f098ac3069b3a9fbe08b571d2fcdcfce9abbc842db5acbd88678d34443bb018e

Contents?: true

Size: 608 Bytes

Versions: 2

Compression:

Stored size: 608 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 )
	}*/
	mycloud isa Cloud {
		running is true
	}

	vm1 isa VM
	vm2 isa VM
	vm3 isa VM

	lb1 isa LoadBalancer
	//ws1 isa WebService
	app1 isa AppService
	db1 isa DatabaseService
}

goal constraint {
	lb1 {
		installed is true
		on_machine is vm1
	}
	//ws1.installed is true
	app1 {
		installed is true
		on_machine is vm3
	}
	db1 {
		running is true
		on_machine is vm4
	}
}

global constraint {
}

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
sfp-0.1.1 test/cloud3.sfp
sfp-0.1.0 test/cloud3.sfp