Skip to content

Commit

Permalink
Merge pull request #1462 from oalbrigt/aws-vpc-move-ip-add-routing-ta…
Browse files Browse the repository at this point in the history
…ble-role-to-metadata

aws-vpc-move-ip: add routing_table_role parameter to metadata
  • Loading branch information
oalbrigt authored Mar 5, 2020
2 parents d1a06a6 + a93fa4e commit e541916
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions heartbeat/aws-vpc-move-ip
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ OCF_RESKEY_profile_default="default"
OCF_RESKEY_ip_default=""
OCF_RESKEY_address_default=""
OCF_RESKEY_routing_table_default=""
OCF_RESKEY_routing_table_role_default=""
OCF_RESKEY_interface_default="eth0"
OCF_RESKEY_monapi_default="false"

Expand All @@ -48,6 +49,7 @@ OCF_RESKEY_monapi_default="false"
: ${OCF_RESKEY_ip=${OCF_RESKEY_ip_default}}
: ${OCF_RESKEY_address=${OCF_RESKEY_address_default}}
: ${OCF_RESKEY_routing_table=${OCF_RESKEY_routing_table_default}}
: ${OCF_RESKEY_routing_table_role=${OCF_RESKEY_routing_table_role_default}}
: ${OCF_RESKEY_interface=${OCF_RESKEY_interface_default}}
: ${OCF_RESKEY_monapi=${OCF_RESKEY_monapi_default}}
#######################################################################
Expand Down Expand Up @@ -117,6 +119,14 @@ Name of the routing table(s), where the route for the IP address should be chang
<content type="string" default="${OCF_RESKEY_routing_table_default}" />
</parameter>
<parameter name="routing_table_role" required="0">
<longdesc lang="en">
Role to use to query/update the route table
</longdesc>
<shortdesc lang="en">route table query/update role</shortdesc>
<content type="string" default="${OCF_RESKEY_routing_table_role_default}" />
</parameter>
<parameter name="interface" required="1">
<longdesc lang="en">
Name of the network interface, i.e. eth0
Expand Down

0 comments on commit e541916

Please sign in to comment.