-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merged PR 4: Remove V1 api workarounds. Move config examples to V2 fo…
…rmat. Break up some of Remove V1 api workarounds. Move config examples to V2 format. Break up some of the logic in ADD into helper methods. Related work items: #1
- Loading branch information
Showing
8 changed files
with
183 additions
and
451 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,38 @@ | ||
{ | ||
"cniVersion": "0.2.0", | ||
"name": "l2tunnel", | ||
"type": "wincni.exe", | ||
"master": "Ethernet", | ||
"ipam": { | ||
"type": "azure-vnet-ipam", | ||
"Subnet" : "10.240.0.0/12" | ||
}, | ||
"dns" : { | ||
"Nameservers" : [ "10.0.0.10" ] | ||
}, | ||
"AdditionalArgs" : [ | ||
{ | ||
"Name" : "EndpointPolicy", "Value" : { "Type" : "OutBoundNAT", "ExceptionList": [ "10.0.0.0/8" ] } | ||
"cniVersion": "0.2.0", | ||
"name": "l2tunnel", | ||
"type": "wincni.exe", | ||
"master": "Ethernet", | ||
"ipam": { | ||
"type": "azure-vnet-ipam", | ||
"Subnet": "10.240.0.0/12" | ||
}, | ||
{ | ||
"Name" : "EndpointPolicy", "Value" : { "Type" : "ROUTE", "DestinationPrefix": "10.0.0.0/8", "NeedEncap" : true } | ||
} | ||
] | ||
} | ||
"dns": { | ||
"Nameservers": [ | ||
"10.0.0.10" | ||
] | ||
}, | ||
"AdditionalArgs": [ | ||
{ | ||
"Name": "EndpointPolicy", | ||
"Value": { | ||
"Type": "OutBoundNAT", | ||
"Settings": { | ||
"ExceptionList": [ | ||
"10.0.0.0/8" | ||
] | ||
} | ||
} | ||
}, | ||
{ | ||
"Name": "EndpointPolicy", | ||
"Value": { | ||
"Type": "SdnRoute", | ||
"Settings": { | ||
"DestinationPrefix": "10.0.0.0/8", | ||
"NeedEncap": true | ||
} | ||
} | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,15 @@ | ||
{ | ||
"cniVersion": "0.2.0", | ||
"name": "transparent", | ||
"type": "wincni.exe", | ||
"master": "Ethernet", | ||
"ipam": { | ||
"environment": "mas", | ||
"subnet":"192.168.100.0/24", | ||
"routes": [{ | ||
"gateway":"192.168.100.1" | ||
}] | ||
} | ||
} | ||
"cniVersion": "0.2.0", | ||
"name": "transparent", | ||
"type": "wincni.exe", | ||
"master": "Ethernet", | ||
"ipam": { | ||
"environment": "mas", | ||
"subnet": "192.168.100.0/24", | ||
"routes": [ | ||
{ | ||
"gateway": "192.168.100.1" | ||
} | ||
] | ||
} | ||
} |
Oops, something went wrong.