Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
OVH_GanetiHooks
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
sysadmin
OVH_GanetiHooks
Commits
620a5131
Commit
620a5131
authored
Oct 25, 2016
by
nextime
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update README
parent
88a6fbba
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
7 deletions
+4
-7
README.md
README.md
+4
-0
ovh_cmd
scripts/ovh_cmd
+0
-7
No files found.
README.md
View file @
620a5131
...
@@ -3,6 +3,9 @@ every ip to your virtual machines as singular 255.255.255.255 netmask ip.
...
@@ -3,6 +3,9 @@ every ip to your virtual machines as singular 255.255.255.255 netmask ip.
i also use ospf to manage internal routing.
i also use ospf to manage internal routing.
[
DONATIONS id:1561
]
help us to continue developement at https://www.nexlab.net/supportus
Put your external ip address as instance tags in this way:
Put your external ip address as instance tags in this way:
gnt-instance add-tags ${instance_name} route:${ipaddr}/32:${INTERFACE}
gnt-instance add-tags ${instance_name} route:${ipaddr}/32:${INTERFACE}
...
@@ -22,3 +25,4 @@ gnt-instance add-tags instance01 route:81.82.83.84/32:br0
...
@@ -22,3 +25,4 @@ gnt-instance add-tags instance01 route:81.82.83.84/32:br0
Every time you migrate, move, failover, start, stop an instance, it should automagically update ovh failover routes.
Every time you migrate, move, failover, start, stop an instance, it should automagically update ovh failover routes.
scripts/ovh_cmd
View file @
620a5131
...
@@ -16,13 +16,6 @@ client = ovh.Client(
...
@@ -16,13 +16,6 @@ client = ovh.Client(
consumer_key
=
'<consumer key>'
,
consumer_key
=
'<consumer key>'
,
)
)
client
=
ovh
.
Client
(
endpoint
=
'ovh-eu'
,
application_key
=
''
,
application_secret
=
''
,
consumer_key
=
''
,
)
def
main
(
cmd
,
host
,
dest
,
addr
):
def
main
(
cmd
,
host
,
dest
,
addr
):
if
cmd
==
"list"
:
if
cmd
==
"list"
:
...
...
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