dhodovsk / source-git / pacemaker

Forked from source-git/pacemaker 3 years ago
Clone

Blame daemons/controld/crmd_dsa.dot

rpm-build 3ee90c
digraph "g" {
rpm-build 3ee90c
	graph [
rpm-build 3ee90c
		fontsize = "12"
rpm-build 3ee90c
		fontname = "Times-Roman"
rpm-build 3ee90c
		fontcolor = "black"
rpm-build 3ee90c
		bb = "0,0,398.922306,478.927856"
rpm-build 3ee90c
		color = "black"
rpm-build 3ee90c
	]
rpm-build 3ee90c
	node [
rpm-build 3ee90c
		fontsize = "12"
rpm-build 3ee90c
		fontname = "Times-Roman"
rpm-build 3ee90c
		fontcolor = "black"
rpm-build 3ee90c
		shape = "ellipse"
rpm-build 3ee90c
		color = "black"
rpm-build 3ee90c
	]
rpm-build 3ee90c
	edge [
rpm-build 3ee90c
		fontsize = "12"
rpm-build 3ee90c
		fontname = "Times-Roman"
rpm-build 3ee90c
		fontcolor = "black"
rpm-build 3ee90c
		color = "black"
rpm-build 3ee90c
	]
rpm-build 3ee90c
rpm-build 3ee90c
// special nodes
rpm-build 3ee90c
	"S_STARTING" 
rpm-build 3ee90c
	[
rpm-build 3ee90c
	 color = "blue"
rpm-build 3ee90c
	 fontcolor = "blue"
rpm-build 3ee90c
	 ]
rpm-build 3ee90c
	"S_TERMINATE" 
rpm-build 3ee90c
	[
rpm-build 3ee90c
	 color = "red"
rpm-build 3ee90c
	 fontcolor = "red"
rpm-build 3ee90c
	 ]
rpm-build 3ee90c
rpm-build 3ee90c
// DC only nodes
rpm-build 3ee90c
	"S_RECOVERY_DC" [ fontcolor = "green" ]
rpm-build 3ee90c
	"S_INTEGRATION" [ fontcolor = "green" ]
rpm-build 3ee90c
	"S_POLICY_ENGINE" [ fontcolor = "green" ]
rpm-build 3ee90c
	"S_TRANSITION_ENGINE" [ fontcolor = "green" ]
rpm-build 3ee90c
	"S_RELEASE_DC" [ fontcolor = "green" ]
rpm-build 3ee90c
	"S_<ANY_DC>" [ fontcolor = "green" ]
rpm-build 3ee90c
	"S_IDLE" [ fontcolor = "green" ]
rpm-build 3ee90c
rpm-build 3ee90c
// state transitions
rpm-build 3ee90c
	"S_<ANY>" -> "S_ELECTION" [ label = "I_DC_TIMEOUT" ]
rpm-build 3ee90c
	"S_<ANY>" -> "S_RECOVERY"  [ label = "I_ERROR" ]
rpm-build 3ee90c
	"S_<ANY>" -> "S_<ANY>" [ label = "I_ROUTER,\nI_REQUEST" ]
rpm-build 3ee90c
rpm-build 3ee90c
	"S_<ANY_DC>" -> "S_RELEASE_DC"  [ label = "I_SHUTDOWN" ]
rpm-build 3ee90c
	"S_<ANY_DC>" -> "S_INTEGRATION"  [ label = "I_NODE_JOIN" ]
rpm-build 3ee90c
	"S_<ANY_DC>" -> "S_POLICY_ENGINE"  [ label = "I_CIB_UPDATE,\nI_NODE_LEFT,\nI_NODE_LEAVING" ]
rpm-build 3ee90c
	"S_<ANY_DC>" -> "S_RECOVERY_DC" [ label = "I_ERROR" ]
rpm-build 3ee90c
	"S_<ANY_DC>" -> "S_<ANY_DC>" [ label = "I_ROUTER,\nI_REQUEST" ]
rpm-build 3ee90c
rpm-build 3ee90c
	"S_ELECTION" -> "S_INTEGRATION"  [ label = "I_ELECTION_DC" ]
rpm-build 3ee90c
	"S_ELECTION" -> "S_NOT_DC"  [ label = "I_NOT_DC" ]
rpm-build 3ee90c
	"S_ELECTION" -> "S_RELEASE_DC"  [ label = "I_ELECTION_RELEASE_DC" ]
rpm-build 3ee90c
rpm-build 3ee90c
	"S_INTEGRATION" -> "S_POLICY_ENGINE"  [ label = "I_SUCCESS" ]
rpm-build 3ee90c
rpm-build 3ee90c
	"S_NOT_DC" -> "S_STOPPING"  [ label = "I_SHUTDOWN" ]
rpm-build 3ee90c
rpm-build 3ee90c
	"S_POLICY_ENGINE" -> "S_TRANSITION_ENGINE"  [ label = "I_SUCCESS" ]
rpm-build 3ee90c
	"S_POLICY_ENGINE" -> "S_POLICY_ENGINE"  [ label = "I_FAIL\nI_RESTART" ]
rpm-build 3ee90c
rpm-build 3ee90c
	"S_RECOVERY_DC" -> "S_INTEGRATION" [ label = "I_RECOVERED" ]
rpm-build 3ee90c
	"S_RECOVERY_DC" -> "S_RELEASE_DC" [ label = "I_NOT_DC,\nI_SHUTDOWN" ]
rpm-build 3ee90c
rpm-build 3ee90c
	"S_RECOVERY" -> "S_STOPPING" [ label = "I_SHUTDOWN" ]
rpm-build 3ee90c
	"S_RECOVERY" -> "S_NOT_DC" [ label = "I_RECOVERED" ]
rpm-build 3ee90c
rpm-build 3ee90c
	"S_RELEASE_DC" -> "S_NOT_DC"  [ label = "I_RELEASE_SUCCESS" ]
rpm-build 3ee90c
	"S_RELEASE_DC" -> "S_STOPPING"  [ label = "I_RELEASE_FAIL" ]
rpm-build 3ee90c
rpm-build 3ee90c
	"S_STARTING" -> "S_STOPPING"  [ label = "I_FAIL" ]
rpm-build 3ee90c
	"S_STARTING" -> "S_NOT_DC"  [ label = "I_SUCCESS" ]
rpm-build 3ee90c
rpm-build 3ee90c
	"S_STOPPING" -> "S_TERMINATE"  [ label = "I_SUCCESS,\nI_FAIL" ]
rpm-build 3ee90c
rpm-build 3ee90c
	"S_TRANSITION_ENGINE" -> "S_POLICY_ENGINE"  [ label = "I_FAIL" ]
rpm-build 3ee90c
	"S_TRANSITION_ENGINE" -> "S_IDLE"  [ label = "I_SUCCESS" ]
rpm-build 3ee90c
}