File: architecture.txt

package info (click to toggle)
fence-virt 1.0.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 772 kB
  • sloc: ansic: 10,257; cpp: 382; makefile: 272; sh: 214; lex: 113; yacc: 105
file content (16 lines) | stat: -rw-r--r-- 784 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
The actual architecture of fence_virtd is very simple.  We have a set
of listener plugins which listens for fencing requests for virtual
machines.

These plugins are assigned callbacks which are entry functions in to
the backend plugins.  The backend plugins perform the actual fencing
request.

In the middle, we have only enough code to provide basic integration
functions between the listener and backend plugins.  This includes a 
very simple confiugration plugin which we pass to each of the plugins.

Because we are passing function pointers in to the plugins themselves
for configuration (rather than having the plugins call an API directly,
for example), we are able to swap out the configuration subsystem for
other, more full-featured configuration systems, such as libccs.