⛲
OpenSt­ack 源码­分析之 Magnum
  • 前言
  • 整体结构
  • contrib
  • doc
  • etc
  • magnum
    • api
      • controllers
        • v1
        • base.py
        • link.py
        • root.py
      • middleware
        • auth_token.py
        • parsable_error.py
      • app.py
      • auth.py
      • config.py
      • hooks.py
    • cloud
      • nova_driver.py
    • cmd
      • api.py
      • conductor.py
      • db_manage.py
      • template_manage.py
    • common
      • pythonk8sclient
        • client
        • templates
        • README.rst
      • clients.py
      • config.py
      • context.py
      • docker_utils.py
      • exception.py
      • k8s_manifest.py
      • magnum_keystoneclient.py
      • paths.py
      • policy.py
      • rpc.py
      • rpc_service.py
      • safe_utils.py
      • service.py
      • short_id.py
      • urlfetch.py
      • utils.py
      • yamlutils.py
    • conductor
      • handlers
        • common
        • bay_conductor.py
        • conductor_listener.py
        • docker_conductor.py
        • kube.py
      • tasks
        • heat_tasks.py
        • init.py
      • api.py
      • bay_lock.py
      • config.py
      • template_definition.py
    • db
      • sqlalchemy
        • alembic
        • alembic.ini
        • api.py
        • migration.py
        • models.py
      • api.py
      • migration.py
    • locale
      • magnum-log-critical.pot
      • magnum-log-error.pot
      • magnum-log-info.pot
      • magnum-log-warning.pot
      • magnum.pot
    • objects
      • base.py
      • bay.py
      • baylock.py
      • baymodel.py
      • container.py
      • fields.py
      • node.py
      • pod.py
      • replicationcontroller.py
      • service.py
      • utils.py
      • init.py
    • openstack
      • common
        • _i18n.py
        • cliutils.py
        • eventlet_backdoor.py
        • local.py
        • loopingcall.py
        • periodic_task.py
        • service.py
        • systemd.py
        • threadgroup.py
        • utils.py
        • versionutils.py
    • public
      • css
        • style.css
    • templates
      • docker-swarm
        • fragments
        • COPYING
        • README.md
        • swarm.yaml
        • swarmnode.yaml
      • heat-kubernetes
        • elements
        • fragments
        • COPYING
        • kubecluster-coreos.yaml
        • kubecluster-fedora-ironic.yaml
        • kubecluster.yaml
        • kubeminion.yaml
        • kubenode-coreos.yaml
        • kubenode-fedora-ironic.yaml
        • README.md
    • tests
      • contrib
        • post_test_hook.sh
      • functional
        • test_magnum_python_client.py
        • test_templates.py
      • unit
        • api
        • common
        • conductor
        • db
        • objects
      • base.py
      • config.py
      • conf_fixture.py
      • fakes.py
      • utils.py
    • base.py
    • config.py
    • i18n.py
    • MANIFEST.in
    • opts.py
    • version.py
  • specs
  • tools
  • 架构
Powered by GitBook
On this page
  • 更新历史:
  • 参加步骤

Was this helpful?

前言

Next整体结构

Last updated 5 years ago

Was this helpful?

是 OpenStack 项目中负责提供容器即服务(Container as a Service)的组件,它基于 Swarm、Kubernetes 等平台,实现对容器资源的管理。

本书将剖析 Magnum 组件的代码。

最新版本在线阅读:。

本书源码在 Github 上维护,欢迎参与: 。

感谢所有的 。

更新历史:

  • V0.3: 2015-06-11

    • 完成 conductor 部分,基本内容完成。

  • V0.2: 2015-06-09

    • 完成 API 部分分析。

    • 完成 doc、etc、tools 等部分的分析。

  • V0.1: 2015-06-08

    • 完成基本结构。

参加步骤

  • 在 GitHub 上 fork 到自己的仓库,如 user/openstack_code_Magnum,然后 clone 到本地,并设置用户信息。

    $ git clone git@github.com:user/openstack_code_Magnum.git
    $ cd openstack_code_Magnum
    $ git config user.name "User"
    $ git config user.email user@email.com
  • 修改代码后提交,并推送到自己的仓库。

    $ #do some change on the content
    $ git commit -am "Fix issue #1: change helo to hello"
    $ git push
  • 在 GitHub 网站上提交 pull request。

  • 定期使用项目仓库内容更新自己仓库内容。

    $ git remote add upstream https://github.com/yeasy/openstack_code_Magnum
    $ git fetch upstream
    $ git checkout master
    $ git rebase upstream/master
    $ git push -f origin master
Magnum
GitBook
https://github.com/yeasy/openstack_code_Magnum
贡献者