Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Features/refactor tenant networking 1 #132

Merged
merged 10 commits into from
May 21, 2020

Conversation

carlbuchmann
Copy link
Member

@carlbuchmann carlbuchmann commented May 20, 2020

Add the capability to define different types of IP addresses when defining network services

  • ip router virtual address
  • ip router virtual address secondary
  • ip address virtual
  • unique ip addresses on nodes SVI interfaces

Tasks:

  • update documentation
  • update templates
  • update CI test with new data model

Sample Inputs

  Tenant_A:
    mac_vrf_vni_base: 10000
    vrfs:
      Tenant_A_OP_Zone:
        vrf_vni: 10
        vtep_diagnostic:
          loopback: 100
          loopback_ip_range: 10.255.1.0/24
        svis:
          111:
            vni_override: 50111
            name: Tenant_A_OP_Zone_2
            tags: [ opzone ]
            enabled: true
            ip_address_virtual: 10.1.11.1/24
# virtual ip address router-virtual
          112:
            name: Tenant_A_OP_Zone_3
            tags: [ DC1_LEAF2 ]
            enabled: true
            ip_virtual_router_address: 10.1.12.1/24
            nodes:
              DC1-LEAF2A:
                ip_address: 10.1.12.2/24
              DC1-LEAF2B:
                ip_address: 10.1.12.3/24
# # SVI IP address (no virtual)
          113:
            name: Tenant_A_OP_Zone_WAN
            tags: [ DC1_BL1 ]
            enabled: true
            nodes:
              DC1-BL1A:
                ip_address: 10.1.13.1/24
              DC1-BL1B:
                ip_address: 10.1.13.2/24

Outputs generated (truncated):

DC1-LEAF2A:

interface Vlan111
   description Tenant_A_OP_Zone_2
   vrf Tenant_A_OP_Zone
   ip address virtual 10.1.11.1/24
!
interface Vlan112
   description Tenant_A_OP_Zone_3
   vrf Tenant_A_OP_Zone
   ip address 10.1.12.2/24
   ip virtual-router address 10.1.12.1

DC1-LEAF2B:

interface Vlan111
   description Tenant_A_OP_Zone_2
   vrf Tenant_A_OP_Zone
   ip address virtual 10.1.11.1/24
!
interface Vlan112
   description Tenant_A_OP_Zone_3
   vrf Tenant_A_OP_Zone
   ip address 10.1.12.3/24
   ip virtual-router address 10.1.12.1

DC1-BL1A:

interface Vlan113
   description Tenant_A_OP_Zone_WAN
   vrf Tenant_A_OP_Zone
   ip address 10.1.13.1/24

DC1-BL1B:

interface Vlan113
   description Tenant_A_OP_Zone_WAN
   vrf Tenant_A_OP_Zone
   ip address 10.1.13.2/24

@carlbuchmann carlbuchmann added the type: enhancement New feature or request label May 20, 2020
@carlbuchmann carlbuchmann self-assigned this May 20, 2020
Copy link
Contributor

@titom73 titom73 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@titom73 titom73 force-pushed the features/refactor-tenant-networking-1 branch from b47f551 to 5729127 Compare May 20, 2020 20:06
@carlbuchmann carlbuchmann marked this pull request as ready for review May 21, 2020 00:55
Copy link
Contributor

@titom73 titom73 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

CI is OK and content already reviewed

@carlbuchmann carlbuchmann merged commit 7a11709 into devel May 21, 2020
@carlbuchmann carlbuchmann deleted the features/refactor-tenant-networking-1 branch May 21, 2020 13:11
@carlbuchmann carlbuchmann added this to the v1.1.0 milestone Jul 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants