Skip to content

Commit

Permalink
Support for Default/Initiator/Responder Connection Mode for Virtual N…
Browse files Browse the repository at this point in the history
…etwork Gateway Connections (#11201)

* Initiator/Reponder Connection Mode Support

* Prettier Fix

Co-authored-by: Abhishek Shah <shabhis@microsoft.com>
  • Loading branch information
abhi7860 and Abhishek Shah authored Oct 16, 2020
1 parent eacee41 commit 11c4fdf
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,8 @@
"enableBgp": false,
"usePolicyBasedTrafficSelectors": false,
"ipsecPolicies": [],
"trafficSelectorPolicies": []
"trafficSelectorPolicies": [],
"connectionMode": "Default"
},
"location": "centralus"
}
Expand Down Expand Up @@ -96,7 +97,8 @@
"usePolicyBasedTrafficSelectors": false,
"ipsecPolicies": [],
"ingressBytesTransferred": 0,
"egressBytesTransferred": 0
"egressBytesTransferred": 0,
"connectionMode": "Default"
}
}
},
Expand Down Expand Up @@ -128,7 +130,8 @@
"usePolicyBasedTrafficSelectors": false,
"ipsecPolicies": [],
"ingressBytesTransferred": 0,
"egressBytesTransferred": 0
"egressBytesTransferred": 0,
"connectionMode": "Default"
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@
"trafficSelectorPolicies": [],
"connectionStatus": "Connecting",
"ingressBytesTransferred": 0,
"egressBytesTransferred": 0
"egressBytesTransferred": 0,
"connectionMode": "Default"
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,8 @@
"ipsecPolicies": [],
"trafficSelectorPolicies": [],
"ingressBytesTransferred": 0,
"egressBytesTransferred": 0
"egressBytesTransferred": 0,
"connectionMode": "Default"
}
},
{
Expand Down Expand Up @@ -65,7 +66,8 @@
"ipsecPolicies": [],
"trafficSelectorPolicies": [],
"ingressBytesTransferred": 0,
"egressBytesTransferred": 0
"egressBytesTransferred": 0,
"connectionMode": "Default"
}
}
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2914,6 +2914,10 @@
"format": "int32",
"description": "The dead peer detection timeout of this connection in seconds."
},
"connectionMode": {
"type": "string",
"description": "The connection mode for this connection."
},
"sharedKey": {
"type": "string",
"description": "The IPSec shared key."
Expand Down

0 comments on commit 11c4fdf

Please sign in to comment.