You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 7 Next »

Introduction

Purpose

This is a draft spec for utilizing Q-in-Q to provide scalable isolated networks in the cloudstack environment.

References

  • relevant links

Document History

Glossary

Feature Specifications

  • Q-in-Q, also referred to as "double-tagged" vlans, is the concept of nesting tagged vlans inside each other. Thus, each
    of the 4096 available vlans can also host 4096 vlans. This provides a way to scale isolated networks that is more compatible
    with standard network equipment and lower overhead than GRE or other technologies that create point-to-point tunnels.
  • This has been designed and tested on the KVM platform, there's no reason to believe it wouldn't work on others, but more
    time and expertise will be required to create and verify code.
  • Quality risks (test guidelines)
    • There is some question on how to handle MTU. See the chart included for the current solution.
    • No single system will scale to thousands of networks, regardless of technology. Therefore, we need to ensure that  CloudStack
      is properly tearing down networks that it no longer needs, and creating only networks necessary for the running instances
    • The current implementation relies on naming conventions to differentiate between a tagged interface that CloudStack should
      treat normally and an interface that CloudStack should treat as a physical interface. This works on KVM since linux provides
      two standard interface names for tagged vlan interfaces, and one is rarely used. However, there could be issue in the event
      that a customer is using the rare convention. We'd need to document this in the standard CloudStack network setup for KVM
      hosts.
  • Supportability characteristics:
    • The implementation leverages CloudStack's existing network/bridging management code, so troubleshooting would be
      largely the same. The only caveat is in regards to the MTU as mentioned and covered later on.
  • Configuration characteristics:
    • configuration

A traditional CloudStack advanced network environment might look like the below chart, with management, storage, and a public network created by the admin, and multiple vlans provisioned by cloudstack as needed:

q-in-q example advnetworking

This functional spec extends this design by allowing tagged interfaces to be utilized at the physical interface level:

q-in-q example advnet2
    • MTU
    • highlight how installation/upgrade scenarios change
  • deployment requirements (fresh install vs. upgrade) if any
  • system requirements: memory, CPU, disk space, etc
  • interoperability and compatibility requirements:
    • OS
    • xenserver, hypervisros
    • storage, networks, other
  • list localization and internationalization specifications 
  • explain the impact and possible upgrade/migration solution introduced by the feature 
  • explain performance & scalability implications when feature is used from small scale to large scale
  • explain security specifications
    • list your evaluation of possible security attacks against the feature and the answers in your design* *
  • explain marketing specifications
  • explain levels or types of users communities of this feature (e.g. admin, user, etc)

Use cases

put the relevant use case/stories to explain how the feature is going to be used/work

Architecture and Design description

  • discussion of alternatives amongst design ideas, their resources/time tradeoffs and limitations. Explain why a certain design idea is chosen over others
  • highlight architectural patterns being used (queues, async/sync, state machines, etc)
  • talk about main algorithms used
  • explain what components are being changed and what the dependent components are
  • regarding database: talk about tables being added/modified
  • performance implications: what are the improvements or risks introduced to capacity, response time, resources usage and other relevant KPIs
  • preferably show class diagrams, sequence diagrams and state diagrams
  • if possible, publish signatures of all methods classes and interfaces implement, and the explain the object information of different classes

Appendix

Appendix A:

Appendix B:

  • No labels