Skip to content

Commit

Permalink
Merge pull request #8 from takutakahashi/patch-1
Browse files Browse the repository at this point in the history
identity ではなく neutron.v2_0 が retries を持つ
  • Loading branch information
buty4649 committed Nov 19, 2019
2 parents 7e1c619 + 1646837 commit b780d50
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,9 @@ def getNeutronClient():
password=password,
project_name=project_name,
project_domain_id=project_domain_id,
user_domain_id=user_domain_id,
retries=5)
user_domain_id=user_domain_id)
sess = session.Session(auth=auth)
return client.Client(session=sess)
return client.Client(session=sess, retries=5)

def retrivePortID(neutron):
interface_file = "/var/lib/octavia/plugged_interfaces"
Expand Down

0 comments on commit b780d50

Please sign in to comment.