Commit d109f939 authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent 3a1b3c8f
...@@ -21,6 +21,9 @@ ...@@ -21,6 +21,9 @@
'ru/sdr': { 'ru/sdr': {
'txrx_active': 'ACTIVE', 'txrx_active': 'ACTIVE',
}, },
'ru/lopcomm': {
'mac_addr': '00:0a:00:00:10:20',
},
'cell/lte': { 'cell/lte': {
'pci': 1, 'pci': 1,
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
dhcp-leasefile={{ directory['etc'] }}/dnsmasq.leases dhcp-leasefile={{ directory['etc'] }}/dnsmasq.leases
port=5354 port=5354
dhcp-range=::1,::1,constructor:{{ slap_configuration.get('tap-name', '') }},ra-names,64,5m dhcp-range=::1,::1,constructor:{{ slap_configuration.get('tap-name', '') }},ra-names,64,5m
dhcp-host={{ slapparameter_dict.get('rrh_mac_addr', '00:0a:00:00:10:20') }},[{{ netaddr.IPAddress(slap_configuration.get('tap-ipv6-gateway', '')) }}] dhcp-host={{ ru.mac_addr }},[{{ netaddr.IPAddress(slap_configuration.get('tap-ipv6-gateway', '')) }}]
dhcp-option=option6:dns-server,[{{ netaddr.IPAddress(slap_configuration.get('tap-ipv6-gateway', '')) + 1 }}],[{{ netaddr.IPAddress(slap_configuration.get('tap-ipv6-gateway', '')) + 2 }}] dhcp-option=option6:dns-server,[{{ netaddr.IPAddress(slap_configuration.get('tap-ipv6-gateway', '')) + 1 }}],[{{ netaddr.IPAddress(slap_configuration.get('tap-ipv6-gateway', '')) + 2 }}]
dhcp-option=option6:domain-search,bbu.local dhcp-option=option6:domain-search,bbu.local
# option 17 used for RU callhome # option 17 used for RU callhome
......
...@@ -174,20 +174,6 @@ ...@@ -174,20 +174,6 @@
"description": "Rx gain (in dB)", "description": "Rx gain (in dB)",
"type": "number" "type": "number"
}, },
{%- endif %}
{%- if trx == 'cpri' %}
"dnsmasq": {
"default": false,
"title": "dnsmasq",
"description": "dnsmasq",
"type": "boolean"
},
"rrh_mac_addr": {
"default": "00:0a:00:00:10:20",
"title": "RRH MAC address",
"description": "RRH MAC address used for DNSMASQ",
"type": "string"
},
{%- endif %} {%- endif %}
"enb_id": { "enb_id": {
"title": "eNB ID", "title": "eNB ID",
......
...@@ -33,7 +33,8 @@ ...@@ -33,7 +33,8 @@
"mac_addr": { "mac_addr": {
"title": "RU MAC address", "title": "RU MAC address",
"description": "RU MAC address used for DNSMASQ", "description": "RU MAC address used for DNSMASQ",
"type": "string" "type": "string",
"default": "00:0a:00:00:10:20"
}, },
"reset_schedule": { "reset_schedule": {
"title": "Cron schedule for RRH reset", "title": "Cron schedule for RRH reset",
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment