Skip to content

Commit

Permalink
deploy-adv: update advance zone deploy script
Browse files Browse the repository at this point in the history
Signed-off-by: Rohit Yadav <[email protected]>
  • Loading branch information
rohityadavcloud committed Mar 30, 2015
1 parent 9eea48b commit ead6742
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions deploy-adv.sh
Original file line number Diff line number Diff line change
Expand Up @@ -50,11 +50,11 @@ $cli configure virtualrouterelement enabled=true id=$vre_id
$cli update networkserviceprovider state=Enabled id=$nsp_id
echo "Enabled virtual router element and network service provider"

#nsp_id=`$cli list networkserviceproviders name=Internallbvm physicalnetworkid=$phy_id | grep ^id\ = | awk '{print $3}'`
#ilbvm_id=`$cli list internalloadbalancerelements nspid=$nsp_id | grep ^id\ = | awk '{print $3}'`
#$cli configure virtualrouterelement enabled=true id=$ilbvm_id
#$cli update networkserviceprovider state=Enabled id=$nsp_id
#echo "Enabled Internal LBVM and NSP"
nsp_id=`$cli list networkserviceproviders name=Internallbvm physicalnetworkid=$phy_id | grep ^id\ = | awk '{print $3}'`
ilbvm_id=`$cli list internalloadbalancerelements nspid=$nsp_id | grep ^id\ = | awk '{print $3}'`
$cli configure internalloadbalancerelement enabled=true id=$ilbvm_id
$cli update networkserviceprovider state=Enabled id=$nsp_id
echo "Enabled Internal LBVM and NSP"

nsp_id=`$cli list networkserviceproviders name=VpcVirtualRouter physicalnetworkid=$phy_id | grep ^id\ = | awk '{print $3}'`
vpcvr_id=`$cli list virtualrouterelements nspid=$nsp_id | grep ^id\ = | awk '{print $3}'`
Expand Down

0 comments on commit ead6742

Please sign in to comment.