Completed
Push — master ( 8d9de4...6fdc5a )
by Thomas
10:31
created

exabgp.application   A

Complexity

Total Complexity 6

Size/Duplication

Total Lines 45
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 19
dl 0
loc 45
rs 10
c 0
b 0
f 0
wmc 6

6 Functions

Rating   Name   Duplication   Size   Complexity  
A run_control() 0 4 1
A main() 0 4 1
A run_exabgp() 0 4 1
A run_healthcheck() 0 4 1
A run_cli() 0 4 1
A run_exabmp() 0 4 1
1
# encoding: utf-8
2
"""
3
__init__.py
4
5
Created by Thomas Mangin on 2014-12-31.
6
Copyright (c) 2014-2017 Exa Networks. All rights reserved.
7
License: 3-clause BSD. (See the COPYRIGHT file)
8
"""
9
10
11
def main():
12
    from exabgp.application.main import main
13
14
    main()
15
16
17
def run_exabgp():
18
    from exabgp.application.bgp import main
19
20
    main()
21
22
23
def run_exabmp():
24
    from exabgp.application.bmp import main
25
26
    main()
27
28
29
def run_healthcheck():
30
    from exabgp.application.healthcheck import main
31
32
    main()
33
34
35
def run_cli():
36
    from exabgp.application.cli import main
37
38
    main()
39
40
41
def run_control():
42
    from exabgp.application.control import main
43
44
    main()
45