Skip to content

Commit

Permalink
chore: generating eni limits for missing aws instances
Browse files Browse the repository at this point in the history
Signed-off-by: Eric Ferreira <ericarlos23@gmail.com>
  • Loading branch information
muratso authored and sayboras committed Feb 23, 2023
1 parent 580a2d3 commit 54145d0
Showing 1 changed file with 55 additions and 0 deletions.
55 changes: 55 additions & 0 deletions pkg/aws/eni/limits/limits.go
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,7 @@ func populateStaticENILimits() {
"c7g.8xlarge": {Adapters: 8, IPv4: 30, IPv6: 30, HypervisorType: "nitro"},
"c7g.large": {Adapters: 3, IPv4: 10, IPv6: 10, HypervisorType: "nitro"},
"c7g.medium": {Adapters: 2, IPv4: 4, IPv6: 4, HypervisorType: "nitro"},
"c7g.metal": {Adapters: 15, IPv4: 50, IPv6: 50, HypervisorType: ""},
"c7g.xlarge": {Adapters: 4, IPv4: 15, IPv6: 15, HypervisorType: "nitro"},
"cc2.8xlarge": {Adapters: 8, IPv4: 30, IPv6: 0, HypervisorType: "xen"},
"d2.2xlarge": {Adapters: 4, IPv4: 15, IPv6: 15, HypervisorType: "xen"},
Expand Down Expand Up @@ -393,6 +394,33 @@ func populateStaticENILimits() {
"m6id.large": {Adapters: 3, IPv4: 10, IPv6: 10, HypervisorType: "nitro"},
"m6id.metal": {Adapters: 15, IPv4: 50, IPv6: 50, HypervisorType: ""},
"m6id.xlarge": {Adapters: 4, IPv4: 15, IPv6: 15, HypervisorType: "nitro"},
"m6idn.12xlarge": {Adapters: 8, IPv4: 30, IPv6: 30, HypervisorType: "nitro"},
"m6idn.16xlarge": {Adapters: 15, IPv4: 50, IPv6: 50, HypervisorType: "nitro"},
"m6idn.24xlarge": {Adapters: 15, IPv4: 50, IPv6: 50, HypervisorType: "nitro"},
"m6idn.2xlarge": {Adapters: 4, IPv4: 15, IPv6: 15, HypervisorType: "nitro"},
"m6idn.32xlarge": {Adapters: 14, IPv4: 50, IPv6: 50, HypervisorType: "nitro"},
"m6idn.4xlarge": {Adapters: 8, IPv4: 30, IPv6: 30, HypervisorType: "nitro"},
"m6idn.8xlarge": {Adapters: 8, IPv4: 30, IPv6: 30, HypervisorType: "nitro"},
"m6idn.large": {Adapters: 3, IPv4: 10, IPv6: 10, HypervisorType: "nitro"},
"m6idn.xlarge": {Adapters: 4, IPv4: 15, IPv6: 15, HypervisorType: "nitro"},
"m6in.12xlarge": {Adapters: 8, IPv4: 30, IPv6: 30, HypervisorType: "nitro"},
"m6in.16xlarge": {Adapters: 15, IPv4: 50, IPv6: 50, HypervisorType: "nitro"},
"m6in.24xlarge": {Adapters: 15, IPv4: 50, IPv6: 50, HypervisorType: "nitro"},
"m6in.2xlarge": {Adapters: 4, IPv4: 15, IPv6: 15, HypervisorType: "nitro"},
"m6in.32xlarge": {Adapters: 14, IPv4: 50, IPv6: 50, HypervisorType: "nitro"},
"m6in.4xlarge": {Adapters: 8, IPv4: 30, IPv6: 30, HypervisorType: "nitro"},
"m6in.8xlarge": {Adapters: 8, IPv4: 30, IPv6: 30, HypervisorType: "nitro"},
"m6in.large": {Adapters: 3, IPv4: 10, IPv6: 10, HypervisorType: "nitro"},
"m6in.xlarge": {Adapters: 4, IPv4: 15, IPv6: 15, HypervisorType: "nitro"},
"m7g.12xlarge": {Adapters: 8, IPv4: 30, IPv6: 30, HypervisorType: "nitro"},
"m7g.16xlarge": {Adapters: 15, IPv4: 50, IPv6: 50, HypervisorType: "nitro"},
"m7g.2xlarge": {Adapters: 4, IPv4: 15, IPv6: 15, HypervisorType: "nitro"},
"m7g.4xlarge": {Adapters: 8, IPv4: 30, IPv6: 30, HypervisorType: "nitro"},
"m7g.8xlarge": {Adapters: 8, IPv4: 30, IPv6: 30, HypervisorType: "nitro"},
"m7g.large": {Adapters: 3, IPv4: 10, IPv6: 10, HypervisorType: "nitro"},
"m7g.medium": {Adapters: 2, IPv4: 4, IPv6: 4, HypervisorType: "nitro"},
"m7g.metal": {Adapters: 15, IPv4: 50, IPv6: 50, HypervisorType: ""},
"m7g.xlarge": {Adapters: 4, IPv4: 15, IPv6: 15, HypervisorType: "nitro"},
"mac1.metal": {Adapters: 8, IPv4: 30, IPv6: 30, HypervisorType: ""},
"mac2.metal": {Adapters: 8, IPv4: 30, IPv6: 30, HypervisorType: ""},
"p2.16xlarge": {Adapters: 8, IPv4: 30, IPv6: 30, HypervisorType: "xen"},
Expand Down Expand Up @@ -524,6 +552,33 @@ func populateStaticENILimits() {
"r6id.large": {Adapters: 3, IPv4: 10, IPv6: 10, HypervisorType: "nitro"},
"r6id.metal": {Adapters: 15, IPv4: 50, IPv6: 50, HypervisorType: ""},
"r6id.xlarge": {Adapters: 4, IPv4: 15, IPv6: 15, HypervisorType: "nitro"},
"r6idn.12xlarge": {Adapters: 8, IPv4: 30, IPv6: 30, HypervisorType: "nitro"},
"r6idn.16xlarge": {Adapters: 15, IPv4: 50, IPv6: 50, HypervisorType: "nitro"},
"r6idn.24xlarge": {Adapters: 15, IPv4: 50, IPv6: 50, HypervisorType: "nitro"},
"r6idn.2xlarge": {Adapters: 4, IPv4: 15, IPv6: 15, HypervisorType: "nitro"},
"r6idn.32xlarge": {Adapters: 14, IPv4: 50, IPv6: 50, HypervisorType: "nitro"},
"r6idn.4xlarge": {Adapters: 8, IPv4: 30, IPv6: 30, HypervisorType: "nitro"},
"r6idn.8xlarge": {Adapters: 8, IPv4: 30, IPv6: 30, HypervisorType: "nitro"},
"r6idn.large": {Adapters: 3, IPv4: 10, IPv6: 10, HypervisorType: "nitro"},
"r6idn.xlarge": {Adapters: 4, IPv4: 15, IPv6: 15, HypervisorType: "nitro"},
"r6in.12xlarge": {Adapters: 8, IPv4: 30, IPv6: 30, HypervisorType: "nitro"},
"r6in.16xlarge": {Adapters: 15, IPv4: 50, IPv6: 50, HypervisorType: "nitro"},
"r6in.24xlarge": {Adapters: 15, IPv4: 50, IPv6: 50, HypervisorType: "nitro"},
"r6in.2xlarge": {Adapters: 4, IPv4: 15, IPv6: 15, HypervisorType: "nitro"},
"r6in.32xlarge": {Adapters: 14, IPv4: 50, IPv6: 50, HypervisorType: "nitro"},
"r6in.4xlarge": {Adapters: 8, IPv4: 30, IPv6: 30, HypervisorType: "nitro"},
"r6in.8xlarge": {Adapters: 8, IPv4: 30, IPv6: 30, HypervisorType: "nitro"},
"r6in.large": {Adapters: 3, IPv4: 10, IPv6: 10, HypervisorType: "nitro"},
"r6in.xlarge": {Adapters: 4, IPv4: 15, IPv6: 15, HypervisorType: "nitro"},
"r7g.12xlarge": {Adapters: 8, IPv4: 30, IPv6: 30, HypervisorType: "nitro"},
"r7g.16xlarge": {Adapters: 15, IPv4: 50, IPv6: 50, HypervisorType: "nitro"},
"r7g.2xlarge": {Adapters: 4, IPv4: 15, IPv6: 15, HypervisorType: "nitro"},
"r7g.4xlarge": {Adapters: 8, IPv4: 30, IPv6: 30, HypervisorType: "nitro"},
"r7g.8xlarge": {Adapters: 8, IPv4: 30, IPv6: 30, HypervisorType: "nitro"},
"r7g.large": {Adapters: 3, IPv4: 10, IPv6: 10, HypervisorType: "nitro"},
"r7g.medium": {Adapters: 2, IPv4: 4, IPv6: 4, HypervisorType: "nitro"},
"r7g.metal": {Adapters: 15, IPv4: 50, IPv6: 50, HypervisorType: ""},
"r7g.xlarge": {Adapters: 4, IPv4: 15, IPv6: 15, HypervisorType: "nitro"},
"t1.micro": {Adapters: 2, IPv4: 2, IPv6: 0, HypervisorType: "xen"},
"t2.2xlarge": {Adapters: 3, IPv4: 15, IPv6: 15, HypervisorType: "xen"},
"t2.large": {Adapters: 3, IPv4: 12, IPv6: 12, HypervisorType: "xen"},
Expand Down

0 comments on commit 54145d0

Please sign in to comment.