AETHER-2788 Use parameter from configuration to configure eNB
AETHER-2725 CWMP fault returns by eNodeB
AETHER-2692 Check the XML sent by eNodeB and ACS are valid
AETHER-2691 Research on eNodeB TR-069 service issue
AETHER-2788 Use parameter from configuration to configure eNB
AETHER-2789 Load enodeb configuration by the serial number
AETHER-2821 Configure the PLMN which is current not supported by enodebd
AETHER-2839 Create acs_common to own the common attribute of eNodeb configuration
AETHER-2831 Writing documentation of configuring enodebd
This patch contains above jira tickets.
It can work and configure the eNodeB with single configuration now.
Change-Id: I4875d099246a1995de420c4947e7a99823055161
diff --git a/tr069/rpc_methods.py b/tr069/rpc_methods.py
index aff0f30..c6203d9 100644
--- a/tr069/rpc_methods.py
+++ b/tr069/rpc_methods.py
@@ -148,6 +148,7 @@
# Allow un-set parameters. If CPE can't handle this, it will
# respond with an error message
pass
+
return request_out
# CPE->ACS RPC calls
@@ -327,6 +328,7 @@
# would pick up all tags that start with the tag of interest (e.g
# cwmp:SetParameterAttributes would also match
# cwmp:SetParameterAttributesStruct)
+
XML_FORMAT_STRS = [
["cwmp:%s>", "!!!TEMP_MOD!!!:%s>"],
["cwmp:%s/>", "!!!TEMP_MOD!!!:%s/>"],
@@ -364,7 +366,6 @@
if(ctx.descriptor.out_message.Attributes.sub_name == 'EmptyHttp'):
ctx.out_string = [b'']
-
AutoConfigServer.event_manager.add_listener(
'method_return_string',
on_method_return_string,
diff --git a/tr069/spyne_mods.py b/tr069/spyne_mods.py
index 0f0e918..ad0b54b 100644
--- a/tr069/spyne_mods.py
+++ b/tr069/spyne_mods.py
@@ -91,11 +91,11 @@
ctx.in_string = [in_string.encode(charset, 'ignore')]
if ctx.in_string == [b'']:
ctx.in_string = [
- b'<soap11env:Envelope xmlns:cwmp="urn:dslforum-org:cwmp-1-0" xmlns:soap11env="http://schemas.xmlsoap.org/soap/envelope/">/n'
- b' <soap11env:Body>/n'
+ b'<soapenv:Envelope xmlns:cwmp="urn:dslforum-org:cwmp-1-0" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">/n'
+ b' <soapenv:Body>/n'
b' <cwmp:EmptyHttp/>/n'
- b' </soap11env:Body>/n'
- b'</soap11env:Envelope>',
+ b' </soapenv:Body>/n'
+ b'</soapenv:Envelope>',
]
super(Tr069Soap11, self).create_in_document(ctx, charset)