File: mlnx_dnsmasq

package info (click to toggle)
networking-mlnx 1%3A13.1.0-2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 704 kB
  • sloc: python: 4,863; sh: 180; makefile: 36
file content (56 lines) | stat: -rw-r--r-- 1,012 bytes parent folder | download | duplicates (2)
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
#!/bin/bash
#
# lib/mlnx_dnsmasq
# Functions to control the configuration and operation of the mlnx_dnsmasq driver
# <do not include this template file in ``stack.sh``!>

# Dependencies:
#
# - ``functions`` file
# - ``SERVICE_{TENANT_NAME|PASSWORD}`` must be defined
# - <list other global vars that are assumed to be defined>

# ``stack.sh`` calls the entry points in this order:
#
# - install_mlnx_dnsmasq
# - configure_mlnx_dnsmasq


# Save trace setting
MY_XTRACE=$(set +o | grep xtrace)
set +o xtrace


NEUTRON_DCHP_CONF=/etc/neutron/dhcp_agent.ini

function install_mlnx_dnsmasq {
    :
}

function configure_mlnx_dnsmasq {
    iniset /$NEUTRON_DCHP_CONF DEFAULT dhcp_broadcast_reply True
    iniset /$NEUTRON_DCHP_CONF DEFAULT dhcp_driver networking_mlnx.dhcp.mlnx_dhcp.MlnxDnsmasq
}

function init_mlnx_dnsmasq {
    :
}

function start_mlnx_dnsmasq {
   :
}

function stop_mlnx_dnsmasq {
   :
}

function check_mlnx_dnsmasq {
    :
}

function cleanup_mlnx_dnsmasq {
    :
}

# Restore trace
$MY_XTRACE