aboutsummaryrefslogtreecommitdiffstats
path: root/deploy/conf/hardware_environment/huawei-pod4/os-onos-sfc-ha.yml
blob: 01dd3a80d2495fde08e9fa4393a3e29134a81663 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
##############################################################################
# Copyright (c) 2016 HUAWEI TECHNOLOGIES CO.,LTD and others.
#
# All rights reserved. This program and the accompanying materials
# are made available under the terms of the Apache License, Version 2.0
# which accompanies this distribution, and is available at
# http://www.apache.org/licenses/LICENSE-2.0
##############################################################################

---
TYPE: baremetal
FLAVOR: cluster
POWER_TOOL: ipmitool

ipmiUser: root
ipmiVer: '2.0'

hosts:
  - name: host1
    mac: 'E8:4D:D0:BA:63:49'
    interfaces:
      - eth1: 'E8:4D:D0:BA:63:4A'
    ipmiIp: 172.16.131.17
    ipmiPass: Huawei@123
    roles:
      - controller
      - ha
      - onos
      - ceph-adm
      - ceph-mon

  - name: host2
    mac: 'E8:4D:D0:BB:AA:C5'
    interfaces:
      - eth1: 'E8:4D:D0:BB:AA:C6'
    ipmiIp: 172.16.131.18
    ipmiPass: Huawei@123
    roles:
      - controller
      - ha
      - onos
      - ceph-mon

  - name: host3
    mac: 'E8:4D:D0:B9:1F:49'
    interfaces:
      - eth1: 'E8:4D:D0:B9:1F:4A'
    ipmiIp: 172.16.131.19
    ipmiPass: Huawei@123
    roles:
      - controller
      - ha
      - onos
      - ceph-mon

  - name: host4
    mac: 'E8:4D:D0:BB:AA:E9'
    interfaces:
      - eth1: 'E8:4D:D0:BB:AA:EA'
    ipmiIp: 172.16.131.20
    ipmiPass: Huawei@123
    roles:
      - compute
      - ceph-osd

  - name: host5
    mac: 'E8:4D:D0:BB:AB:1D'
    interfaces:
      - eth1: 'E8:4D:D0:BB:AB:1E'
    ipmiIp: 172.16.131.21
    ipmiPass: Huawei@123
    roles:
      - compute
      - ceph-osd
/span> const char *name; struct klp_reloc *relocs; struct klp_func *funcs; /* internal */ struct kobject kobj; struct module *mod; enum klp_state state; }; /** * struct klp_patch - patch structure for live patching * @mod: reference to the live patch module * @objs: object entries for kernel objects to be patched * @list: list node for global list of registered patches * @kobj: kobject for sysfs resources * @state: tracks patch-level application state */ struct klp_patch { /* external */ struct module *mod; struct klp_object *objs; /* internal */ struct list_head list; struct kobject kobj; enum klp_state state; }; #define klp_for_each_object(patch, obj) \ for (obj = patch->objs; obj->funcs; obj++) #define klp_for_each_func(obj, func) \ for (func = obj->funcs; func->old_name; func++) int klp_register_patch(struct klp_patch *); int klp_unregister_patch(struct klp_patch *); int klp_enable_patch(struct klp_patch *); int klp_disable_patch(struct klp_patch *); #endif /* CONFIG_LIVEPATCH */ #endif /* _LINUX_LIVEPATCH_H_ */