File tree Expand file tree Collapse file tree 2 files changed +1
-6
lines changed Expand file tree Collapse file tree 2 files changed +1
-6
lines changed Original file line number Diff line number Diff line change 55 "github.com/Azure/azure-container-networking/cns/types"
66)
77
8- // TODO: add an IPFamily type with values ipv4 and ipv6
9- //
10- // This should be similar to DNC's IPFamilies and will only be ipv4 only or ipv4,ipv6
118type ipState struct {
129 // allocatedIPs are all the IPs given to CNS by DNC.
1310 allocatedIPs int64
@@ -19,7 +16,6 @@ type ipState struct {
1916 programmingIPs int64
2017 // releasingIPs are the IPs in state "PendingReleasr".
2118 releasingIPs int64
22- // TODO: add and IPFamilies value to be a slice of IPFamily type
2319}
2420
2521func (service * HTTPRestService ) buildIPState () * ipState {
Original file line number Diff line number Diff line change @@ -52,7 +52,7 @@ type imdsClient interface {
5252 GetVMUniqueID (ctx context.Context ) (string , error )
5353}
5454
55- // HTTPRestService represents http listener for CNS - Container Networking Service.// TODO: Add a new value for IPFamily
55+ // HTTPRestService represents http listener for CNS - Container Networking Service.
5656// TODO: If we add a new type of Middleware that will be reflected in the IPConfigsHandlerMiddleware value
5757type HTTPRestService struct {
5858 * cns.Service
@@ -77,7 +77,6 @@ type HTTPRestService struct {
7777 IPConfigsHandlerMiddleware cns.IPConfigsHandlerMiddleware
7878 PnpIDByMacAddress map [string ]string
7979 imdsClient imdsClient
80- IPFamilies []IPFamily
8180}
8281
8382type CNIConflistGenerator interface {
You can’t perform that action at this time.
0 commit comments