Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
vnf-onboarding
OSM Packages
Commits
bd769322
Commit
bd769322
authored
May 29, 2020
by
lavado
Browse files
minor fix to primitive
parent
d3f687aa
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
magma/hackfest_magma-agw-enb_vnfd/charms/enodeb/src/charm.py
magma/hackfest_magma-agw-enb_vnfd/charms/enodeb/src/charm.py
+2
-2
No files found.
magma/hackfest_magma-agw-enb_vnfd/charms/enodeb/src/charm.py
View file @
bd769322
...
...
@@ -53,7 +53,7 @@ class EnodebCharm(CharmBase):
self
.
on
.
attach_ue_action
,
self
.
on
.
unregister_action
,
self
.
on
.
detach_ue_action
,
self
.
on
.
remove_default_gw
,
self
.
on
.
remove_default_gw
_action
,
):
self
.
framework
.
observe
(
event
,
self
)
...
...
@@ -173,7 +173,7 @@ class EnodebCharm(CharmBase):
except
Exception
as
e
:
event
.
fail
(
e
)
def
remove_default_gw
(
self
,
event
):
def
on_
remove_default_gw
_action
(
self
,
event
):
"""Remove default gw"""
try
:
command
=
"sudo route del default"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment