├── neutron
├── api
│ ├── __init__.py
│ ├── rpc
│ │ ├── __init__.py
│ │ └── agentnotifiers
│ │ │ └── __init__.py
│ ├── v2
│ │ └── __init__.py
│ └── views
│ │ └── __init__.py
├── db
│ ├── __init__.py
│ ├── migration
│ │ └── alembic_migrations
│ │ │ ├── __init__.py
│ │ │ └── versions
│ │ │ ├── HEAD
│ │ │ └── README
│ ├── loadbalancer
│ │ └── __init__.py
│ ├── firewall
│ │ └── __init__.py
│ ├── metering
│ │ └── __init__.py
│ └── vpn
│ │ └── __init__.py
├── common
│ └── __init__.py
├── hacking
│ └── __init__.py
├── plugins
│ ├── __init__.py
│ ├── ibm
│ │ ├── __init__.py
│ │ ├── agent
│ │ │ └── __init__.py
│ │ ├── common
│ │ │ └── __init__.py
│ │ └── README
│ ├── nuage
│ │ ├── __init__.py
│ │ ├── common
│ │ │ └── __init__.py
│ │ └── extensions
│ │ │ └── __init__.py
│ ├── ryu
│ │ ├── __init__.py
│ │ ├── agent
│ │ │ └── __init__.py
│ │ ├── db
│ │ │ └── __init__.py
│ │ ├── README
│ │ └── common
│ │ │ └── __init__.py
│ ├── cisco
│ │ ├── test
│ │ │ ├── __init__.py
│ │ │ └── nexus
│ │ │ │ └── __init__.py
│ │ ├── README
│ │ ├── extensions
│ │ │ └── __init__.py
│ │ ├── n1kv
│ │ │ └── __init__.py
│ │ ├── __init__.py
│ │ ├── common
│ │ │ └── __init__.py
│ │ ├── db
│ │ │ └── __init__.py
│ │ ├── models
│ │ │ └── __init__.py
│ │ └── nexus
│ │ │ └── __init__.py
│ ├── ofagent
│ │ ├── __init__.py
│ │ ├── agent
│ │ │ └── __init__.py
│ │ ├── common
│ │ │ └── __init__.py
│ │ └── README
│ ├── bigswitch
│ │ ├── agent
│ │ │ └── __init__.py
│ │ ├── __init__.py
│ │ ├── tests
│ │ │ └── __init__.py
│ │ ├── README
│ │ ├── db
│ │ │ └── __init__.py
│ │ └── extensions
│ │ │ └── __init__.py
│ ├── linuxbridge
│ │ ├── __init__.py
│ │ ├── agent
│ │ │ └── __init__.py
│ │ ├── common
│ │ │ └── __init__.py
│ │ └── db
│ │ │ └── __init__.py
│ ├── oneconvergence
│ │ ├── __init__.py
│ │ ├── agent
│ │ │ └── __init__.py
│ │ └── lib
│ │ │ └── __init__.py
│ ├── openvswitch
│ │ ├── __init__.py
│ │ ├── agent
│ │ │ ├── __init__.py
│ │ │ └── xenapi
│ │ │ │ └── README
│ │ ├── README
│ │ └── common
│ │ │ └── __init__.py
│ ├── vmware
│ │ ├── common
│ │ │ └── __init__.py
│ │ ├── dbexts
│ │ │ └── __init__.py
│ │ ├── plugins
│ │ │ └── __init__.py
│ │ ├── extensions
│ │ │ └── __init__.py
│ │ ├── vshield
│ │ │ ├── tasks
│ │ │ │ └── __init__.py
│ │ │ ├── common
│ │ │ │ └── __init__.py
│ │ │ └── __init__.py
│ │ ├── __init__.py
│ │ ├── dhcp_meta
│ │ │ └── __init__.py
│ │ └── plugin.py
│ ├── ml2
│ │ ├── drivers
│ │ │ ├── brocade
│ │ │ │ ├── __init__.py
│ │ │ │ ├── db
│ │ │ │ │ └── __init__.py
│ │ │ │ └── nos
│ │ │ │ │ └── __init__.py
│ │ │ ├── mlnx
│ │ │ │ └── __init__.py
│ │ │ ├── cisco
│ │ │ │ ├── apic
│ │ │ │ │ └── __init__.py
│ │ │ │ ├── nexus
│ │ │ │ │ ├── __init__.py
│ │ │ │ │ ├── README
│ │ │ │ │ └── constants.py
│ │ │ │ └── __init__.py
│ │ │ ├── mech_bigswitch
│ │ │ │ └── __init__.py
│ │ │ ├── mech_arista
│ │ │ │ ├── README
│ │ │ │ └── __init__.py
│ │ │ ├── __init__.py
│ │ │ └── l2pop
│ │ │ │ └── __init__.py
│ │ ├── __init__.py
│ │ └── common
│ │ │ └── __init__.py
│ ├── mlnx
│ │ ├── README
│ │ ├── __init__.py
│ │ ├── db
│ │ │ └── __init__.py
│ │ ├── agent
│ │ │ └── __init__.py
│ │ └── common
│ │ │ ├── __init__.py
│ │ │ └── constants.py
│ ├── plumgrid
│ │ ├── README
│ │ ├── __init__.py
│ │ ├── common
│ │ │ └── __init__.py
│ │ ├── drivers
│ │ │ └── __init__.py
│ │ └── plumgrid_plugin
│ │ │ ├── __init__.py
│ │ │ └── plugin_ver.py
│ ├── nec
│ │ ├── README
│ │ ├── __init__.py
│ │ ├── agent
│ │ │ └── __init__.py
│ │ ├── db
│ │ │ └── __init__.py
│ │ ├── common
│ │ │ └── __init__.py
│ │ └── extensions
│ │ │ └── __init__.py
│ ├── embrane
│ │ ├── README
│ │ ├── __init__.py
│ │ ├── agent
│ │ │ ├── __init__.py
│ │ │ └── operations
│ │ │ │ └── __init__.py
│ │ ├── common
│ │ │ └── __init__.py
│ │ ├── l2base
│ │ │ ├── __init__.py
│ │ │ ├── fake
│ │ │ │ ├── __init__.py
│ │ │ │ └── fake_l2_plugin.py
│ │ │ └── openvswitch
│ │ │ │ └── __init__.py
│ │ └── plugins
│ │ │ └── __init__.py
│ ├── common
│ │ └── __init__.py
│ ├── hyperv
│ │ ├── __init__.py
│ │ ├── agent
│ │ │ └── __init__.py
│ │ └── common
│ │ │ └── __init__.py
│ ├── midonet
│ │ ├── agent
│ │ │ └── __init__.py
│ │ ├── common
│ │ │ └── __init__.py
│ │ └── __init__.py
│ ├── metaplugin
│ │ ├── __init__.py
│ │ └── common
│ │ │ └── __init__.py
│ └── brocade
│ │ ├── __init__.py
│ │ ├── db
│ │ └── __init__.py
│ │ └── nos
│ │ └── __init__.py
├── cmd
│ ├── sanity
│ │ └── __init__.py
│ └── __init__.py
├── extensions
│ └── __init__.py
├── notifiers
│ └── __init__.py
├── openstack
│ ├── __init__.py
│ └── common
│ │ ├── cache
│ │ ├── __init__.py
│ │ └── _backends
│ │ │ └── __init__.py
│ │ ├── fixture
│ │ └── __init__.py
│ │ ├── middleware
│ │ └── __init__.py
│ │ └── __init__.py
├── tests
│ ├── unit
│ │ ├── api
│ │ │ ├── __init__.py
│ │ │ └── rpc
│ │ │ │ ├── __init__.py
│ │ │ │ └── agentnotifiers
│ │ │ │ └── __init__.py
│ │ ├── ibm
│ │ │ └── __init__.py
│ │ ├── nuage
│ │ │ └── __init__.py
│ │ ├── ofagent
│ │ │ └── __init__.py
│ │ ├── notifiers
│ │ │ └── __init__.py
│ │ ├── vmware
│ │ │ ├── db
│ │ │ │ └── __init__.py
│ │ │ ├── apiclient
│ │ │ │ └── __init__.py
│ │ │ ├── extensions
│ │ │ │ └── __init__.py
│ │ │ ├── nsxlib
│ │ │ │ └── __init__.py
│ │ │ ├── vshield
│ │ │ │ └── __init__.py
│ │ │ └── etc
│ │ │ │ ├── nsx.ini.basic.test
│ │ │ │ ├── fake_get_lrouter_nat.json
│ │ │ │ ├── fake_get_lswitch_lport_att.json
│ │ │ │ ├── fake_post_lrouter_nat.json
│ │ │ │ ├── nsx.ini.test
│ │ │ │ ├── vcns.ini.test
│ │ │ │ ├── fake_get_lrouter_lport_att.json
│ │ │ │ ├── fake_put_lswitch_lport_att.json
│ │ │ │ ├── nsx.ini.full.test
│ │ │ │ ├── nvp.ini.full.test
│ │ │ │ ├── fake_post_gwservice.json
│ │ │ │ ├── fake_post_lrouter_lport.json
│ │ │ │ ├── fake_put_lrouter_lport_att.json
│ │ │ │ ├── fake_get_lqueue.json
│ │ │ │ ├── fake_post_lqueue.json
│ │ │ │ ├── fake_post_security_profile.json
│ │ │ │ ├── fake_post_lswitch.json
│ │ │ │ ├── fake_get_gwservice.json
│ │ │ │ ├── nsx.ini.agentless.test
│ │ │ │ ├── nsx.ini.combined.test
│ │ │ │ ├── fake_get_security_profile.json
│ │ │ │ ├── fake_get_lrouter_lport.json
│ │ │ │ ├── fake_get_lswitch.json
│ │ │ │ ├── fake_post_lswitch_lport.json
│ │ │ │ ├── neutron.conf.test
│ │ │ │ ├── fake_post_lrouter.json
│ │ │ │ └── fake_get_lswitch_lport_status.json
│ │ ├── ml2
│ │ │ ├── drivers
│ │ │ │ ├── cisco
│ │ │ │ │ ├── __init__.py
│ │ │ │ │ ├── apic
│ │ │ │ │ │ └── __init__.py
│ │ │ │ │ └── nexus
│ │ │ │ │ │ └── __init__.py
│ │ │ │ ├── brocade
│ │ │ │ │ └── __init__.py
│ │ │ │ └── __init__.py
│ │ │ └── __init__.py
│ │ ├── oneconvergence
│ │ │ └── __init__.py
│ │ ├── services
│ │ │ ├── l3_router
│ │ │ │ └── __init__.py
│ │ │ ├── loadbalancer
│ │ │ │ ├── agent
│ │ │ │ │ └── __init__.py
│ │ │ │ ├── drivers
│ │ │ │ │ ├── embrane
│ │ │ │ │ │ └── __init__.py
│ │ │ │ │ ├── logging_noop
│ │ │ │ │ │ └── __init__.py
│ │ │ │ │ ├── netscaler
│ │ │ │ │ │ └── __init__.py
│ │ │ │ │ ├── radware
│ │ │ │ │ │ └── __init__.py
│ │ │ │ │ ├── __init__.py
│ │ │ │ │ └── haproxy
│ │ │ │ │ │ └── __init__.py
│ │ │ │ └── __init__.py
│ │ │ ├── firewall
│ │ │ │ ├── __init__.py
│ │ │ │ ├── agents
│ │ │ │ │ ├── __init__.py
│ │ │ │ │ ├── l3reference
│ │ │ │ │ │ └── __init__.py
│ │ │ │ │ └── varmour
│ │ │ │ │ │ └── __init__.py
│ │ │ │ └── drivers
│ │ │ │ │ ├── __init__.py
│ │ │ │ │ ├── linux
│ │ │ │ │ └── __init__.py
│ │ │ │ │ └── varmour
│ │ │ │ │ └── __init__.py
│ │ │ ├── vpn
│ │ │ │ ├── device_drivers
│ │ │ │ │ └── __init__.py
│ │ │ │ ├── service_drivers
│ │ │ │ │ └── __init__.py
│ │ │ │ └── __init__.py
│ │ │ ├── __init__.py
│ │ │ └── metering
│ │ │ │ ├── __init__.py
│ │ │ │ └── drivers
│ │ │ │ └── __init__.py
│ │ ├── bigswitch
│ │ │ ├── etc
│ │ │ │ └── ssl
│ │ │ │ │ ├── ca_certs
│ │ │ │ │ └── README
│ │ │ │ │ ├── host_certs
│ │ │ │ │ └── README
│ │ │ │ │ └── combined
│ │ │ │ │ └── README
│ │ │ └── __init__.py
│ │ ├── midonet
│ │ │ ├── etc
│ │ │ │ └── midonet.ini.test
│ │ │ └── __init__.py
│ │ ├── mlnx
│ │ │ └── __init__.py
│ │ ├── agent
│ │ │ ├── __init__.py
│ │ │ └── linux
│ │ │ │ └── __init__.py
│ │ ├── db
│ │ │ ├── __init__.py
│ │ │ ├── firewall
│ │ │ │ └── __init__.py
│ │ │ ├── loadbalancer
│ │ │ │ └── __init__.py
│ │ │ ├── metering
│ │ │ │ └── __init__.py
│ │ │ └── vpn
│ │ │ │ └── __init__.py
│ │ ├── extensions
│ │ │ └── __init__.py
│ │ ├── nec
│ │ │ └── __init__.py
│ │ ├── cisco
│ │ │ ├── __init__.py
│ │ │ └── n1kv
│ │ │ │ └── __init__.py
│ │ ├── ryu
│ │ │ └── __init__.py
│ │ ├── hyperv
│ │ │ └── __init__.py
│ │ ├── brocade
│ │ │ └── __init__.py
│ │ ├── linuxbridge
│ │ │ └── __init__.py
│ │ ├── metaplugin
│ │ │ └── __init__.py
│ │ ├── openvswitch
│ │ │ └── __init__.py
│ │ ├── embrane
│ │ │ └── __init__.py
│ │ ├── plumgrid
│ │ │ └── __init__.py
│ │ └── __init__.py
│ ├── functional
│ │ ├── sanity
│ │ │ └── __init__.py
│ │ ├── __init__.py
│ │ └── agent
│ │ │ ├── __init__.py
│ │ │ └── linux
│ │ │ └── __init__.py
│ ├── etc
│ │ ├── api-paste.ini.test
│ │ ├── rootwrap.d
│ │ │ └── neutron.test.filters
│ │ └── neutron.conf.test
│ └── __init__.py
├── services
│ ├── loadbalancer
│ │ ├── agent
│ │ │ └── __init__.py
│ │ ├── drivers
│ │ │ ├── common
│ │ │ │ └── __init__.py
│ │ │ ├── embrane
│ │ │ │ ├── __init__.py
│ │ │ │ ├── agent
│ │ │ │ │ └── __init__.py
│ │ │ │ └── README
│ │ │ ├── logging_noop
│ │ │ │ └── __init__.py
│ │ │ ├── netscaler
│ │ │ │ └── __init__.py
│ │ │ ├── __init__.py
│ │ │ ├── radware
│ │ │ │ └── __init__.py
│ │ │ └── haproxy
│ │ │ │ └── __init__.py
│ │ └── __init__.py
│ ├── vpn
│ │ ├── device_drivers
│ │ │ └── template
│ │ │ │ └── openswan
│ │ │ │ └── ipsec.secret.template
│ │ ├── common
│ │ │ ├── __init__.py
│ │ │ └── topics.py
│ │ └── __init__.py
│ ├── __init__.py
│ ├── firewall
│ │ ├── __init__.py
│ │ ├── agents
│ │ │ ├── __init__.py
│ │ │ ├── l3reference
│ │ │ │ └── __init__.py
│ │ │ └── varmour
│ │ │ │ └── __init__.py
│ │ └── drivers
│ │ │ ├── __init__.py
│ │ │ ├── linux
│ │ │ └── __init__.py
│ │ │ └── varmour
│ │ │ └── __init__.py
│ ├── l3_router
│ │ └── __init__.py
│ └── metering
│ │ ├── __init__.py
│ │ ├── agents
│ │ └── __init__.py
│ │ └── drivers
│ │ ├── __init__.py
│ │ ├── noop
│ │ └── __init__.py
│ │ └── iptables
│ │ └── __init__.py
├── agent
│ ├── __init__.py
│ ├── common
│ │ └── __init__.py
│ ├── linux
│ │ └── __init__.py
│ └── metadata
│ │ └── __init__.py
├── scheduler
│ └── __init__.py
├── debug
│ └── __init__.py
├── locale
│ ├── neutron-log-critical.pot
│ ├── fr
│ │ └── LC_MESSAGES
│ │ │ ├── neutron-log-critical.po
│ │ │ └── neutron-log-warning.po
│ ├── ja
│ │ └── LC_MESSAGES
│ │ │ └── neutron-log-warning.po
│ ├── ko_KR
│ │ └── LC_MESSAGES
│ │ │ └── neutron-log-warning.po
│ ├── zh_CN
│ │ └── LC_MESSAGES
│ │ │ └── neutron-log-warning.po
│ └── zh_TW
│ │ └── LC_MESSAGES
│ │ └── neutron-log-warning.po
├── version.py
└── __init__.py
├── babel.cfg
├── doc
└── source
│ ├── devref
│ ├── rpc_api.rst
│ ├── db_layer.rst
│ ├── linuxbridge_agent.rst
│ ├── advanced_services.rst
│ ├── l2_agents.rst
│ ├── plugin-api.rst
│ ├── vpnaas.rst
│ ├── api_extensions.rst
│ ├── fwaas.rst
│ ├── lbaas.rst
│ └── openvswitch_agent.rst
│ └── docbkx
│ ├── quantum-api-1.0
│ ├── samples
│ │ ├── att-get-res-none.xml
│ │ ├── port-post-req.xml
│ │ ├── att-get-res-none.json
│ │ ├── att-get-res.xml
│ │ ├── att-put-req.xml
│ │ ├── network-post-req.xml
│ │ ├── port-post-res.xml
│ │ ├── network-post-res.xml
│ │ ├── networks-post-req.json
│ │ ├── networks-post-req.xml
│ │ ├── port-get-res.xml
│ │ ├── port-post-req.json
│ │ ├── att-get-res.json
│ │ ├── att-put-req.json
│ │ ├── networks-post-res.json
│ │ ├── network-post-req.json
│ │ ├── networks-post-res.xml
│ │ ├── port-post-res.json
│ │ ├── network-get-res.xml
│ │ ├── network-post-res.json
│ │ ├── network-get-res.json
│ │ ├── networks-get-res.xml
│ │ ├── notfound.json
│ │ ├── port-get-detail-res.xml
│ │ ├── port-get-res.json
│ │ ├── ports-get-res.xml
│ │ ├── notimplemented.json
│ │ ├── ports-get-detail-res.xml
│ │ ├── notfound.xml
│ │ ├── notimplemented.xml
│ │ ├── private.json
│ │ ├── fault.json
│ │ ├── networks-get-detail-res.xml
│ │ ├── private.xml
│ │ ├── ports-get-res.json
│ │ ├── networks-get-res.json
│ │ ├── fault.xml
│ │ ├── ports-get-detail-res.json
│ │ ├── port-get-detail-res.json
│ │ ├── versions.xml
│ │ ├── networks-get-detail-res.json
│ │ ├── public.xml
│ │ ├── public.json
│ │ ├── network-get-detail-res.xml
│ │ ├── versions.json
│ │ ├── extensions.json
│ │ ├── extensions.xml
│ │ └── network-get-detail-res.json
│ └── xsd
│ │ ├── txt.htaccess
│ │ ├── .htaccess
│ │ ├── atom.xjb
│ │ ├── shareip.xjb
│ │ ├── affinity-id.xjb
│ │ └── api-common.xjb
│ └── docbkx-example
│ └── README
├── .gitreview
├── etc
├── fwaas_driver.ini
├── neutron
│ ├── plugins
│ │ ├── bigswitch
│ │ │ └── ssl
│ │ │ │ ├── ca_certs
│ │ │ │ └── README
│ │ │ │ └── host_certs
│ │ │ │ └── README
│ │ ├── ml2
│ │ │ ├── ml2_conf_mlnx.ini
│ │ │ ├── ml2_conf_brocade.ini
│ │ │ ├── ml2_conf_ofa.ini
│ │ │ └── ml2_conf_odl.ini
│ │ ├── nuage
│ │ │ └── nuage_plugin.ini
│ │ ├── plumgrid
│ │ │ └── plumgrid.ini
│ │ ├── midonet
│ │ │ └── midonet.ini
│ │ └── brocade
│ │ │ └── brocade.ini
│ └── rootwrap.d
│ │ ├── nec-plugin.filters
│ │ ├── vpnaas.filters
│ │ ├── debug.filters
│ │ ├── linuxbridge-plugin.filters
│ │ ├── ryu-plugin.filters
│ │ ├── openvswitch-plugin.filters
│ │ ├── iptables-firewall.filters
│ │ └── lbaas-haproxy.filters
├── metering_agent.ini
└── vpn_agent.ini
├── .coveragerc
├── tools
├── clean.sh
└── with_venv.sh
├── rally-scenarios
├── README.rst
└── neutron-neutron.yaml
├── .testr.conf
├── test-requirements.txt
├── MANIFEST.in
├── .gitignore
├── .mailmap
├── requirements.txt
├── bin
└── neutron-rootwrap
└── openstack-common.conf
/neutron/api/__init__.py:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/neutron/db/__init__.py:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/neutron/api/rpc/__init__.py:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/neutron/api/v2/__init__.py:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/neutron/common/__init__.py:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/neutron/hacking/__init__.py:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/neutron/plugins/__init__.py:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/neutron/api/views/__init__.py:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/neutron/cmd/sanity/__init__.py:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/neutron/extensions/__init__.py:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/neutron/notifiers/__init__.py:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/neutron/openstack/__init__.py:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/neutron/plugins/ibm/__init__.py:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/neutron/plugins/nuage/__init__.py:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/neutron/plugins/ryu/__init__.py:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/babel.cfg:
--------------------------------------------------------------------------------
1 | [python: **.py]
2 |
3 |
--------------------------------------------------------------------------------
/neutron/plugins/cisco/test/__init__.py:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/neutron/plugins/ibm/agent/__init__.py:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/neutron/plugins/ibm/common/__init__.py:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/neutron/plugins/ofagent/__init__.py:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/neutron/plugins/ryu/agent/__init__.py:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/neutron/plugins/ryu/db/__init__.py:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/neutron/tests/unit/api/__init__.py:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/neutron/tests/unit/api/rpc/__init__.py:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/neutron/tests/unit/ibm/__init__.py:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/neutron/tests/unit/nuage/__init__.py:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/neutron/tests/unit/ofagent/__init__.py:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/neutron/api/rpc/agentnotifiers/__init__.py:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/neutron/openstack/common/cache/__init__.py:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/neutron/plugins/bigswitch/agent/__init__.py:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/neutron/plugins/linuxbridge/__init__.py:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/neutron/plugins/nuage/common/__init__.py:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/neutron/plugins/ofagent/agent/__init__.py:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/neutron/plugins/ofagent/common/__init__.py:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/neutron/plugins/oneconvergence/__init__.py:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/neutron/plugins/openvswitch/__init__.py:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/neutron/plugins/vmware/common/__init__.py:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/neutron/plugins/vmware/dbexts/__init__.py:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/neutron/plugins/vmware/plugins/__init__.py:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/neutron/tests/functional/sanity/__init__.py:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/neutron/tests/unit/notifiers/__init__.py:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/neutron/tests/unit/vmware/db/__init__.py:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/neutron/openstack/common/fixture/__init__.py:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/neutron/openstack/common/middleware/__init__.py:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/neutron/plugins/linuxbridge/agent/__init__.py:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/neutron/plugins/ml2/drivers/brocade/__init__.py:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/neutron/plugins/ml2/drivers/mlnx/__init__.py:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/neutron/plugins/nuage/extensions/__init__.py:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/neutron/plugins/oneconvergence/agent/__init__.py:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/neutron/plugins/oneconvergence/lib/__init__.py:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/neutron/plugins/openvswitch/agent/__init__.py:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/neutron/plugins/vmware/extensions/__init__.py:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/neutron/plugins/vmware/vshield/tasks/__init__.py:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/neutron/services/loadbalancer/agent/__init__.py:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/neutron/tests/unit/ml2/drivers/cisco/__init__.py:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/neutron/tests/unit/oneconvergence/__init__.py:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/neutron/tests/unit/vmware/apiclient/__init__.py:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/neutron/tests/unit/vmware/extensions/__init__.py:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/neutron/tests/unit/vmware/nsxlib/__init__.py:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/neutron/tests/unit/vmware/vshield/__init__.py:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/neutron/db/migration/alembic_migrations/__init__.py:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/neutron/openstack/common/cache/_backends/__init__.py:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/neutron/plugins/ml2/drivers/brocade/db/__init__.py:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/neutron/plugins/ml2/drivers/brocade/nos/__init__.py:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/neutron/plugins/ml2/drivers/cisco/apic/__init__.py:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/neutron/plugins/ml2/drivers/cisco/nexus/__init__.py:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/neutron/plugins/vmware/vshield/common/__init__.py:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/neutron/tests/unit/api/rpc/agentnotifiers/__init__.py:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/neutron/tests/unit/ml2/drivers/brocade/__init__.py:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/neutron/tests/unit/ml2/drivers/cisco/apic/__init__.py:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/neutron/tests/unit/services/l3_router/__init__.py:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/neutron/plugins/ml2/drivers/mech_bigswitch/__init__.py:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/neutron/services/loadbalancer/drivers/common/__init__.py:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/neutron/services/loadbalancer/drivers/embrane/__init__.py:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/neutron/tests/unit/ml2/drivers/cisco/nexus/__init__.py:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/neutron/tests/unit/services/loadbalancer/agent/__init__.py:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/neutron/services/loadbalancer/drivers/embrane/agent/__init__.py:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/neutron/services/loadbalancer/drivers/logging_noop/__init__.py:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/neutron/services/loadbalancer/drivers/netscaler/__init__.py:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/neutron/db/migration/alembic_migrations/versions/HEAD:
--------------------------------------------------------------------------------
1 | 2db5203cb7a9
--------------------------------------------------------------------------------
/neutron/tests/unit/services/loadbalancer/drivers/embrane/__init__.py:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/neutron/tests/unit/services/loadbalancer/drivers/logging_noop/__init__.py:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/neutron/tests/unit/services/loadbalancer/drivers/netscaler/__init__.py:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/doc/source/devref/rpc_api.rst:
--------------------------------------------------------------------------------
1 | Neutron RCP API Layer
2 | =====================
3 |
--------------------------------------------------------------------------------
/doc/source/docbkx/quantum-api-1.0/samples/att-get-res-none.xml:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/doc/source/devref/db_layer.rst:
--------------------------------------------------------------------------------
1 | Neutron Database Layer
2 | ======================
3 |
--------------------------------------------------------------------------------
/doc/source/docbkx/quantum-api-1.0/samples/port-post-req.xml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/doc/source/docbkx/quantum-api-1.0/samples/att-get-res-none.json:
--------------------------------------------------------------------------------
1 | {
2 | "attachment": {}
3 | }
4 |
--------------------------------------------------------------------------------
/.gitreview:
--------------------------------------------------------------------------------
1 | [gerrit]
2 | host=review.openstack.org
3 | port=29418
4 | project=openstack/neutron.git
5 |
--------------------------------------------------------------------------------
/doc/source/docbkx/quantum-api-1.0/samples/att-get-res.xml:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/doc/source/docbkx/quantum-api-1.0/samples/att-put-req.xml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/doc/source/docbkx/quantum-api-1.0/samples/network-post-req.xml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/doc/source/devref/linuxbridge_agent.rst:
--------------------------------------------------------------------------------
1 | L2 Networking with Linux Bridge
2 | -------------------------------
3 |
--------------------------------------------------------------------------------
/doc/source/docbkx/quantum-api-1.0/samples/port-post-res.xml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/doc/source/docbkx/quantum-api-1.0/samples/network-post-res.xml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/neutron/plugins/vmware/__init__.py:
--------------------------------------------------------------------------------
1 | import os
2 |
3 | NSX_EXT_PATH = os.path.join(os.path.dirname(__file__), 'extensions')
4 |
--------------------------------------------------------------------------------
/doc/source/docbkx/quantum-api-1.0/samples/networks-post-req.json:
--------------------------------------------------------------------------------
1 | {
2 | "network": {
3 | "name": "test"
4 | }
5 | }
6 |
--------------------------------------------------------------------------------
/doc/source/docbkx/quantum-api-1.0/samples/networks-post-req.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
--------------------------------------------------------------------------------
/doc/source/docbkx/quantum-api-1.0/samples/port-get-res.xml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/doc/source/docbkx/quantum-api-1.0/samples/port-post-req.json:
--------------------------------------------------------------------------------
1 | {
2 | "port":
3 | {
4 | "state": "ACTIVE"
5 | }
6 | }
--------------------------------------------------------------------------------
/etc/fwaas_driver.ini:
--------------------------------------------------------------------------------
1 | [fwaas]
2 | #driver = neutron.services.firewall.drivers.linux.iptables_fwaas.IptablesFwaasDriver
3 | #enabled = True
4 |
--------------------------------------------------------------------------------
/doc/source/devref/advanced_services.rst:
--------------------------------------------------------------------------------
1 | Advanced Services
2 | =================
3 |
4 | .. toctree::
5 | fwaas
6 | lbaas
7 | vpnaas
8 |
--------------------------------------------------------------------------------
/doc/source/docbkx/quantum-api-1.0/samples/att-get-res.json:
--------------------------------------------------------------------------------
1 | {
2 | "attachment":
3 | {
4 | "id": "test_interface_identifier"
5 | }
6 | }
--------------------------------------------------------------------------------
/doc/source/docbkx/quantum-api-1.0/samples/att-put-req.json:
--------------------------------------------------------------------------------
1 | {
2 | "attachment":
3 | {
4 | "id": "test_interface_identifier"
5 | }
6 | }
--------------------------------------------------------------------------------
/doc/source/docbkx/quantum-api-1.0/samples/networks-post-res.json:
--------------------------------------------------------------------------------
1 | {
2 | "network": {
3 | "id": "611851f2-df8b-4455-b84b-8c73b7ca5dec"
4 | }
5 | }
--------------------------------------------------------------------------------
/doc/source/docbkx/quantum-api-1.0/samples/network-post-req.json:
--------------------------------------------------------------------------------
1 | {
2 | "network":
3 | {
4 | "name": "test_create_network"
5 | }
6 | }
--------------------------------------------------------------------------------
/doc/source/docbkx/quantum-api-1.0/samples/networks-post-res.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
--------------------------------------------------------------------------------
/doc/source/docbkx/quantum-api-1.0/samples/port-post-res.json:
--------------------------------------------------------------------------------
1 | {
2 | "port":
3 | {
4 | "id": "98017ddc-efc8-4c25-a915-774b2a633855"
5 | }
6 | }
--------------------------------------------------------------------------------
/doc/source/docbkx/quantum-api-1.0/samples/network-get-res.xml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/etc/neutron/plugins/bigswitch/ssl/ca_certs/README:
--------------------------------------------------------------------------------
1 | Certificates in this folder will be used to
2 | verify signatures for any controllers the plugin
3 | connects to.
4 |
--------------------------------------------------------------------------------
/neutron/tests/unit/bigswitch/etc/ssl/ca_certs/README:
--------------------------------------------------------------------------------
1 | ca_certs directory for SSL unit tests
2 | No files will be generated here, but it should exist for the tests
3 |
--------------------------------------------------------------------------------
/neutron/tests/unit/bigswitch/etc/ssl/host_certs/README:
--------------------------------------------------------------------------------
1 | host_certs directory for SSL unit tests
2 | No files will be created here, but it should exist for the tests
3 |
--------------------------------------------------------------------------------
/doc/source/devref/l2_agents.rst:
--------------------------------------------------------------------------------
1 | L2 Agent Networking
2 | -------------------
3 | .. toctree::
4 | :maxdepth: 3
5 |
6 | openvswitch_agent
7 | linuxbridge_agent
8 |
--------------------------------------------------------------------------------
/neutron/tests/unit/vmware/etc/nsx.ini.basic.test:
--------------------------------------------------------------------------------
1 | [DEFAULT]
2 | default_tz_uuid = fake_tz_uuid
3 | nsx_controllers=fake_1,fake_2
4 | nsx_user=foo
5 | nsx_password=bar
6 |
--------------------------------------------------------------------------------
/doc/source/docbkx/quantum-api-1.0/samples/network-post-res.json:
--------------------------------------------------------------------------------
1 | {
2 | "network":
3 | {
4 | "id": "158233b0-ca9a-40b4-8614-54a4a99d47d1",
5 | }
6 | }
--------------------------------------------------------------------------------
/doc/source/docbkx/quantum-api-1.0/xsd/txt.htaccess:
--------------------------------------------------------------------------------
1 | DirectoryIndex api.xsd
2 | AddType application/xml wadl
3 | AddType application/xml xsd
4 | AddType application/xml xslt
5 |
--------------------------------------------------------------------------------
/neutron/tests/unit/bigswitch/etc/ssl/combined/README:
--------------------------------------------------------------------------------
1 | combined certificates directory for SSL unit tests
2 | No files will be created here, but it should exist for the tests
3 |
--------------------------------------------------------------------------------
/.coveragerc:
--------------------------------------------------------------------------------
1 | [run]
2 | branch = True
3 | source = neutron
4 | omit = neutron/tests/*,neutron/plugins/cisco/test/*,neutron/openstack/*
5 |
6 | [report]
7 | ignore-errors = True
8 |
--------------------------------------------------------------------------------
/doc/source/docbkx/quantum-api-1.0/xsd/.htaccess:
--------------------------------------------------------------------------------
1 |
2 | DirectoryIndex api.xsd
3 | AddType application/xml wadl
4 | AddType application/xml xsd
5 | AddType application/xml xslt
6 |
--------------------------------------------------------------------------------
/neutron/tests/unit/vmware/etc/fake_get_lrouter_nat.json:
--------------------------------------------------------------------------------
1 | {
2 | "_href": "/ws.v1/lrouter/%(lr_uuid)s/nat/%(uuid)s",
3 | "type": "%(type)s",
4 | "match": %(match_json)s,
5 | "uuid": "%(uuid)s"
6 | }
--------------------------------------------------------------------------------
/neutron/tests/unit/vmware/etc/fake_get_lswitch_lport_att.json:
--------------------------------------------------------------------------------
1 | {
2 | "LogicalPortAttachment":
3 | {
4 | "type": "%(att_type)s",
5 | "schema": "/ws.v1/schema/%(att_type)s"
6 | }
7 | }
--------------------------------------------------------------------------------
/neutron/tests/unit/vmware/etc/fake_post_lrouter_nat.json:
--------------------------------------------------------------------------------
1 | {
2 | "_href": "/ws.v1/lrouter/%(lr_uuid)s/nat/%(uuid)s",
3 | "type": "%(type)s",
4 | "match": %(match_json)s,
5 | "uuid": "%(uuid)s"
6 | }
--------------------------------------------------------------------------------
/doc/source/docbkx/quantum-api-1.0/samples/network-get-res.json:
--------------------------------------------------------------------------------
1 | {
2 | "network":
3 | {
4 | "id": "8bec1293-16bd-4568-ba75-1f58bec0b4c3",
5 | "name": "test_network"
6 | }
7 | }
--------------------------------------------------------------------------------
/doc/source/docbkx/quantum-api-1.0/samples/networks-get-res.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/doc/source/docbkx/quantum-api-1.0/samples/notfound.json:
--------------------------------------------------------------------------------
1 | {
2 | "itemNotFound" : {
3 | "code" : 404,
4 | "message" : "Not Found",
5 | "details" : "Error Details..."
6 | }
7 | }
8 |
--------------------------------------------------------------------------------
/doc/source/docbkx/quantum-api-1.0/samples/port-get-detail-res.xml:
--------------------------------------------------------------------------------
1 |
4 |
6 |
--------------------------------------------------------------------------------
/doc/source/docbkx/quantum-api-1.0/samples/port-get-res.json:
--------------------------------------------------------------------------------
1 | {
2 | "port":
3 | {
4 | "state": "DOWN",
5 | "id": "98017ddc-efc8-4c25-a915-774b2a633855"
6 | }
7 | }
8 |
9 |
--------------------------------------------------------------------------------
/doc/source/docbkx/quantum-api-1.0/samples/ports-get-res.xml:
--------------------------------------------------------------------------------
1 |
2 |
4 |
6 |
--------------------------------------------------------------------------------
/tools/clean.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | rm -rf ./*.deb ./*.tar.gz ./*.dsc ./*.changes
3 | rm -rf */*.deb
4 | rm -rf ./plugins/**/build/ ./plugins/**/dist
5 | rm -rf ./plugins/**/lib/neutron_*_plugin.egg-info ./plugins/neutron-*
6 |
--------------------------------------------------------------------------------
/doc/source/docbkx/quantum-api-1.0/samples/notimplemented.json:
--------------------------------------------------------------------------------
1 | {
2 | "notImplemented" : {
3 | "code" : 501,
4 | "message" : "Not Implemented",
5 | "details" : "Error Details..."
6 | }
7 | }
8 |
--------------------------------------------------------------------------------
/neutron/plugins/ibm/README:
--------------------------------------------------------------------------------
1 | IBM SDN-VE Neutron Plugin
2 |
3 | This plugin implements Neutron v2 APIs.
4 |
5 | For more details on how to use it please refer to the following page:
6 | http://wiki.openstack.org/wiki/IBM-Neutron
7 |
--------------------------------------------------------------------------------
/neutron/db/migration/alembic_migrations/versions/README:
--------------------------------------------------------------------------------
1 | This directory contains the migration scripts for the Neutron project. Please
2 | see the README in neutron/db/migration on how to use and generate new
3 | migrations.
4 |
5 |
6 |
--------------------------------------------------------------------------------
/neutron/tests/unit/vmware/etc/nsx.ini.test:
--------------------------------------------------------------------------------
1 | [DEFAULT]
2 | default_tz_uuid = fake_tz_uuid
3 | nsx_controllers=fake_1, fake_2
4 | nsx_user=foo
5 | nsx_password=bar
6 | default_l3_gw_service_uuid = whatever
7 | default_l2_gw_service_uuid = whatever
8 |
--------------------------------------------------------------------------------
/rally-scenarios/README.rst:
--------------------------------------------------------------------------------
1 | This directory contains rally benchmark scenarios to be run by OpenStack CI.
2 |
3 |
4 | * more about rally: https://wiki.openstack.org/wiki/Rally
5 | * how to use rally-gates: https://wiki.openstack.org/wiki/Rally/RallyGates
6 |
--------------------------------------------------------------------------------
/.testr.conf:
--------------------------------------------------------------------------------
1 | [DEFAULT]
2 | test_command=OS_STDOUT_CAPTURE=1 OS_STDERR_CAPTURE=1 OS_LOG_CAPTURE=1 ${PYTHON:-python} -m subunit.run discover -t ./ ${OS_TEST_PATH:-./neutron/tests/unit} $LISTOPT $IDOPTION
3 | test_id_option=--load-list $IDFILE
4 | test_list_option=--list
5 |
--------------------------------------------------------------------------------
/doc/source/docbkx/quantum-api-1.0/samples/ports-get-detail-res.xml:
--------------------------------------------------------------------------------
1 |
2 |
5 |
8 |
--------------------------------------------------------------------------------
/doc/source/docbkx/quantum-api-1.0/samples/notfound.xml:
--------------------------------------------------------------------------------
1 |
2 |
5 | Not Found
6 | Error Details...
7 |
8 |
--------------------------------------------------------------------------------
/doc/source/docbkx/quantum-api-1.0/samples/notimplemented.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | Not Implemented
4 | Error Details...
5 |
6 |
--------------------------------------------------------------------------------
/doc/source/docbkx/quantum-api-1.0/samples/private.json:
--------------------------------------------------------------------------------
1 | {
2 | "network" {
3 | "id" : "private",
4 | "ip" : [
5 | {"version" : 4, "addr" : "10.176.42.16"},
6 | {"version" : 6, "addr" : "::babe:10.176.42.16"}
7 | ]
8 | }
9 | }
10 |
--------------------------------------------------------------------------------
/neutron/plugins/cisco/README:
--------------------------------------------------------------------------------
1 | Cisco Neutron Virtual Network Plugin
2 |
3 | This plugin implements Neutron v2 APIs and helps configure
4 | topologies consisting of virtual and physical switches.
5 |
6 | For more details on use please refer to:
7 | http://wiki.openstack.org/cisco-neutron
8 |
--------------------------------------------------------------------------------
/neutron/plugins/openvswitch/README:
--------------------------------------------------------------------------------
1 | The Open vSwitch (OVS) Neutron plugin is a simple plugin to manage OVS
2 | features using a local agent running on each hypervisor.
3 |
4 | For details on how to configure and use the plugin, see:
5 |
6 | http://openvswitch.org/openstack/documentation/
7 |
--------------------------------------------------------------------------------
/doc/source/docbkx/quantum-api-1.0/samples/fault.json:
--------------------------------------------------------------------------------
1 | {
2 | "networkNotFound": {
3 | "message": "Unable to find a network with the specified identifier.",
4 | "code": 420,
5 | "detail": "Network 8de6af7c-ef95-4ac1-9d37-172f8df33a1f could not be found"
6 | }
7 | }
8 |
--------------------------------------------------------------------------------
/doc/source/docbkx/quantum-api-1.0/samples/networks-get-detail-res.xml:
--------------------------------------------------------------------------------
1 |
2 |
5 |
8 |
--------------------------------------------------------------------------------
/etc/neutron/plugins/bigswitch/ssl/host_certs/README:
--------------------------------------------------------------------------------
1 | Certificates in this folder must match the name
2 | of the controller they should be used to authenticate
3 | with a .pem extension.
4 |
5 | For example, the certificate for the controller
6 | "192.168.0.1" should be named "192.168.0.1.pem".
7 |
--------------------------------------------------------------------------------
/doc/source/docbkx/quantum-api-1.0/samples/private.xml:
--------------------------------------------------------------------------------
1 |
2 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/etc/neutron/plugins/ml2/ml2_conf_mlnx.ini:
--------------------------------------------------------------------------------
1 | [eswitch]
2 | # (StrOpt) Type of Network Interface to allocate for VM:
3 | # mlnx_direct or hostdev according to libvirt terminology
4 | # vnic_type = mlnx_direct
5 | # (BoolOpt) Enable server compatibility with old nova
6 | # apply_profile_patch = False
7 |
--------------------------------------------------------------------------------
/neutron/services/vpn/device_drivers/template/openswan/ipsec.secret.template:
--------------------------------------------------------------------------------
1 | # Configuration for {{vpnservice.name}} {% for ipsec_site_connection in vpnservice.ipsec_site_connections %}
2 | {{vpnservice.external_ip}} {{ipsec_site_connection.peer_id}} : PSK "{{ipsec_site_connection.psk}}"
3 | {% endfor %}
4 |
--------------------------------------------------------------------------------
/doc/source/docbkx/quantum-api-1.0/samples/ports-get-res.json:
--------------------------------------------------------------------------------
1 | {
2 | "ports":
3 | [
4 | {
5 | "id": "98017ddc-efc8-4c25-a915-774b2a633855"
6 | },
7 | {
8 | "id": "b832be00-6553-4f69-af33-acd554e36d08"
9 | }
10 | ]
11 | }
--------------------------------------------------------------------------------
/neutron/tests/unit/vmware/etc/vcns.ini.test:
--------------------------------------------------------------------------------
1 | [vcns]
2 | manager_uri = https://fake-host
3 | user = fake-user
4 | passwordd = fake-password
5 | datacenter_moid = fake-moid
6 | resource_pool_id = fake-resgroup
7 | datastore_id = fake-datastore
8 | external_network = fake-ext-net
9 | task_status_check_interval = 100
10 |
--------------------------------------------------------------------------------
/doc/source/docbkx/quantum-api-1.0/samples/networks-get-res.json:
--------------------------------------------------------------------------------
1 | {
2 | "networks":
3 | [
4 | {
5 | "id": "8bec1293-16bd-4568-ba75-1f58bec0b4c3"
6 | },
7 | {
8 | "id": "2a39409c-7146-4501-8429-3579e03e9b56"
9 | }
10 | ]
11 | }
--------------------------------------------------------------------------------
/neutron/plugins/mlnx/README:
--------------------------------------------------------------------------------
1 | Mellanox Neutron Plugin
2 |
3 | This plugin implements Neutron v2 APIs with support for
4 | Mellanox embedded switch functionality as part of the
5 | VPI (Ethernet/InfiniBand) HCA.
6 |
7 | For more details on the plugin, please refer to the following link:
8 | https://wiki.openstack.org/wiki/Mellanox-Quantum
9 |
--------------------------------------------------------------------------------
/neutron/tests/unit/vmware/etc/fake_get_lrouter_lport_att.json:
--------------------------------------------------------------------------------
1 | {
2 | "LogicalPortAttachment":
3 | {
4 | %(peer_port_href_field)s
5 | %(peer_port_uuid_field)s
6 | %(l3_gateway_service_uuid_field)s
7 | %(vlan_id)s
8 | "type": "%(type)s",
9 | "schema": "/ws.v1/schema/%(type)s"
10 | }
11 | }
--------------------------------------------------------------------------------
/doc/source/docbkx/quantum-api-1.0/samples/fault.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | Unable to find a network with the specified identifier.
4 |
5 |
6 | Network 8de6af7c-ef95-4ac1-9d37-172f8df33a1f could not be found
7 |
8 |
4 | #auth_resource = /auth
5 | #server = ip:port
6 | #organization = org
7 | #serverauth = uname:pass
8 | #serverssl = True
9 | #base_uri = /base
10 |
11 |
--------------------------------------------------------------------------------
/neutron/tests/unit/vmware/etc/fake_put_lswitch_lport_att.json:
--------------------------------------------------------------------------------
1 | {
2 | "LogicalPortAttachment":
3 | {
4 | %(peer_port_href_field)s
5 | %(peer_port_uuid_field)s
6 | %(vif_uuid_field)s
7 | "_href": "/ws.v1/lswitch/%(ls_uuid)s/lport/%(lp_uuid)s/attachment",
8 | "type": "%(type)s",
9 | "schema": "/ws.v1/schema/%(type)s"
10 | }
11 | }
--------------------------------------------------------------------------------
/doc/source/docbkx/quantum-api-1.0/samples/versions.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/neutron/plugins/plumgrid/README:
--------------------------------------------------------------------------------
1 | PLUMgrid Neutron Plugin for Virtual Network Infrastructure (VNI)
2 |
3 | This plugin implements Neutron v2 APIs and helps configure
4 | L2/L3 virtual networks consisting of PLUMgrid Platform.
5 | Implements External Networks and Port Binding Extension
6 |
7 | For more details on use please refer to:
8 | http://wiki.openstack.org/PLUMgrid-Neutron
9 |
--------------------------------------------------------------------------------
/doc/source/docbkx/quantum-api-1.0/samples/networks-get-detail-res.json:
--------------------------------------------------------------------------------
1 | {
2 | "networks":
3 | [
4 | {
5 | "id": "8bec1293-16bd-4568-ba75-1f58bec0b4c3",
6 | "name": "network_1"
7 | },
8 | {
9 | "id": "2a39409c-7146-4501-8429-3579e03e9b56",
10 | "name": "network_2"
11 | }
12 | ]
13 | }
--------------------------------------------------------------------------------
/doc/source/docbkx/quantum-api-1.0/samples/public.xml:
--------------------------------------------------------------------------------
1 |
2 |
4 |
5 |
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/doc/source/docbkx/quantum-api-1.0/samples/public.json:
--------------------------------------------------------------------------------
1 | {
2 | "network" {
3 | "id" : "public",
4 | "ip" : [
5 | {"version" : 4, "addr" : "67.23.10.132"},
6 | {"version" : 6, "addr" : "::babe:67.23.10.132"},
7 | {"version" : 4, "addr" : "67.23.10.131"},
8 | {"version" : 6, "addr" : "::babe:4317:0A83"}
9 | ]
10 | }
11 | }
12 |
--------------------------------------------------------------------------------
/etc/neutron/rootwrap.d/nec-plugin.filters:
--------------------------------------------------------------------------------
1 | # neutron-rootwrap command filters for nodes on which neutron is
2 | # expected to control network
3 | #
4 | # This file should be owned by (and only-writeable by) the root user
5 |
6 | # format seems to be
7 | # cmd-name: filter-name, raw-command, user, args
8 |
9 | [Filters]
10 |
11 | # nec_neutron_agent
12 | ovs-vsctl: CommandFilter, ovs-vsctl, root
13 |
--------------------------------------------------------------------------------
/neutron/plugins/nec/README:
--------------------------------------------------------------------------------
1 | Quantum NEC OpenFlow Plugin
2 |
3 |
4 | # -- What's this?
5 |
6 | https://wiki.openstack.org/wiki/Neutron/NEC_OpenFlow_Plugin
7 |
8 |
9 | # -- Installation
10 |
11 | Use QuickStart Script for this plugin. This provides you auto installation and
12 | configuration of Nova, Neutron and Trema.
13 | https://github.com/nec-openstack/quantum-openflow-plugin/tree/folsom
14 |
--------------------------------------------------------------------------------
/neutron/plugins/ml2/drivers/mech_arista/README:
--------------------------------------------------------------------------------
1 |
2 | Arista Neutron ML2 Mechanism Driver
3 |
4 | This mechanism driver implements ML2 Driver API and is used to manage the virtual and physical networks using Arista Hardware.
5 |
6 | Note: Initial version of this driver support VLANs only.
7 |
8 | For more details on use please refer to:
9 | https://wiki.openstack.org/wiki/Arista-neutron-ml2-driver
10 |
--------------------------------------------------------------------------------
/neutron/tests/unit/vmware/etc/nsx.ini.full.test:
--------------------------------------------------------------------------------
1 | [DEFAULT]
2 | default_tz_uuid = fake_tz_uuid
3 | nova_zone_id = whatever
4 | nsx_controllers = fake_1, fake_2
5 | nsx_user = foo
6 | nsx_password = bar
7 | default_l3_gw_service_uuid = whatever
8 | default_l2_gw_service_uuid = whatever
9 | default_interface_name = whatever
10 | req_timeout = 14
11 | http_timeout = 13
12 | redirects = 12
13 | retries = 11
14 |
--------------------------------------------------------------------------------
/neutron/tests/unit/vmware/etc/nvp.ini.full.test:
--------------------------------------------------------------------------------
1 | [DEFAULT]
2 | default_tz_uuid = fake_tz_uuid
3 | nova_zone_id = whatever
4 | nvp_controllers = fake_1, fake_2
5 | nvp_user = foo
6 | nvp_password = bar
7 | default_l3_gw_service_uuid = whatever
8 | default_l2_gw_service_uuid = whatever
9 | default_interface_name = whatever
10 | req_timeout = 4
11 | http_timeout = 3
12 | redirects = 2
13 | retries = 2
14 |
--------------------------------------------------------------------------------
/etc/neutron/plugins/ml2/ml2_conf_brocade.ini:
--------------------------------------------------------------------------------
1 | [ml2_brocade]
2 | # username =
3 | # password =
4 | # address =
5 | # ostype = NOS
6 | # physical_networks = physnet1,physnet2
7 | #
8 | # Example:
9 | # username = admin
10 | # password = password
11 | # address = 10.24.84.38
12 | # ostype = NOS
13 | # physical_networks = physnet1,physnet2
14 |
--------------------------------------------------------------------------------
/neutron/tests/unit/vmware/etc/fake_post_gwservice.json:
--------------------------------------------------------------------------------
1 | {
2 | "display_name": "%(display_name)s",
3 | "tags": [{"scope": "os_tid", "tag": "%(tenant_id)s"}],
4 | "gateways": [
5 | {
6 | "transport_node_uuid": "%(transport_node_uuid)s",
7 | "device_id": "%(device_id)s",
8 | "type": "L2Gateway"
9 | }
10 | ],
11 | "type": "L2GatewayServiceConfig",
12 | "uuid": "%(uuid)s"
13 | }
14 |
--------------------------------------------------------------------------------
/neutron/tests/unit/vmware/etc/fake_post_lrouter_lport.json:
--------------------------------------------------------------------------------
1 | {
2 | "display_name": "%(display_name)s",
3 | "_href": "/ws.v1/lrouter/%(lr_uuid)s/lport/%(uuid)s",
4 | "_schema": "/ws.v1/schema/LogicalRouterPortConfig",
5 | "mac_address": "00:00:00:00:00:00",
6 | "admin_status_enabled": true,
7 | "ip_addresses": %(ip_addresses_json)s,
8 | "type": "LogicalRouterPortConfig",
9 | "uuid": "%(uuid)s"
10 | }
--------------------------------------------------------------------------------
/neutron/tests/unit/vmware/etc/fake_put_lrouter_lport_att.json:
--------------------------------------------------------------------------------
1 | {
2 | "LogicalPortAttachment":
3 | {
4 | %(peer_port_href_field)s
5 | %(peer_port_uuid_field)s
6 | %(l3_gateway_service_uuid_field)s
7 | %(vlan_id_field)s
8 | "_href": "/ws.v1/lrouter/%(lr_uuid)s/lport/%(lp_uuid)s/attachment",
9 | "type": "%(type)s",
10 | "schema": "/ws.v1/schema/%(type)s"
11 | }
12 | }
--------------------------------------------------------------------------------
/neutron/plugins/embrane/README:
--------------------------------------------------------------------------------
1 | Embrane Neutron Plugin
2 |
3 | This plugin interfaces OpenStack Neutron with Embrane's heleos platform, which
4 | provides layer 3-7 network services for cloud environments.
5 |
6 | L2 connectivity is leveraged by one of the supported existing plugins.
7 |
8 | For more details on use, configuration and implementation please refer to:
9 | http://wiki.openstack.org/wiki/Neutron/EmbraneNeutronPlugin
--------------------------------------------------------------------------------
/test-requirements.txt:
--------------------------------------------------------------------------------
1 | hacking>=0.9.1,<0.10
2 |
3 | cliff>=1.6.0
4 | coverage>=3.6
5 | discover
6 | fixtures>=0.3.14
7 | mock>=1.0
8 | python-subunit>=0.0.18
9 | ordereddict
10 | sphinx>=1.1.2,!=1.2.0,<1.3
11 | oslosphinx
12 | testrepository>=0.0.18
13 | testtools>=0.9.34
14 | WebTest>=2.0
15 | # Packages for the Cisco Plugin
16 | ###############################
17 | configobj
18 | ###############################
19 |
--------------------------------------------------------------------------------
/neutron/services/loadbalancer/drivers/embrane/README:
--------------------------------------------------------------------------------
1 | Embrane LBaaS Driver
2 |
3 | This DRIVER interfaces OpenStack Neutron with Embrane's heleos platform,
4 | Load Balancing appliances for cloud environments.
5 |
6 | L2 connectivity is leveraged by one of the supported existing plugins.
7 |
8 | For more details on use, configuration and implementation please refer to:
9 | https://wiki.openstack.org/wiki/Neutron/LBaaS/EmbraneDriver
--------------------------------------------------------------------------------
/doc/source/devref/plugin-api.rst:
--------------------------------------------------------------------------------
1 | Neutron Plugin Architecture
2 | ===========================
3 |
4 | `Salvatore Orlando: How to write a Neutron Plugin (if you really need to) `_
5 |
6 | Plugin API
7 | ----------
8 |
9 | .. automodule:: neutron.neutron_plugin_base_v2
10 |
11 | .. autoclass:: NeutronPluginBaseV2
12 | :members:
13 |
--------------------------------------------------------------------------------
/MANIFEST.in:
--------------------------------------------------------------------------------
1 | include AUTHORS
2 | include README.rst
3 | include ChangeLog
4 | include LICENSE
5 | include neutron/db/migration/README
6 | include neutron/db/migration/alembic.ini
7 | include neutron/db/migration/alembic_migrations/script.py.mako
8 | include neutron/db/migration/alembic_migrations/versions/README
9 | recursive-include neutron/locale *
10 |
11 | exclude .gitignore
12 | exclude .gitreview
13 |
14 | global-exclude *.pyc
15 |
--------------------------------------------------------------------------------
/etc/neutron/rootwrap.d/vpnaas.filters:
--------------------------------------------------------------------------------
1 | # neutron-rootwrap command filters for nodes on which neutron is
2 | # expected to control network
3 | #
4 | # This file should be owned by (and only-writeable by) the root user
5 |
6 | # format seems to be
7 | # cmd-name: filter-name, raw-command, user, args
8 |
9 | [Filters]
10 |
11 | ip: IpFilter, ip, root
12 | ip_exec: IpNetnsExecFilter, ip, root
13 | openswan: CommandFilter, ipsec, root
14 |
--------------------------------------------------------------------------------
/neutron/tests/etc/rootwrap.d/neutron.test.filters:
--------------------------------------------------------------------------------
1 | # neutron-rootwrap command filters for the unit test
2 |
3 | # this file goes with neutron/tests/unit/_test_rootwrap_exec.py.
4 | # See the comments there about how to run that unit tests
5 |
6 | # format seems to be
7 | # cmd-name: filter-name, raw-command, user, args
8 |
9 | [Filters]
10 |
11 | # a test filter for the RootwrapTest unit test
12 | bash: CommandFilter, /usr/bin/bash, root
13 |
--------------------------------------------------------------------------------
/neutron/tests/unit/vmware/etc/fake_get_lqueue.json:
--------------------------------------------------------------------------------
1 | {
2 | "display_name": "%(display_name)s",
3 | "uuid": "%(uuid)s",
4 | "type": "LogicalSwitchConfig",
5 | "_schema": "/ws.v1/schema/LogicalQueueConfig",
6 | "dscp": "%(dscp)s",
7 | "max_bandwidth_rate": "%(max_bandwidth_rate)s",
8 | "min_bandwidth_rate": "%(min_bandwidth_rate)s",
9 | "qos_marking": "%(qos_marking)s",
10 | "_href": "/ws.v1/lqueue/%(uuid)s"
11 | }
12 |
--------------------------------------------------------------------------------
/neutron/tests/unit/vmware/etc/fake_post_lqueue.json:
--------------------------------------------------------------------------------
1 | {
2 | "display_name": "%(display_name)s",
3 | "uuid": "%(uuid)s",
4 | "type": "LogicalSwitchConfig",
5 | "_schema": "/ws.v1/schema/LogicalQueueConfig",
6 | "dscp": "%(dscp)s",
7 | "max_bandwidth_rate": "%(max_bandwidth_rate)s",
8 | "min_bandwidth_rate": "%(min_bandwidth_rate)s",
9 | "qos_marking": "%(qos_marking)s",
10 | "_href": "/ws.v1/lqueue/%(uuid)s"
11 | }
12 |
--------------------------------------------------------------------------------
/neutron/tests/unit/vmware/etc/fake_post_security_profile.json:
--------------------------------------------------------------------------------
1 | {
2 | "display_name": "%(display_name)s",
3 | "_href": "/ws.v1/security-profile/%(uuid)s",
4 | "tags": [{"scope": "os_tid", "tag": "%(tenant_id)s"},
5 | {"scope": "nova_spid", "tag": "%(nova_spid)s"}],
6 | "logical_port_egress_rules": [],
7 | "_schema": "/ws.v1/schema/SecurityProfileConfig",
8 | "logical_port_ingress_rules": [],
9 | "uuid": "%(uuid)s"
10 | }
11 |
--------------------------------------------------------------------------------
/neutron/tests/unit/midonet/etc/midonet.ini.test:
--------------------------------------------------------------------------------
1 | [midonet]
2 |
3 | # MidoNet API server URI
4 | midonet_uri = http://localhost:8080/midonet-api
5 |
6 | # MidoNet admin username
7 | username = admin
8 |
9 | # MidoNet admin password
10 | password = passw0rd
11 |
12 | # Virtual provider router ID
13 | provider_router_id = 00112233-0011-0011-0011-001122334455
14 |
15 | # Virtual metadata router ID
16 | metadata_router_id = ffeeddcc-ffee-ffee-ffee-ffeeddccbbaa
17 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | AUTHORS
2 | build/*
3 | build-stamp
4 | ChangeLog
5 | cover/
6 | .coverage
7 | covhtml/
8 | dist/
9 | doc/build
10 | *.DS_Store
11 | *.pyc
12 | neutron.egg-info/
13 | neutron/vcsversion.py
14 | neutron/versioninfo
15 | pbr*.egg/
16 | quantum.egg-info/
17 | quantum/vcsversion.py
18 | quantum/versioninfo
19 | run_tests.err.log
20 | run_tests.log
21 | setuptools*.egg/
22 | subunit.log
23 | .testrepository
24 | .tox/
25 | .venv/
26 | *.mo
27 | *.sw?
28 | *~
29 |
--------------------------------------------------------------------------------
/neutron/tests/unit/vmware/etc/fake_post_lswitch.json:
--------------------------------------------------------------------------------
1 | {
2 | "display_name": "%(display_name)s",
3 | "uuid": "%(uuid)s",
4 | "tags": [{"scope": "os_tid", "tag": "%(tenant_id)s"}],
5 | "type": "LogicalSwitchConfig",
6 | "_schema": "/ws.v1/schema/LogicalSwitchConfig",
7 | "port_isolation_enabled": false,
8 | "transport_zones": [
9 | {"zone_uuid": "%(zone_uuid)s",
10 | "transport_type": "stt"}],
11 | "_href": "/ws.v1/lswitch/%(uuid)s"
12 | }
13 |
--------------------------------------------------------------------------------
/neutron/tests/unit/vmware/etc/fake_get_gwservice.json:
--------------------------------------------------------------------------------
1 | {
2 | "display_name": "%(display_name)s",
3 | "_href": "/ws.v1/gateway-service/%(uuid)s",
4 | "tags": %(tags_json)s,
5 | "_schema": "/ws.v1/schema/L2GatewayServiceConfig",
6 | "gateways": [
7 | {
8 | "transport_node_uuid": "%(transport_node_uuid)s",
9 | "type": "L2Gateway",
10 | "device_id": "%(device_id)s"
11 | }
12 | ],
13 | "type": "L2GatewayServiceConfig",
14 | "uuid": "%(uuid)s"
15 | }
16 |
--------------------------------------------------------------------------------
/doc/source/devref/vpnaas.rst:
--------------------------------------------------------------------------------
1 | VPN as a Service
2 | =====================
3 |
4 | `API Specification`_
5 |
6 | .. _API Specification: http://docs.openstack.org/api/openstack-network/2.0/content/vpnaas_ext.html
7 |
8 | Plugin
9 | ------
10 | .. automodule:: neutron.services.vpn.plugin
11 |
12 | .. autoclass:: VPNPlugin
13 | :members:
14 |
15 | Database layer
16 | --------------
17 |
18 | .. automodule:: neutron.db.vpn.vpn_db
19 |
20 | .. autoclass:: VPNPluginDb
21 | :members:
22 |
--------------------------------------------------------------------------------
/etc/metering_agent.ini:
--------------------------------------------------------------------------------
1 | [DEFAULT]
2 | # Show debugging output in log (sets DEBUG log level output)
3 | # debug = True
4 |
5 | # driver = neutron.services.metering.drivers.iptables.iptables_driver.IptablesMeteringDriver
6 |
7 | # Interval between two metering measures
8 | # measure_interval = 30
9 |
10 | # Interval between two metering reports
11 | # report_interval = 300
12 |
13 | # interface_driver = neutron.agent.linux.interface.OVSInterfaceDriver
14 |
15 | # use_namespaces = True
16 |
--------------------------------------------------------------------------------
/neutron/tests/unit/vmware/etc/nsx.ini.agentless.test:
--------------------------------------------------------------------------------
1 | [DEFAULT]
2 | default_tz_uuid = fake_tz_uuid
3 | nova_zone_id = whatever
4 | nsx_controllers = fake_1, fake_2
5 | nsx_user = foo
6 | nsx_password = bar
7 | default_l3_gw_service_uuid = whatever
8 | default_l2_gw_service_uuid = whatever
9 | default_service_cluster_uuid = whatever
10 | default_interface_name = whatever
11 | req_timeout = 14
12 | http_timeout = 13
13 | redirects = 12
14 | retries = 11
15 |
16 | [NSX]
17 | agent_mode = agentless
18 |
--------------------------------------------------------------------------------
/neutron/tests/unit/vmware/etc/nsx.ini.combined.test:
--------------------------------------------------------------------------------
1 | [DEFAULT]
2 | default_tz_uuid = fake_tz_uuid
3 | nova_zone_id = whatever
4 | nsx_controllers = fake_1, fake_2
5 | nsx_user = foo
6 | nsx_password = bar
7 | default_l3_gw_service_uuid = whatever
8 | default_l2_gw_service_uuid = whatever
9 | default_service_cluster_uuid = whatever
10 | default_interface_name = whatever
11 | req_timeout = 14
12 | http_timeout = 13
13 | redirects = 12
14 | retries = 11
15 |
16 | [NSX]
17 | agent_mode = combined
18 |
--------------------------------------------------------------------------------
/doc/source/docbkx/quantum-api-1.0/samples/network-get-detail-res.xml:
--------------------------------------------------------------------------------
1 |
4 |
5 |
8 |
11 |
12 |
13 |
14 |
--------------------------------------------------------------------------------
/neutron/tests/unit/vmware/etc/fake_get_security_profile.json:
--------------------------------------------------------------------------------
1 | {
2 | "display_name": "%(display_name)s",
3 | "_href": "/ws.v1/security-profile/%(uuid)s",
4 | "tags": [{"scope": "os_tid", "tag": "%(tenant_id)s"},
5 | {"scope": "nova_spid", "tag": "%(nova_spid)s"}],
6 | "logical_port_egress_rules": %(logical_port_egress_rules_json)s,
7 | "_schema": "/ws.v1/schema/SecurityProfileConfig",
8 | "logical_port_ingress_rules": %(logical_port_ingress_rules_json)s,
9 | "uuid": "%(uuid)s"
10 | }
11 |
--------------------------------------------------------------------------------
/neutron/tests/unit/vmware/etc/fake_get_lrouter_lport.json:
--------------------------------------------------------------------------------
1 | {
2 | "display_name": "%(display_name)s",
3 | "admin_status_enabled": "%(admin_status_enabled)s",
4 | "_href": "/ws.v1/lrouter/%(lr_uuid)s/lport/%(uuid)s",
5 | "tags":
6 | [{"scope": "q_port_id", "tag": "%(neutron_port_id)s"},
7 | {"scope": "os_tid", "tag": "%(tenant_id)s"}],
8 | "ip_addresses": %(ip_addresses_json)s,
9 | "_schema": "/ws.v1/schema/LogicalRouterPortConfig",
10 | "type": "LogicalRouterPortConfig",
11 | "uuid": "%(uuid)s"
12 | }
13 |
--------------------------------------------------------------------------------
/etc/neutron/plugins/ml2/ml2_conf_ofa.ini:
--------------------------------------------------------------------------------
1 | # Defines configuration options specific to the OpenFlow Agent Mechanism Driver
2 |
3 | [ovs]
4 | # Please refer to configuration options to the OpenvSwitch
5 |
6 | [agent]
7 | # (IntOpt) Number of seconds to retry acquiring an Open vSwitch datapath.
8 | # This is an optional parameter, default value is 60 seconds.
9 | #
10 | # get_datapath_retry_times =
11 | # Example: get_datapath_retry_times = 30
12 |
13 | # Please refer to configuration options to the OpenvSwitch else the above.
14 |
--------------------------------------------------------------------------------
/doc/source/devref/api_extensions.rst:
--------------------------------------------------------------------------------
1 | ==============
2 | API Extensions
3 | ==============
4 |
5 | API extensions is the standard way of introducing new functionality
6 | to the Neutron project, it allows plugins to
7 | determine if they wish to support the functionality or not.
8 |
9 | Examples
10 | ========
11 |
12 | The easiest way to demonstrate how an API extension is written, is
13 | by studying an existing API extension and explaining the different layers.
14 |
15 | .. toctree::
16 | :maxdepth: 1
17 |
18 | security_group_api
19 |
--------------------------------------------------------------------------------
/neutron/tests/unit/vmware/etc/fake_get_lswitch.json:
--------------------------------------------------------------------------------
1 | {"display_name": "%(display_name)s",
2 | "_href": "/ws.v1/lswitch/%(uuid)s",
3 | "_schema": "/ws.v1/schema/LogicalSwitchConfig",
4 | "_relations": {"LogicalSwitchStatus":
5 | {"fabric_status": %(status)s,
6 | "type": "LogicalSwitchStatus",
7 | "lport_count": %(lport_count)d,
8 | "_href": "/ws.v1/lswitch/%(uuid)s/status",
9 | "_schema": "/ws.v1/schema/LogicalSwitchStatus"}},
10 | "type": "LogicalSwitchConfig",
11 | "tags": %(tags_json)s,
12 | "uuid": "%(uuid)s"}
13 |
--------------------------------------------------------------------------------
/doc/source/docbkx/quantum-api-1.0/xsd/atom.xjb:
--------------------------------------------------------------------------------
1 |
2 |
3 |
8 |
9 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/etc/neutron/rootwrap.d/debug.filters:
--------------------------------------------------------------------------------
1 | # neutron-rootwrap command filters for nodes on which neutron is
2 | # expected to control network
3 | #
4 | # This file should be owned by (and only-writeable by) the root user
5 |
6 | # format seems to be
7 | # cmd-name: filter-name, raw-command, user, args
8 |
9 | [Filters]
10 |
11 | # This is needed because we should ping
12 | # from inside a namespace which requires root
13 | ping: RegExpFilter, ping, root, ping, -w, \d+, -c, \d+, [0-9\.]+
14 | ping6: RegExpFilter, ping6, root, ping6, -w, \d+, -c, \d+, [0-9A-Fa-f:]+
15 |
--------------------------------------------------------------------------------
/etc/neutron/plugins/plumgrid/plumgrid.ini:
--------------------------------------------------------------------------------
1 | # Config file for Neutron PLUMgrid Plugin
2 |
3 | [plumgriddirector]
4 | # This line should be pointing to the PLUMgrid Director,
5 | # for the PLUMgrid platform.
6 | # director_server=
7 | # director_server_port=
8 | # Authentification parameters for the Director.
9 | # These are the admin credentials to manage and control
10 | # the PLUMgrid Director server.
11 | # username=
12 | # password=
13 | # servertimeout=5
14 | # driver=
15 |
--------------------------------------------------------------------------------
/doc/source/docbkx/quantum-api-1.0/xsd/shareip.xjb:
--------------------------------------------------------------------------------
1 |
2 |
3 |
8 |
9 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/etc/neutron/plugins/midonet/midonet.ini:
--------------------------------------------------------------------------------
1 |
2 | [midonet]
3 | # MidoNet API server URI
4 | # midonet_uri = http://localhost:8080/midonet-api
5 |
6 | # MidoNet admin username
7 | # username = admin
8 |
9 | # MidoNet admin password
10 | # password = passw0rd
11 |
12 | # ID of the project that MidoNet admin user belongs to
13 | # project_id = 77777777-7777-7777-7777-777777777777
14 |
15 | # Virtual provider router ID
16 | # provider_router_id = 00112233-0011-0011-0011-001122334455
17 |
18 | # Path to midonet host uuid file
19 | # midonet_host_uuid_path = /etc/midolman/host_uuid.properties
20 |
--------------------------------------------------------------------------------
/doc/source/docbkx/quantum-api-1.0/xsd/affinity-id.xjb:
--------------------------------------------------------------------------------
1 |
2 |
3 |
8 |
9 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/etc/vpn_agent.ini:
--------------------------------------------------------------------------------
1 | [DEFAULT]
2 | # VPN-Agent configuration file
3 | # Note vpn-agent inherits l3-agent, so you can use configs on l3-agent also
4 |
5 | [vpnagent]
6 | # vpn device drivers which vpn agent will use
7 | # If we want to use multiple drivers, we need to define this option multiple times.
8 | # vpn_device_driver=neutron.services.vpn.device_drivers.ipsec.OpenSwanDriver
9 | # vpn_device_driver=neutron.services.vpn.device_drivers.cisco_ipsec.CiscoCsrIPsecDriver
10 | # vpn_device_driver=another_driver
11 |
12 | [ipsec]
13 | # Status check interval
14 | # ipsec_status_check_interval=60
15 |
--------------------------------------------------------------------------------
/doc/source/docbkx/quantum-api-1.0/xsd/api-common.xjb:
--------------------------------------------------------------------------------
1 |
2 |
3 |
8 |
9 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/neutron/plugins/ofagent/README:
--------------------------------------------------------------------------------
1 | This directory includes agent for OpenFlow Agent mechanism driver.
2 |
3 | # -- Installation
4 |
5 | For how to install/set up ML2 mechanism driver for OpenFlow Agent, please refer to
6 | https://github.com/osrg/ryu/wiki/OpenStack
7 |
8 | # -- Ryu General
9 |
10 | For general Ryu stuff, please refer to
11 | http://www.osrg.net/ryu/
12 |
13 | Ryu is available at github
14 | git://github.com/osrg/ryu.git
15 | https://github.com/osrg/ryu
16 |
17 | The mailing is at
18 | ryu-devel@lists.sourceforge.net
19 | https://lists.sourceforge.net/lists/listinfo/ryu-devel
20 |
21 | Enjoy!
22 |
--------------------------------------------------------------------------------
/etc/neutron/rootwrap.d/linuxbridge-plugin.filters:
--------------------------------------------------------------------------------
1 | # neutron-rootwrap command filters for nodes on which neutron is
2 | # expected to control network
3 | #
4 | # This file should be owned by (and only-writeable by) the root user
5 |
6 | # format seems to be
7 | # cmd-name: filter-name, raw-command, user, args
8 |
9 | [Filters]
10 |
11 | # linuxbridge-agent
12 | # unclear whether both variants are necessary, but I'm transliterating
13 | # from the old mechanism
14 | brctl: CommandFilter, brctl, root
15 | bridge: CommandFilter, bridge, root
16 |
17 | # ip_lib
18 | ip: IpFilter, ip, root
19 | ip_exec: IpNetnsExecFilter, ip, root
20 |
--------------------------------------------------------------------------------
/.mailmap:
--------------------------------------------------------------------------------
1 | # Format is:
2 | #
3 | #
4 | lawrancejing
5 | Jiajun Liu
6 | Zhongyue Luo
7 | Kun Huang
8 | Zhenguo Niu
9 | Isaku Yamahata
10 | Isaku Yamahata
11 | Morgan Fainberg
12 |
--------------------------------------------------------------------------------
/requirements.txt:
--------------------------------------------------------------------------------
1 | pbr>=0.6,!=0.7,<1.0
2 |
3 | Paste
4 | PasteDeploy>=1.5.0
5 | Routes>=1.12.3,!=2.0
6 | anyjson>=0.3.3
7 | argparse
8 | Babel>=1.3
9 | eventlet>=0.13.0
10 | greenlet>=0.3.2
11 | httplib2>=0.7.5
12 | requests>=1.1
13 | iso8601>=0.1.9
14 | jsonrpclib
15 | Jinja2
16 | kombu>=2.4.8
17 | netaddr>=0.7.6
18 | python-neutronclient>=2.3.5,<3
19 | SQLAlchemy>=0.7.8,!=0.9.5,<=0.9.99
20 | WebOb>=1.2.3
21 | python-keystoneclient>=0.9.0
22 | alembic>=0.4.1
23 | six>=1.7.0
24 | stevedore>=0.14
25 | oslo.config>=1.2.1
26 | oslo.db>=0.2.0 # Apache-2.0
27 | oslo.messaging>=1.3.0
28 | oslo.rootwrap
29 |
30 | python-novaclient>=2.17.0
31 |
--------------------------------------------------------------------------------
/neutron/tests/unit/vmware/etc/fake_post_lswitch_lport.json:
--------------------------------------------------------------------------------
1 | {
2 | "display_name": "%(uuid)s",
3 | "_href": "/ws.v1/lswitch/%(ls_uuid)s/lport/%(uuid)s",
4 | "security_profiles": [],
5 | "tags":
6 | [{"scope": "q_port_id", "tag": "%(neutron_port_id)s"},
7 | {"scope": "vm_id", "tag": "%(neutron_device_id)s"},
8 | {"scope": "os_tid", "tag": "%(tenant_id)s"}],
9 | "portno": 1,
10 | "queue_uuid": null,
11 | "_schema": "/ws.v1/schema/LogicalSwitchPortConfig",
12 | "mirror_targets": [],
13 | "allowed_address_pairs": [],
14 | "admin_status_enabled": true,
15 | "type": "LogicalSwitchPortConfig",
16 | "uuid": "%(uuid)s"
17 | }
18 |
--------------------------------------------------------------------------------
/doc/source/docbkx/quantum-api-1.0/samples/versions.json:
--------------------------------------------------------------------------------
1 | {
2 | "versions": [
3 | {
4 | "status": "CURRENT",
5 | "id": "v1.0",
6 | "links": [
7 | {
8 | "href": "http://127.0.0.1:9696/v1.0",
9 | "rel": "self"
10 | }
11 | ]
12 | },
13 | {
14 | "status": "FUTURE",
15 | "id": "v1.1",
16 | "links": [
17 | {
18 | "href": "http://127.0.0.1:9696/v1.1",
19 | "rel": "self"
20 | }
21 | ]
22 | }
23 | ]
24 | }
--------------------------------------------------------------------------------
/neutron/plugins/openvswitch/agent/xenapi/README:
--------------------------------------------------------------------------------
1 | This directory contains files that are required for the XenAPI support.
2 | They should be installed in the XenServer / Xen Cloud Platform dom0.
3 |
4 | If you install them manually, you will need to ensure that the newly
5 | added files are executable. You can do this by running the following
6 | command (from dom0):
7 |
8 | chmod a+x /etc/xapi.d/plugins/*
9 |
10 | Otherwise, you can build an rpm by running the following command:
11 |
12 | ./contrib/build-rpm.sh
13 |
14 | and install the rpm by running the following command (from dom0):
15 |
16 | rpm -i openstack-neutron-xen-plugins.rpm
17 |
--------------------------------------------------------------------------------
/neutron/plugins/ryu/README:
--------------------------------------------------------------------------------
1 | Neutron plugin for Ryu Network Operating System
2 | This directory includes neutron plugin for Ryu Network Operating System.
3 |
4 | # -- Installation
5 |
6 | For how to install/set up this plugin with Ryu and OpenStack, please refer to
7 | https://github.com/osrg/ryu/wiki/OpenStack
8 |
9 | # -- Ryu General
10 |
11 | For general Ryu stuff, please refer to
12 | http://www.osrg.net/ryu/
13 |
14 | Ryu is available at github
15 | git://github.com/osrg/ryu.git
16 | https://github.com/osrg/ryu
17 |
18 | The mailing is at
19 | ryu-devel@lists.sourceforge.net
20 | https://lists.sourceforge.net/lists/listinfo/ryu-devel
21 |
22 | Enjoy!
23 |
--------------------------------------------------------------------------------
/neutron/plugins/mlnx/__init__.py:
--------------------------------------------------------------------------------
1 | # Copyright 2013 Mellanox Technologies, Ltd
2 | #
3 | # Licensed under the Apache License, Version 2.0 (the "License");
4 | # you may not use this file except in compliance with the License.
5 | # You may obtain a copy of the License at
6 | #
7 | # http://www.apache.org/licenses/LICENSE-2.0
8 | #
9 | # Unless required by applicable law or agreed to in writing, software
10 | # distributed under the License is distributed on an "AS IS" BASIS,
11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
12 | # implied.
13 | # See the License for the specific language governing permissions and
14 | # limitations under the License.
15 |
--------------------------------------------------------------------------------
/neutron/plugins/mlnx/db/__init__.py:
--------------------------------------------------------------------------------
1 | # Copyright 2013 Mellanox Technologies, Ltd
2 | #
3 | # Licensed under the Apache License, Version 2.0 (the "License");
4 | # you may not use this file except in compliance with the License.
5 | # You may obtain a copy of the License at
6 | #
7 | # http://www.apache.org/licenses/LICENSE-2.0
8 | #
9 | # Unless required by applicable law or agreed to in writing, software
10 | # distributed under the License is distributed on an "AS IS" BASIS,
11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
12 | # implied.
13 | # See the License for the specific language governing permissions and
14 | # limitations under the License.
15 |
--------------------------------------------------------------------------------
/neutron/tests/unit/mlnx/__init__.py:
--------------------------------------------------------------------------------
1 | # Copyright 2013 Mellanox Technologies, Ltd
2 | #
3 | # Licensed under the Apache License, Version 2.0 (the "License");
4 | # you may not use this file except in compliance with the License.
5 | # You may obtain a copy of the License at
6 | #
7 | # http://www.apache.org/licenses/LICENSE-2.0
8 | #
9 | # Unless required by applicable law or agreed to in writing, software
10 | # distributed under the License is distributed on an "AS IS" BASIS,
11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
12 | # implied.
13 | # See the License for the specific language governing permissions and
14 | # limitations under the License.
15 |
--------------------------------------------------------------------------------
/neutron/plugins/mlnx/agent/__init__.py:
--------------------------------------------------------------------------------
1 | # Copyright 2013 Mellanox Technologies, Ltd
2 | #
3 | # Licensed under the Apache License, Version 2.0 (the "License");
4 | # you may not use this file except in compliance with the License.
5 | # You may obtain a copy of the License at
6 | #
7 | # http://www.apache.org/licenses/LICENSE-2.0
8 | #
9 | # Unless required by applicable law or agreed to in writing, software
10 | # distributed under the License is distributed on an "AS IS" BASIS,
11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
12 | # implied.
13 | # See the License for the specific language governing permissions and
14 | # limitations under the License.
15 |
--------------------------------------------------------------------------------
/neutron/plugins/mlnx/common/__init__.py:
--------------------------------------------------------------------------------
1 | # Copyright 2013 Mellanox Technologies, Ltd
2 | #
3 | # Licensed under the Apache License, Version 2.0 (the "License");
4 | # you may not use this file except in compliance with the License.
5 | # You may obtain a copy of the License at
6 | #
7 | # http://www.apache.org/licenses/LICENSE-2.0
8 | #
9 | # Unless required by applicable law or agreed to in writing, software
10 | # distributed under the License is distributed on an "AS IS" BASIS,
11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
12 | # implied.
13 | # See the License for the specific language governing permissions and
14 | # limitations under the License.
15 |
--------------------------------------------------------------------------------
/neutron/tests/functional/__init__.py:
--------------------------------------------------------------------------------
1 | # Copyright 2013 Red Hat, Inc.
2 | #
3 | # Licensed under the Apache License, Version 2.0 (the "License"); you may
4 | # not use this file except in compliance with the License. You may obtain
5 | # a copy of the License at
6 | #
7 | # http://www.apache.org/licenses/LICENSE-2.0
8 | #
9 | # Unless required by applicable law or agreed to in writing, software
10 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
11 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
12 | # License for the specific language governing permissions and limitations
13 | # under the License.
14 |
--------------------------------------------------------------------------------
/neutron/tests/unit/agent/__init__.py:
--------------------------------------------------------------------------------
1 | # Copyright 2013 Red Hat, Inc.
2 | #
3 | # Licensed under the Apache License, Version 2.0 (the "License"); you may
4 | # not use this file except in compliance with the License. You may obtain
5 | # a copy of the License at
6 | #
7 | # http://www.apache.org/licenses/LICENSE-2.0
8 | #
9 | # Unless required by applicable law or agreed to in writing, software
10 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
11 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
12 | # License for the specific language governing permissions and limitations
13 | # under the License.
14 |
--------------------------------------------------------------------------------
/neutron/db/loadbalancer/__init__.py:
--------------------------------------------------------------------------------
1 | # Copyright 2013 OpenStack Foundation
2 | #
3 | # Licensed under the Apache License, Version 2.0 (the "License"); you may
4 | # not use this file except in compliance with the License. You may obtain
5 | # a copy of the License at
6 | #
7 | # http://www.apache.org/licenses/LICENSE-2.0
8 | #
9 | # Unless required by applicable law or agreed to in writing, software
10 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
11 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
12 | # License for the specific language governing permissions and limitations
13 | # under the License.
14 |
--------------------------------------------------------------------------------
/neutron/plugins/ryu/common/__init__.py:
--------------------------------------------------------------------------------
1 | # Copyright 2012 Red Hat, Inc.
2 | #
3 | # Licensed under the Apache License, Version 2.0 (the "License"); you may
4 | # not use this file except in compliance with the License. You may obtain
5 | # a copy of the License at
6 | #
7 | # http://www.apache.org/licenses/LICENSE-2.0
8 | #
9 | # Unless required by applicable law or agreed to in writing, software
10 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
11 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
12 | # License for the specific language governing permissions and limitations
13 | # under the License.
14 |
--------------------------------------------------------------------------------
/neutron/tests/functional/agent/__init__.py:
--------------------------------------------------------------------------------
1 | # Copyright 2013 Red Hat, Inc.
2 | #
3 | # Licensed under the Apache License, Version 2.0 (the "License"); you may
4 | # not use this file except in compliance with the License. You may obtain
5 | # a copy of the License at
6 | #
7 | # http://www.apache.org/licenses/LICENSE-2.0
8 | #
9 | # Unless required by applicable law or agreed to in writing, software
10 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
11 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
12 | # License for the specific language governing permissions and limitations
13 | # under the License.
14 |
--------------------------------------------------------------------------------
/neutron/tests/unit/agent/linux/__init__.py:
--------------------------------------------------------------------------------
1 | # Copyright 2013 Red Hat, Inc.
2 | #
3 | # Licensed under the Apache License, Version 2.0 (the "License"); you may
4 | # not use this file except in compliance with the License. You may obtain
5 | # a copy of the License at
6 | #
7 | # http://www.apache.org/licenses/LICENSE-2.0
8 | #
9 | # Unless required by applicable law or agreed to in writing, software
10 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
11 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
12 | # License for the specific language governing permissions and limitations
13 | # under the License.
14 |
--------------------------------------------------------------------------------
/neutron/tests/unit/db/__init__.py:
--------------------------------------------------------------------------------
1 | # Copyright 2013 OpenStack Foundation
2 | #
3 | # Licensed under the Apache License, Version 2.0 (the "License"); you may
4 | # not use this file except in compliance with the License. You may obtain
5 | # a copy of the License at
6 | #
7 | # http://www.apache.org/licenses/LICENSE-2.0
8 | #
9 | # Unless required by applicable law or agreed to in writing, software
10 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
11 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
12 | # License for the specific language governing permissions and limitations
13 | # under the License.
14 |
--------------------------------------------------------------------------------
/neutron/plugins/openvswitch/common/__init__.py:
--------------------------------------------------------------------------------
1 | # Copyright 2012 Red Hat, Inc.
2 | #
3 | # Licensed under the Apache License, Version 2.0 (the "License"); you may
4 | # not use this file except in compliance with the License. You may obtain
5 | # a copy of the License at
6 | #
7 | # http://www.apache.org/licenses/LICENSE-2.0
8 | #
9 | # Unless required by applicable law or agreed to in writing, software
10 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
11 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
12 | # License for the specific language governing permissions and limitations
13 | # under the License.
14 |
--------------------------------------------------------------------------------
/neutron/tests/functional/agent/linux/__init__.py:
--------------------------------------------------------------------------------
1 | # Copyright 2013 Red Hat, Inc.
2 | #
3 | # Licensed under the Apache License, Version 2.0 (the "License"); you may
4 | # not use this file except in compliance with the License. You may obtain
5 | # a copy of the License at
6 | #
7 | # http://www.apache.org/licenses/LICENSE-2.0
8 | #
9 | # Unless required by applicable law or agreed to in writing, software
10 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
11 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
12 | # License for the specific language governing permissions and limitations
13 | # under the License.
14 |
--------------------------------------------------------------------------------
/neutron/tests/unit/db/firewall/__init__.py:
--------------------------------------------------------------------------------
1 | # Copyright 2013 OpenStack Foundation
2 | #
3 | # Licensed under the Apache License, Version 2.0 (the "License"); you may
4 | # not use this file except in compliance with the License. You may obtain
5 | # a copy of the License at
6 | #
7 | # http://www.apache.org/licenses/LICENSE-2.0
8 | #
9 | # Unless required by applicable law or agreed to in writing, software
10 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
11 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
12 | # License for the specific language governing permissions and limitations
13 | # under the License.
14 |
--------------------------------------------------------------------------------
/neutron/tests/unit/extensions/__init__.py:
--------------------------------------------------------------------------------
1 | # Copyright 2011 OpenStack Foundation
2 | #
3 | # Licensed under the Apache License, Version 2.0 (the "License"); you may
4 | # not use this file except in compliance with the License. You may obtain
5 | # a copy of the License at
6 | #
7 | # http://www.apache.org/licenses/LICENSE-2.0
8 | #
9 | # Unless required by applicable law or agreed to in writing, software
10 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
11 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
12 | # License for the specific language governing permissions and limitations
13 | # under the License.
14 |
--------------------------------------------------------------------------------
/neutron/plugins/nec/__init__.py:
--------------------------------------------------------------------------------
1 | # Copyright 2012 NEC Corporation. All rights reserved.
2 | #
3 | # Licensed under the Apache License, Version 2.0 (the "License"); you may
4 | # not use this file except in compliance with the License. You may obtain
5 | # a copy of the License at
6 | #
7 | # http://www.apache.org/licenses/LICENSE-2.0
8 | #
9 | # Unless required by applicable law or agreed to in writing, software
10 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
11 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
12 | # License for the specific language governing permissions and limitations
13 | # under the License.
14 |
--------------------------------------------------------------------------------
/neutron/tests/unit/db/loadbalancer/__init__.py:
--------------------------------------------------------------------------------
1 | # Copyright 2013 OpenStack Foundation
2 | #
3 | # Licensed under the Apache License, Version 2.0 (the "License"); you may
4 | # not use this file except in compliance with the License. You may obtain
5 | # a copy of the License at
6 | #
7 | # http://www.apache.org/licenses/LICENSE-2.0
8 | #
9 | # Unless required by applicable law or agreed to in writing, software
10 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
11 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
12 | # License for the specific language governing permissions and limitations
13 | # under the License.
14 |
--------------------------------------------------------------------------------
/neutron/tests/unit/services/firewall/__init__.py:
--------------------------------------------------------------------------------
1 | # Copyright 2013 OpenStack Foundation
2 | #
3 | # Licensed under the Apache License, Version 2.0 (the "License"); you may
4 | # not use this file except in compliance with the License. You may obtain
5 | # a copy of the License at
6 | #
7 | # http://www.apache.org/licenses/LICENSE-2.0
8 | #
9 | # Unless required by applicable law or agreed to in writing, software
10 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
11 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
12 | # License for the specific language governing permissions and limitations
13 | # under the License.
14 |
--------------------------------------------------------------------------------
/neutron/agent/__init__.py:
--------------------------------------------------------------------------------
1 | # Copyright 2012 OpenStack Foundation
2 | # All Rights Reserved.
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may
5 | # not use this file except in compliance with the License. You may obtain
6 | # a copy of the License at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # Unless required by applicable law or agreed to in writing, software
11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
13 | # License for the specific language governing permissions and limitations
14 | # under the License.
15 |
--------------------------------------------------------------------------------
/neutron/plugins/ml2/drivers/cisco/nexus/README:
--------------------------------------------------------------------------------
1 | Neutron ML2 Cisco Nexus Mechanism Driver README
2 |
3 |
4 | Notes:
5 |
6 | The initial version of this driver supports only a single physical
7 | network.
8 |
9 | For provider networks, extended configuration options are not
10 | currently supported.
11 |
12 | This driver's database may have duplicate entries also found in the
13 | core ML2 database. Since the Cisco Nexus DB code is a port from the
14 | plugins/cisco implementation this duplication will remain until the
15 | plugins/cisco code is deprecated.
16 |
17 |
18 | For more details on using Cisco Nexus switches under ML2 please refer to:
19 | http://wiki.openstack.org/wiki/Neutron/ML2/MechCiscoNexus
20 |
--------------------------------------------------------------------------------
/neutron/plugins/nec/agent/__init__.py:
--------------------------------------------------------------------------------
1 | # Copyright 2012 NEC Corporation. All rights reserved.
2 | #
3 | # Licensed under the Apache License, Version 2.0 (the "License"); you may
4 | # not use this file except in compliance with the License. You may obtain
5 | # a copy of the License at
6 | #
7 | # http://www.apache.org/licenses/LICENSE-2.0
8 | #
9 | # Unless required by applicable law or agreed to in writing, software
10 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
11 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
12 | # License for the specific language governing permissions and limitations
13 | # under the License.
14 |
--------------------------------------------------------------------------------
/neutron/plugins/nec/db/__init__.py:
--------------------------------------------------------------------------------
1 | # Copyright 2012 NEC Corporation. All rights reserved.
2 | #
3 | # Licensed under the Apache License, Version 2.0 (the "License"); you may
4 | # not use this file except in compliance with the License. You may obtain
5 | # a copy of the License at
6 | #
7 | # http://www.apache.org/licenses/LICENSE-2.0
8 | #
9 | # Unless required by applicable law or agreed to in writing, software
10 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
11 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
12 | # License for the specific language governing permissions and limitations
13 | # under the License.
14 |
--------------------------------------------------------------------------------
/neutron/tests/unit/nec/__init__.py:
--------------------------------------------------------------------------------
1 | # Copyright 2012 NEC Corporation. All rights reserved.
2 | #
3 | # Licensed under the Apache License, Version 2.0 (the "License"); you may
4 | # not use this file except in compliance with the License. You may obtain
5 | # a copy of the License at
6 | #
7 | # http://www.apache.org/licenses/LICENSE-2.0
8 | #
9 | # Unless required by applicable law or agreed to in writing, software
10 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
11 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
12 | # License for the specific language governing permissions and limitations
13 | # under the License.
14 |
--------------------------------------------------------------------------------
/neutron/tests/unit/services/firewall/agents/__init__.py:
--------------------------------------------------------------------------------
1 | # Copyright 2013 OpenStack Foundation
2 | #
3 | # Licensed under the Apache License, Version 2.0 (the "License"); you may
4 | # not use this file except in compliance with the License. You may obtain
5 | # a copy of the License at
6 | #
7 | # http://www.apache.org/licenses/LICENSE-2.0
8 | #
9 | # Unless required by applicable law or agreed to in writing, software
10 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
11 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
12 | # License for the specific language governing permissions and limitations
13 | # under the License.
14 |
--------------------------------------------------------------------------------
/neutron/agent/common/__init__.py:
--------------------------------------------------------------------------------
1 | # Copyright 2012 OpenStack Foundation
2 | # All Rights Reserved.
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may
5 | # not use this file except in compliance with the License. You may obtain
6 | # a copy of the License at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # Unless required by applicable law or agreed to in writing, software
11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
13 | # License for the specific language governing permissions and limitations
14 | # under the License.
15 |
--------------------------------------------------------------------------------
/neutron/agent/linux/__init__.py:
--------------------------------------------------------------------------------
1 | # Copyright 2012 OpenStack Foundation
2 | # All Rights Reserved.
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may
5 | # not use this file except in compliance with the License. You may obtain
6 | # a copy of the License at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # Unless required by applicable law or agreed to in writing, software
11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
13 | # License for the specific language governing permissions and limitations
14 | # under the License.
15 |
--------------------------------------------------------------------------------
/neutron/cmd/__init__.py:
--------------------------------------------------------------------------------
1 | # Copyright (c) 2013 OpenStack Foundation.
2 | # All Rights Reserved.
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may
5 | # not use this file except in compliance with the License. You may obtain
6 | # a copy of the License at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # Unless required by applicable law or agreed to in writing, software
11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
13 | # License for the specific language governing permissions and limitations
14 | # under the License.
15 |
--------------------------------------------------------------------------------
/neutron/db/firewall/__init__.py:
--------------------------------------------------------------------------------
1 | # Copyright 2013 OpenStack Foundation
2 | # All Rights Reserved.
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may
5 | # not use this file except in compliance with the License. You may obtain
6 | # a copy of the License at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # Unless required by applicable law or agreed to in writing, software
11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
13 | # License for the specific language governing permissions and limitations
14 | # under the License.
15 |
--------------------------------------------------------------------------------
/neutron/plugins/nec/common/__init__.py:
--------------------------------------------------------------------------------
1 | # Copyright 2012 NEC Corporation. All rights reserved.
2 | #
3 | # Licensed under the Apache License, Version 2.0 (the "License"); you may
4 | # not use this file except in compliance with the License. You may obtain
5 | # a copy of the License at
6 | #
7 | # http://www.apache.org/licenses/LICENSE-2.0
8 | #
9 | # Unless required by applicable law or agreed to in writing, software
10 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
11 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
12 | # License for the specific language governing permissions and limitations
13 | # under the License.
14 |
--------------------------------------------------------------------------------
/neutron/plugins/nec/extensions/__init__.py:
--------------------------------------------------------------------------------
1 | # Copyright 2012 NEC Corporation. All rights reserved.
2 | #
3 | # Licensed under the Apache License, Version 2.0 (the "License"); you may
4 | # not use this file except in compliance with the License. You may obtain
5 | # a copy of the License at
6 | #
7 | # http://www.apache.org/licenses/LICENSE-2.0
8 | #
9 | # Unless required by applicable law or agreed to in writing, software
10 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
11 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
12 | # License for the specific language governing permissions and limitations
13 | # under the License.
14 |
--------------------------------------------------------------------------------
/neutron/services/__init__.py:
--------------------------------------------------------------------------------
1 | # Copyright 2012 OpenStack Foundation.
2 | # All Rights Reserved.
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may
5 | # not use this file except in compliance with the License. You may obtain
6 | # a copy of the License at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # Unless required by applicable law or agreed to in writing, software
11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
13 | # License for the specific language governing permissions and limitations
14 | # under the License.
15 |
--------------------------------------------------------------------------------
/neutron/tests/__init__.py:
--------------------------------------------------------------------------------
1 | # Copyright (c) 2011 OpenStack Foundation.
2 | # All Rights Reserved.
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may
5 | # not use this file except in compliance with the License. You may obtain
6 | # a copy of the License at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # Unless required by applicable law or agreed to in writing, software
11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
13 | # License for the specific language governing permissions and limitations
14 | # under the License.
15 |
--------------------------------------------------------------------------------
/neutron/tests/unit/services/firewall/drivers/__init__.py:
--------------------------------------------------------------------------------
1 | # Copyright 2013 OpenStack Foundation
2 | #
3 | # Licensed under the Apache License, Version 2.0 (the "License"); you may
4 | # not use this file except in compliance with the License. You may obtain
5 | # a copy of the License at
6 | #
7 | # http://www.apache.org/licenses/LICENSE-2.0
8 | #
9 | # Unless required by applicable law or agreed to in writing, software
10 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
11 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
12 | # License for the specific language governing permissions and limitations
13 | # under the License.
14 |
--------------------------------------------------------------------------------
/etc/neutron/rootwrap.d/ryu-plugin.filters:
--------------------------------------------------------------------------------
1 | # neutron-rootwrap command filters for nodes on which neutron is
2 | # expected to control network
3 | #
4 | # This file should be owned by (and only-writeable by) the root user
5 |
6 | # format seems to be
7 | # cmd-name: filter-name, raw-command, user, args
8 |
9 | [Filters]
10 |
11 | # ryu-agent
12 | # unclear whether both variants are necessary, but I'm transliterating
13 | # from the old mechanism
14 |
15 | # neutron/plugins/ryu/agent/ryu_neutron_agent.py:
16 | # "ovs-vsctl", "--timeout=2", ...
17 | ovs-vsctl: CommandFilter, ovs-vsctl, root
18 |
19 | # neutron/plugins/ryu/agent/ryu_neutron_agent.py:
20 | # "xe", "vif-param-get", ...
21 | xe: CommandFilter, xe, root
22 |
--------------------------------------------------------------------------------
/neutron/plugins/common/__init__.py:
--------------------------------------------------------------------------------
1 | # Copyright 2012 OpenStack Foundation.
2 | # All Rights Reserved.
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may
5 | # not use this file except in compliance with the License. You may obtain
6 | # a copy of the License at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # Unless required by applicable law or agreed to in writing, software
11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
13 | # License for the specific language governing permissions and limitations
14 | # under the License.
15 |
--------------------------------------------------------------------------------
/neutron/plugins/hyperv/__init__.py:
--------------------------------------------------------------------------------
1 | # Copyright 2013 Cloudbase Solutions SRL
2 | # All Rights Reserved.
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may
5 | # not use this file except in compliance with the License. You may obtain
6 | # a copy of the License at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # Unless required by applicable law or agreed to in writing, software
11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
13 | # License for the specific language governing permissions and limitations
14 | # under the License.
15 |
--------------------------------------------------------------------------------
/neutron/plugins/ml2/__init__.py:
--------------------------------------------------------------------------------
1 | # Copyright (c) 2013 OpenStack Foundation
2 | # All Rights Reserved.
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may
5 | # not use this file except in compliance with the License. You may obtain
6 | # a copy of the License at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # Unless required by applicable law or agreed to in writing, software
11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
13 | # License for the specific language governing permissions and limitations
14 | # under the License.
15 |
--------------------------------------------------------------------------------
/neutron/plugins/vmware/dhcp_meta/__init__.py:
--------------------------------------------------------------------------------
1 | # Copyright 2013 VMware, Inc.
2 | # All Rights Reserved
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may
5 | # not use this file except in compliance with the License. You may obtain
6 | # a copy of the License at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # Unless required by applicable law or agreed to in writing, software
11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
13 | # License for the specific language governing permissions and limitations
14 | # under the License.
15 |
--------------------------------------------------------------------------------
/neutron/plugins/vmware/vshield/__init__.py:
--------------------------------------------------------------------------------
1 | # Copyright 2013 VMware, Inc
2 | # All Rights Reserved.
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may
5 | # not use this file except in compliance with the License. You may obtain
6 | # a copy of the License at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # Unless required by applicable law or agreed to in writing, software
11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
13 | # License for the specific language governing permissions and limitations
14 | # under the License.
15 |
--------------------------------------------------------------------------------
/neutron/scheduler/__init__.py:
--------------------------------------------------------------------------------
1 | # Copyright (c) 2013 OpenStack Foundation.
2 | # All Rights Reserved.
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may
5 | # not use this file except in compliance with the License. You may obtain
6 | # a copy of the License at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # Unless required by applicable law or agreed to in writing, software
11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
13 | # License for the specific language governing permissions and limitations
14 | # under the License.
15 |
--------------------------------------------------------------------------------
/neutron/tests/etc/neutron.conf.test:
--------------------------------------------------------------------------------
1 | [DEFAULT]
2 | # Show more verbose log output (sets INFO log level output)
3 | verbose = True
4 |
5 | # Show debugging output in logs (sets DEBUG log level output)
6 | debug = False
7 |
8 | # Address to bind the API server
9 | bind_host = 0.0.0.0
10 |
11 | # Port the bind the API server to
12 | bind_port = 9696
13 |
14 | # Path to the extensions
15 | api_extensions_path = unit/extensions
16 |
17 | # Paste configuration file
18 | api_paste_config = api-paste.ini.test
19 |
20 | # The messaging module to use, defaults to kombu.
21 | rpc_backend = neutron.openstack.common.rpc.impl_fake
22 |
23 | lock_path = $state_path/lock
24 |
25 | [database]
26 | connection = 'sqlite://'
27 |
28 |
--------------------------------------------------------------------------------
/neutron/tests/unit/cisco/__init__.py:
--------------------------------------------------------------------------------
1 | # Copyright 2012 OpenStack Foundation.
2 | # All Rights Reserved.
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may
5 | # not use this file except in compliance with the License. You may obtain
6 | # a copy of the License at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # Unless required by applicable law or agreed to in writing, software
11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
13 | # License for the specific language governing permissions and limitations
14 | # under the License.
15 |
--------------------------------------------------------------------------------
/neutron/tests/unit/ryu/__init__.py:
--------------------------------------------------------------------------------
1 | # Copyright 2012 OpenStack Foundation.
2 | # All Rights Reserved.
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may
5 | # not use this file except in compliance with the License. You may obtain
6 | # a copy of the License at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # Unless required by applicable law or agreed to in writing, software
11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
13 | # License for the specific language governing permissions and limitations
14 | # under the License.
15 |
--------------------------------------------------------------------------------
/neutron/tests/unit/services/firewall/drivers/linux/__init__.py:
--------------------------------------------------------------------------------
1 | # Copyright 2013 OpenStack Foundation
2 | #
3 | # Licensed under the Apache License, Version 2.0 (the "License"); you may
4 | # not use this file except in compliance with the License. You may obtain
5 | # a copy of the License at
6 | #
7 | # http://www.apache.org/licenses/LICENSE-2.0
8 | #
9 | # Unless required by applicable law or agreed to in writing, software
10 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
11 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
12 | # License for the specific language governing permissions and limitations
13 | # under the License.
14 |
--------------------------------------------------------------------------------
/neutron/tests/unit/vmware/etc/neutron.conf.test:
--------------------------------------------------------------------------------
1 | [DEFAULT]
2 | # Show more verbose log output (sets INFO log level output)
3 | verbose = True
4 |
5 | # Show debugging output in logs (sets DEBUG log level output)
6 | debug = False
7 |
8 | # Address to bind the API server
9 | bind_host = 0.0.0.0
10 |
11 | # Port the bind the API server to
12 | bind_port = 9696
13 |
14 | # MISSING Path to the extensions
15 | # api_extensions_path =
16 |
17 | # Paste configuration file
18 | api_paste_config = api-paste.ini.test
19 |
20 | # The messaging module to use, defaults to kombu.
21 | rpc_backend = neutron.openstack.common.rpc.impl_fake
22 |
23 | lock_path = $state_path/lock
24 |
25 | [database]
26 | connection = 'sqlite://'
27 |
--------------------------------------------------------------------------------
/doc/source/devref/fwaas.rst:
--------------------------------------------------------------------------------
1 | Firewall as a Service
2 | =====================
3 |
4 | `Design Document`_
5 |
6 | .. _Design Document: https://docs.google.com/document/d/1PJaKvsX2MzMRlLGfR0fBkrMraHYF0flvl0sqyZ704tA/edit#heading=h.aed6tiupj0qk
7 |
8 | Plugin
9 | ------
10 | .. automodule:: neutron.services.firewall.fwaas_plugin
11 |
12 | .. autoclass:: FirewallPlugin
13 | :members:
14 |
15 | Database layer
16 | --------------
17 |
18 | .. automodule:: neutron.db.firewall.firewall_db
19 |
20 | .. autoclass:: Firewall_db_mixin
21 | :members:
22 |
23 |
24 | Driver layer
25 | ------------
26 |
27 | .. automodule:: neutron.services.firewall.drivers.fwaas_base
28 |
29 | .. autoclass:: FwaasDriverBase
30 | :members:
31 |
--------------------------------------------------------------------------------
/neutron/debug/__init__.py:
--------------------------------------------------------------------------------
1 | # Copyright 2012, Nachi Ueno, NTT MCL, Inc.
2 | # All Rights Reserved.
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may
5 | # not use this file except in compliance with the License. You may obtain
6 | # a copy of the License at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # Unless required by applicable law or agreed to in writing, software
11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
13 | # License for the specific language governing permissions and limitations
14 | # under the License.
15 |
--------------------------------------------------------------------------------
/neutron/plugins/bigswitch/__init__.py:
--------------------------------------------------------------------------------
1 | # Copyright 2012 Big Switch Networks, Inc. All Rights Reserved.
2 | #
3 | # Licensed under the Apache License, Version 2.0 (the "License"); you may
4 | # not use this file except in compliance with the License. You may obtain
5 | # a copy of the License at
6 | #
7 | # http://www.apache.org/licenses/LICENSE-2.0
8 | #
9 | # Unless required by applicable law or agreed to in writing, software
10 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
11 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
12 | # License for the specific language governing permissions and limitations
13 | # under the License.
14 | #
15 |
--------------------------------------------------------------------------------
/neutron/plugins/midonet/agent/__init__.py:
--------------------------------------------------------------------------------
1 | # Copyright (C) 2013 Midokura PTE LTD
2 | # All Rights Reserved.
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may
5 | # not use this file except in compliance with the License. You may obtain
6 | # a copy of the License at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # Unless required by applicable law or agreed to in writing, software
11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
13 | # License for the specific language governing permissions and limitations
14 | # under the License.
15 |
--------------------------------------------------------------------------------
/neutron/plugins/midonet/common/__init__.py:
--------------------------------------------------------------------------------
1 | # Copyright (C) 2013 Midokura PTE LTD
2 | # All Rights Reserved.
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may
5 | # not use this file except in compliance with the License. You may obtain
6 | # a copy of the License at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # Unless required by applicable law or agreed to in writing, software
11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
13 | # License for the specific language governing permissions and limitations
14 | # under the License.
15 |
--------------------------------------------------------------------------------
/neutron/plugins/ml2/common/__init__.py:
--------------------------------------------------------------------------------
1 | # Copyright (c) 2013 OpenStack Foundation
2 | # All Rights Reserved.
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may
5 | # not use this file except in compliance with the License. You may obtain
6 | # a copy of the License at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # Unless required by applicable law or agreed to in writing, software
11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
13 | # License for the specific language governing permissions and limitations
14 | # under the License.
15 |
--------------------------------------------------------------------------------
/neutron/services/firewall/__init__.py:
--------------------------------------------------------------------------------
1 | # Copyright 2013 OpenStack Foundation.
2 | # All Rights Reserved.
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may
5 | # not use this file except in compliance with the License. You may obtain
6 | # a copy of the License at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # Unless required by applicable law or agreed to in writing, software
11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
13 | # License for the specific language governing permissions and limitations
14 | # under the License.
15 |
--------------------------------------------------------------------------------
/neutron/services/loadbalancer/__init__.py:
--------------------------------------------------------------------------------
1 | # Copyright 2013 OpenStack Foundation.
2 | # All Rights Reserved.
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may
5 | # not use this file except in compliance with the License. You may obtain
6 | # a copy of the License at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # Unless required by applicable law or agreed to in writing, software
11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
13 | # License for the specific language governing permissions and limitations
14 | # under the License.
15 |
--------------------------------------------------------------------------------
/neutron/tests/unit/bigswitch/__init__.py:
--------------------------------------------------------------------------------
1 | # Copyright 2012 OpenStack Foundation.
2 | # All Rights Reserved.
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may
5 | # not use this file except in compliance with the License. You may obtain
6 | # a copy of the License at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # Unless required by applicable law or agreed to in writing, software
11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
13 | # License for the specific language governing permissions and limitations
14 | # under the License.
15 |
--------------------------------------------------------------------------------
/neutron/tests/unit/hyperv/__init__.py:
--------------------------------------------------------------------------------
1 | # Copyright 2013 Cloudbase Solutions SRL
2 | # All Rights Reserved.
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may
5 | # not use this file except in compliance with the License. You may obtain
6 | # a copy of the License at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # Unless required by applicable law or agreed to in writing, software
11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
13 | # License for the specific language governing permissions and limitations
14 | # under the License.
15 |
--------------------------------------------------------------------------------
/neutron/tests/unit/ml2/__init__.py:
--------------------------------------------------------------------------------
1 | # Copyright (c) 2013 OpenStack Foundation
2 | # All Rights Reserved.
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may
5 | # not use this file except in compliance with the License. You may obtain
6 | # a copy of the License at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # Unless required by applicable law or agreed to in writing, software
11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
13 | # License for the specific language governing permissions and limitations
14 | # under the License.
15 |
--------------------------------------------------------------------------------
/neutron/tests/unit/services/firewall/agents/l3reference/__init__.py:
--------------------------------------------------------------------------------
1 | # Copyright 2013 OpenStack Foundation
2 | #
3 | # Licensed under the Apache License, Version 2.0 (the "License"); you may
4 | # not use this file except in compliance with the License. You may obtain
5 | # a copy of the License at
6 | #
7 | # http://www.apache.org/licenses/LICENSE-2.0
8 | #
9 | # Unless required by applicable law or agreed to in writing, software
10 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
11 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
12 | # License for the specific language governing permissions and limitations
13 | # under the License.
14 |
--------------------------------------------------------------------------------
/neutron/locale/neutron-log-critical.pot:
--------------------------------------------------------------------------------
1 | # Translations template for neutron.
2 | # Copyright (C) 2014 ORGANIZATION
3 | # This file is distributed under the same license as the neutron project.
4 | # FIRST AUTHOR , 2014.
5 | #
6 | #, fuzzy
7 | msgid ""
8 | msgstr ""
9 | "Project-Id-Version: neutron 2014.2.dev608.g787bba2\n"
10 | "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
11 | "POT-Creation-Date: 2014-06-09 06:08+0000\n"
12 | "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
13 | "Last-Translator: FULL NAME \n"
14 | "Language-Team: LANGUAGE \n"
15 | "MIME-Version: 1.0\n"
16 | "Content-Type: text/plain; charset=utf-8\n"
17 | "Content-Transfer-Encoding: 8bit\n"
18 | "Generated-By: Babel 1.3\n"
19 |
20 |
--------------------------------------------------------------------------------
/neutron/plugins/cisco/extensions/__init__.py:
--------------------------------------------------------------------------------
1 | # Copyright 2013 OpenStack Foundation.
2 | # All Rights Reserved
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may
5 | # not use this file except in compliance with the License. You may obtain
6 | # a copy of the License at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # Unless required by applicable law or agreed to in writing, software
11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
13 | # License for the specific language governing permissions and limitations
14 | # under the License.
15 |
--------------------------------------------------------------------------------
/neutron/plugins/hyperv/agent/__init__.py:
--------------------------------------------------------------------------------
1 | # Copyright 2013 Cloudbase Solutions SRL
2 | # All Rights Reserved.
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may
5 | # not use this file except in compliance with the License. You may obtain
6 | # a copy of the License at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # Unless required by applicable law or agreed to in writing, software
11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
13 | # License for the specific language governing permissions and limitations
14 | # under the License.
15 |
--------------------------------------------------------------------------------
/neutron/plugins/hyperv/common/__init__.py:
--------------------------------------------------------------------------------
1 | # Copyright 2013 Cloudbase Solutions SRL
2 | # All Rights Reserved.
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may
5 | # not use this file except in compliance with the License. You may obtain
6 | # a copy of the License at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # Unless required by applicable law or agreed to in writing, software
11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
13 | # License for the specific language governing permissions and limitations
14 | # under the License.
15 |
--------------------------------------------------------------------------------
/neutron/plugins/metaplugin/__init__.py:
--------------------------------------------------------------------------------
1 | # Copyright 2012, Nachi Ueno, NTT MCL, Inc.
2 | # All Rights Reserved.
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may
5 | # not use this file except in compliance with the License. You may obtain
6 | # a copy of the License at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # Unless required by applicable law or agreed to in writing, software
11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
13 | # License for the specific language governing permissions and limitations
14 | # under the License.
15 |
--------------------------------------------------------------------------------
/neutron/plugins/ml2/drivers/__init__.py:
--------------------------------------------------------------------------------
1 | # Copyright (c) 2013 OpenStack Foundation
2 | # All Rights Reserved.
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may
5 | # not use this file except in compliance with the License. You may obtain
6 | # a copy of the License at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # Unless required by applicable law or agreed to in writing, software
11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
13 | # License for the specific language governing permissions and limitations
14 | # under the License.
15 |
--------------------------------------------------------------------------------
/neutron/services/firewall/agents/__init__.py:
--------------------------------------------------------------------------------
1 | # Copyright 2013 OpenStack Foundation.
2 | # All Rights Reserved.
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may
5 | # not use this file except in compliance with the License. You may obtain
6 | # a copy of the License at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # Unless required by applicable law or agreed to in writing, software
11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
13 | # License for the specific language governing permissions and limitations
14 | # under the License.
15 |
--------------------------------------------------------------------------------
/neutron/services/firewall/drivers/__init__.py:
--------------------------------------------------------------------------------
1 | # Copyright 2013 OpenStack Foundation.
2 | # All Rights Reserved.
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may
5 | # not use this file except in compliance with the License. You may obtain
6 | # a copy of the License at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # Unless required by applicable law or agreed to in writing, software
11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
13 | # License for the specific language governing permissions and limitations
14 | # under the License.
15 |
--------------------------------------------------------------------------------
/neutron/services/l3_router/__init__.py:
--------------------------------------------------------------------------------
1 | # Copyright (c) 2013 OpenStack Foundation.
2 | # All Rights Reserved.
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may
5 | # not use this file except in compliance with the License. You may obtain
6 | # a copy of the License at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # Unless required by applicable law or agreed to in writing, software
11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
13 | # License for the specific language governing permissions and limitations
14 | # under the License.
15 |
--------------------------------------------------------------------------------
/neutron/services/vpn/common/__init__.py:
--------------------------------------------------------------------------------
1 | # Copyright 2013, Nachi Ueno, NTT I3, Inc.
2 | # All Rights Reserved.
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may
5 | # not use this file except in compliance with the License. You may obtain
6 | # a copy of the License at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # Unless required by applicable law or agreed to in writing, software
11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
13 | # License for the specific language governing permissions and limitations
14 | # under the License.
15 |
--------------------------------------------------------------------------------
/neutron/tests/unit/brocade/__init__.py:
--------------------------------------------------------------------------------
1 | # Copyright 2013 OpenStack Foundation.
2 | #
3 | # All Rights Reserved.
4 | #
5 | # Licensed under the Apache License, Version 2.0 (the "License"); you may
6 | # not use this file except in compliance with the License. You may obtain
7 | # a copy of the License at
8 | #
9 | # http://www.apache.org/licenses/LICENSE-2.0
10 | #
11 | # Unless required by applicable law or agreed to in writing, software
12 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
13 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
14 | # License for the specific language governing permissions and limitations
15 | # under the License.
16 |
--------------------------------------------------------------------------------
/neutron/tests/unit/linuxbridge/__init__.py:
--------------------------------------------------------------------------------
1 | # Copyright 2012 OpenStack Foundation.
2 | # All Rights Reserved.
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may
5 | # not use this file except in compliance with the License. You may obtain
6 | # a copy of the License at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # Unless required by applicable law or agreed to in writing, software
11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
13 | # License for the specific language governing permissions and limitations
14 | # under the License.
15 |
--------------------------------------------------------------------------------
/neutron/tests/unit/metaplugin/__init__.py:
--------------------------------------------------------------------------------
1 | # Copyright 2012, Nachi Ueno, NTT MCL, Inc.
2 | # All Rights Reserved.
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may
5 | # not use this file except in compliance with the License. You may obtain
6 | # a copy of the License at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # Unless required by applicable law or agreed to in writing, software
11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
13 | # License for the specific language governing permissions and limitations
14 | # under the License.
15 |
--------------------------------------------------------------------------------
/neutron/tests/unit/ml2/drivers/__init__.py:
--------------------------------------------------------------------------------
1 | # Copyright (c) 2013 OpenStack Foundation
2 | # All Rights Reserved.
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may
5 | # not use this file except in compliance with the License. You may obtain
6 | # a copy of the License at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # Unless required by applicable law or agreed to in writing, software
11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
13 | # License for the specific language governing permissions and limitations
14 | # under the License.
15 |
--------------------------------------------------------------------------------
/neutron/tests/unit/openvswitch/__init__.py:
--------------------------------------------------------------------------------
1 | # Copyright 2012 OpenStack Foundation.
2 | # All Rights Reserved.
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may
5 | # not use this file except in compliance with the License. You may obtain
6 | # a copy of the License at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # Unless required by applicable law or agreed to in writing, software
11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
13 | # License for the specific language governing permissions and limitations
14 | # under the License.
15 |
--------------------------------------------------------------------------------
/neutron/plugins/bigswitch/tests/__init__.py:
--------------------------------------------------------------------------------
1 | # Copyright 2012 Big Switch Networks, Inc. All Rights Reserved.
2 | #
3 | # Licensed under the Apache License, Version 2.0 (the "License"); you may
4 | # not use this file except in compliance with the License. You may obtain
5 | # a copy of the License at
6 | #
7 | # http://www.apache.org/licenses/LICENSE-2.0
8 | #
9 | # Unless required by applicable law or agreed to in writing, software
10 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
11 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
12 | # License for the specific language governing permissions and limitations
13 | # under the License.
14 | #
15 |
--------------------------------------------------------------------------------
/neutron/plugins/brocade/__init__.py:
--------------------------------------------------------------------------------
1 | # Copyright 2013 Brocade Communications System, Inc.
2 | # All rights reserved.
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may
5 | # not use this file except in compliance with the License. You may obtain
6 | # a copy of the License at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # Unless required by applicable law or agreed to in writing, software
11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
13 | # License for the specific language governing permissions and limitations
14 | # under the License.
15 |
--------------------------------------------------------------------------------
/neutron/plugins/metaplugin/common/__init__.py:
--------------------------------------------------------------------------------
1 | # Copyright 2012, Nachi Ueno, NTT MCL, Inc.
2 | # All Rights Reserved.
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may
5 | # not use this file except in compliance with the License. You may obtain
6 | # a copy of the License at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # Unless required by applicable law or agreed to in writing, software
11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
13 | # License for the specific language governing permissions and limitations
14 | # under the License.
15 |
--------------------------------------------------------------------------------
/neutron/plugins/ml2/drivers/cisco/__init__.py:
--------------------------------------------------------------------------------
1 | # Copyright (c) 2013 OpenStack Foundation
2 | # All Rights Reserved.
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may
5 | # not use this file except in compliance with the License. You may obtain
6 | # a copy of the License at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # Unless required by applicable law or agreed to in writing, software
11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
13 | # License for the specific language governing permissions and limitations
14 | # under the License.
15 |
--------------------------------------------------------------------------------
/neutron/services/firewall/drivers/linux/__init__.py:
--------------------------------------------------------------------------------
1 | # Copyright 2013 OpenStack Foundation.
2 | # All Rights Reserved.
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may
5 | # not use this file except in compliance with the License. You may obtain
6 | # a copy of the License at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # Unless required by applicable law or agreed to in writing, software
11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
13 | # License for the specific language governing permissions and limitations
14 | # under the License.
15 |
--------------------------------------------------------------------------------
/neutron/plugins/brocade/db/__init__.py:
--------------------------------------------------------------------------------
1 | # Copyright 2013 Brocade Communications System, Inc.
2 | # All rights reserved.
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may
5 | # not use this file except in compliance with the License. You may obtain
6 | # a copy of the License at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # Unless required by applicable law or agreed to in writing, software
11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
13 | # License for the specific language governing permissions and limitations
14 | # under the License.
15 |
--------------------------------------------------------------------------------
/neutron/plugins/ml2/drivers/mech_arista/__init__.py:
--------------------------------------------------------------------------------
1 | # Copyright (c) 2013 OpenStack Foundation
2 | # All Rights Reserved.
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may
5 | # not use this file except in compliance with the License. You may obtain
6 | # a copy of the License at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # Unless required by applicable law or agreed to in writing, software
11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
13 | # License for the specific language governing permissions and limitations
14 | # under the License.
15 |
--------------------------------------------------------------------------------
/neutron/services/firewall/agents/l3reference/__init__.py:
--------------------------------------------------------------------------------
1 | # Copyright 2013 OpenStack Foundation.
2 | # All Rights Reserved.
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may
5 | # not use this file except in compliance with the License. You may obtain
6 | # a copy of the License at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # Unless required by applicable law or agreed to in writing, software
11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
13 | # License for the specific language governing permissions and limitations
14 | # under the License.
15 |
--------------------------------------------------------------------------------
/neutron/services/firewall/agents/varmour/__init__.py:
--------------------------------------------------------------------------------
1 | # Copyright 2013 OpenStack Foundation.
2 | # All Rights Reserved.
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may
5 | # not use this file except in compliance with the License. You may obtain
6 | # a copy of the License at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # Unless required by applicable law or agreed to in writing, software
11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
13 | # License for the specific language governing permissions and limitations
14 | # under the License.
15 |
--------------------------------------------------------------------------------
/neutron/services/firewall/drivers/varmour/__init__.py:
--------------------------------------------------------------------------------
1 | # Copyright 2013 OpenStack Foundation.
2 | # All Rights Reserved.
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may
5 | # not use this file except in compliance with the License. You may obtain
6 | # a copy of the License at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # Unless required by applicable law or agreed to in writing, software
11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
13 | # License for the specific language governing permissions and limitations
14 | # under the License.
15 |
--------------------------------------------------------------------------------
/doc/source/devref/lbaas.rst:
--------------------------------------------------------------------------------
1 | Loadbalancer as a Service
2 | =========================
3 |
4 |
5 | https://wiki.openstack.org/wiki/Neutron/LBaaS/Architecture
6 |
7 | https://wiki.openstack.org/wiki/Neutron/LBaaS/API_1.0
8 |
9 |
10 | Plugin
11 | ------
12 | .. automodule:: neutron.services.loadbalancer.plugin
13 |
14 | .. autoclass:: LoadBalancerPlugin
15 | :members:
16 |
17 | Database layer
18 | --------------
19 |
20 | .. automodule:: neutron.db.loadbalancer.loadbalancer_db
21 |
22 | .. autoclass:: LoadBalancerPluginDb
23 | :members:
24 |
25 |
26 | Driver layer
27 | ------------
28 |
29 | .. automodule:: neutron.services.loadbalancer.drivers.abstract_driver
30 |
31 | .. autoclass:: LoadBalancerAbstractDriver
32 | :members:
33 |
--------------------------------------------------------------------------------
/doc/source/docbkx/quantum-api-1.0/samples/extensions.json:
--------------------------------------------------------------------------------
1 | {
2 | "extensions": [
3 | {
4 | "name": "Cisco Port Profile",
5 | "namespace": "http://docs.ciscocloud.com/api/ext/portprofile/v1.0",
6 | "alias": "Cisco Port Profile",
7 | "updated": "2011-07-23T13:25:27-06:00",
8 | "description": "Portprofile include QoS information",
9 | },
10 | {
11 | "name": "Cisco qos",
12 | "namespace": "http://docs.ciscocloud.com/api/ext/qos/v1.0",
13 | "alias": "Cisco qos",
14 | "updated": "2011-07-25T13:25:27-06:00",
15 | "description": "qos include qos_name and qos_desc",
16 | },
17 |
18 | ]
19 | }
20 |
--------------------------------------------------------------------------------
/neutron/openstack/common/__init__.py:
--------------------------------------------------------------------------------
1 | #
2 | # Licensed under the Apache License, Version 2.0 (the "License"); you may
3 | # not use this file except in compliance with the License. You may obtain
4 | # a copy of the License at
5 | #
6 | # http://www.apache.org/licenses/LICENSE-2.0
7 | #
8 | # Unless required by applicable law or agreed to in writing, software
9 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
10 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
11 | # License for the specific language governing permissions and limitations
12 | # under the License.
13 |
14 | import six
15 |
16 |
17 | six.add_move(six.MovedModule('mox', 'mox', 'mox3.mox'))
18 |
--------------------------------------------------------------------------------
/neutron/plugins/brocade/nos/__init__.py:
--------------------------------------------------------------------------------
1 | # Copyright (c) 2013 Brocade Communications Systems, Inc.
2 | # All Rights Reserved.
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may
5 | # not use this file except in compliance with the License. You may obtain
6 | # a copy of the License at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # Unless required by applicable law or agreed to in writing, software
11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
13 | # License for the specific language governing permissions and limitations
14 | # under the License.
15 |
--------------------------------------------------------------------------------
/neutron/agent/metadata/__init__.py:
--------------------------------------------------------------------------------
1 | # Copyright 2012 New Dream Network, LLC (DreamHost)
2 | #
3 | # Licensed under the Apache License, Version 2.0 (the "License"); you may
4 | # not use this file except in compliance with the License. You may obtain
5 | # a copy of the License at
6 | #
7 | # http://www.apache.org/licenses/LICENSE-2.0
8 | #
9 | # Unless required by applicable law or agreed to in writing, software
10 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
11 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
12 | # License for the specific language governing permissions and limitations
13 | # under the License.
14 | #
15 | # @author: Mark McClain, DreamHost
16 |
--------------------------------------------------------------------------------
/neutron/db/metering/__init__.py:
--------------------------------------------------------------------------------
1 | # Copyright (C) 2013 eNovance SAS
2 | #
3 | # Author: Sylvain Afchain
4 | #
5 | # Licensed under the Apache License, Version 2.0 (the "License"); you may
6 | # not use this file except in compliance with the License. You may obtain
7 | # a copy of the License at
8 | #
9 | # http://www.apache.org/licenses/LICENSE-2.0
10 | #
11 | # Unless required by applicable law or agreed to in writing, software
12 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
13 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
14 | # License for the specific language governing permissions and limitations
15 | # under the License.
16 |
--------------------------------------------------------------------------------
/neutron/tests/unit/services/firewall/agents/varmour/__init__.py:
--------------------------------------------------------------------------------
1 | # Copyright 2013 OpenStack Foundation.
2 | # All Rights Reserved.
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may
5 | # not use this file except in compliance with the License. You may obtain
6 | # a copy of the License at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # Unless required by applicable law or agreed to in writing, software
11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
13 | # License for the specific language governing permissions and limitations
14 | # under the License.
15 |
--------------------------------------------------------------------------------
/neutron/tests/unit/services/firewall/drivers/varmour/__init__.py:
--------------------------------------------------------------------------------
1 | # Copyright 2013 OpenStack Foundation.
2 | # All Rights Reserved.
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may
5 | # not use this file except in compliance with the License. You may obtain
6 | # a copy of the License at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # Unless required by applicable law or agreed to in writing, software
11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
13 | # License for the specific language governing permissions and limitations
14 | # under the License.
15 |
--------------------------------------------------------------------------------
/neutron/tests/unit/services/vpn/device_drivers/__init__.py:
--------------------------------------------------------------------------------
1 | # Copyright 2013, Nachi Ueno, NTT I3, Inc.
2 | # All Rights Reserved.
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may
5 | # not use this file except in compliance with the License. You may obtain
6 | # a copy of the License at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # Unless required by applicable law or agreed to in writing, software
11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
13 | # License for the specific language governing permissions and limitations
14 | # under the License.
15 |
--------------------------------------------------------------------------------
/neutron/tests/unit/services/vpn/service_drivers/__init__.py:
--------------------------------------------------------------------------------
1 | # Copyright 2013, Nachi Ueno, NTT I3, Inc.
2 | # All Rights Reserved.
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may
5 | # not use this file except in compliance with the License. You may obtain
6 | # a copy of the License at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # Unless required by applicable law or agreed to in writing, software
11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
13 | # License for the specific language governing permissions and limitations
14 | # under the License.
15 |
--------------------------------------------------------------------------------
/neutron/plugins/bigswitch/README:
--------------------------------------------------------------------------------
1 | # Neuron REST Proxy Plug-in for Big Switch and FloodLight Controllers
2 |
3 | This module provides a generic neutron plugin 'NeutronRestProxy' that
4 | translates neutron function calls to authenticated REST requests (JSON supported)
5 | to a set of redundant external network controllers.
6 |
7 | It also keeps a local persistent store of neutron state that has been
8 | setup using that API.
9 |
10 | Currently the FloodLight Openflow Controller or the Big Switch Networks Controller
11 | can be configured as external network controllers for this plugin.
12 |
13 | For more details on this plugin, please refer to the following link:
14 | http://www.openflowhub.org/display/floodlightcontroller/Neutron+REST+Proxy+Plugin
15 |
--------------------------------------------------------------------------------
/neutron/services/metering/__init__.py:
--------------------------------------------------------------------------------
1 | # Copyright (C) 2013 eNovance SAS
2 | #
3 | # Author: Sylvain Afchain
4 | #
5 | # Licensed under the Apache License, Version 2.0 (the "License"); you may
6 | # not use this file except in compliance with the License. You may obtain
7 | # a copy of the License at
8 | #
9 | # http://www.apache.org/licenses/LICENSE-2.0
10 | #
11 | # Unless required by applicable law or agreed to in writing, software
12 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
13 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
14 | # License for the specific language governing permissions and limitations
15 | # under the License.
16 |
--------------------------------------------------------------------------------
/neutron/tests/unit/services/__init__.py:
--------------------------------------------------------------------------------
1 | # Copyright 2013 New Dream Network, LLC (DreamHost)
2 | #
3 | # Licensed under the Apache License, Version 2.0 (the "License"); you may
4 | # not use this file except in compliance with the License. You may obtain
5 | # a copy of the License at
6 | #
7 | # http://www.apache.org/licenses/LICENSE-2.0
8 | #
9 | # Unless required by applicable law or agreed to in writing, software
10 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
11 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
12 | # License for the specific language governing permissions and limitations
13 | # under the License.
14 | #
15 | # @author: Mark McClain, DreamHost
16 |
--------------------------------------------------------------------------------
/neutron/tests/unit/vmware/etc/fake_post_lrouter.json:
--------------------------------------------------------------------------------
1 | {
2 | "display_name": "%(display_name)s",
3 | %(distributed_json)s
4 | "uuid": "%(uuid)s",
5 | "tags": [
6 | {
7 | "scope": "os_tid",
8 | "tag": "%(tenant_id)s"
9 | }
10 | ],
11 | "routing_config": {
12 | "type": "SingleDefaultRouteImplicitRoutingConfig",
13 | "_schema": "/ws.v1/schema/SingleDefaultRouteImplicitRoutingConfig",
14 | "default_route_next_hop": {
15 | "type": "RouterNextHop",
16 | "_schema": "/ws.v1/schema/RouterNextHop",
17 | "gateway_ip_address": "%(default_next_hop)s"
18 | }
19 | },
20 | "_schema": "/ws.v1/schema/LogicalRouterConfig",
21 | "type": "LogicalRouterConfig",
22 | "_href": "/ws.v1/lrouter/%(uuid)s"
23 | }
--------------------------------------------------------------------------------
/doc/source/docbkx/quantum-api-1.0/samples/extensions.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
10 | Portprofile include QoS information
11 |
12 |
13 |
18 | qos include qos_name and qos_desc
19 |
20 |
21 |
22 |
--------------------------------------------------------------------------------
/doc/source/docbkx/quantum-api-1.0/samples/network-get-detail-res.json:
--------------------------------------------------------------------------------
1 | {
2 | "network":
3 | {
4 | "id": "8bec1293-16bd-4568-ba75-1f58bec0b4c3",
5 | "name": "test_network"
6 | "ports":
7 | [
8 | {
9 | "id": "98017ddc-efc8-4c25-a915-774b2a633855",
10 | "state": "DOWN"
11 | },
12 | {
13 | "id": b832be00-6553-4f69-af33-acd554e36d08",
14 | "state": "ACTIVE",
15 | "attachment":
16 | {
17 | "id": "test_interface_identifier"
18 | }
19 | }
20 | ]
21 | }
22 | }
--------------------------------------------------------------------------------
/neutron/plugins/cisco/n1kv/__init__.py:
--------------------------------------------------------------------------------
1 | # Copyright 2013 Cisco Systems, Inc.
2 | #
3 | # Licensed under the Apache License, Version 2.0 (the "License"); you may
4 | # not use this file except in compliance with the License. You may obtain
5 | # a copy of the License at
6 | #
7 | # http://www.apache.org/licenses/LICENSE-2.0
8 | #
9 | # Unless required by applicable law or agreed to in writing, software
10 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
11 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
12 | # License for the specific language governing permissions and limitations
13 | # under the License.
14 | #
15 | # @author: Abhishek Raut, Cisco Systems, Inc.
16 | #
17 |
--------------------------------------------------------------------------------
/neutron/tests/unit/cisco/n1kv/__init__.py:
--------------------------------------------------------------------------------
1 | # Copyright 2013 Cisco Systems, Inc.
2 | #
3 | # Licensed under the Apache License, Version 2.0 (the "License"); you may
4 | # not use this file except in compliance with the License. You may obtain
5 | # a copy of the License at
6 | #
7 | # http://www.apache.org/licenses/LICENSE-2.0
8 | #
9 | # Unless required by applicable law or agreed to in writing, software
10 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
11 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
12 | # License for the specific language governing permissions and limitations
13 | # under the License.
14 | #
15 | # @author: Abhishek Raut, Cisco Systems, Inc.
16 | #
17 |
--------------------------------------------------------------------------------
/neutron/tests/unit/db/metering/__init__.py:
--------------------------------------------------------------------------------
1 | # Copyright (C) 2013 eNovance SAS
2 | #
3 | # Author: Sylvain Afchain
4 | #
5 | # Licensed under the Apache License, Version 2.0 (the "License"); you may
6 | # not use this file except in compliance with the License. You may obtain
7 | # a copy of the License at
8 | #
9 | # http://www.apache.org/licenses/LICENSE-2.0
10 | #
11 | # Unless required by applicable law or agreed to in writing, software
12 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
13 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
14 | # License for the specific language governing permissions and limitations
15 | # under the License.
16 |
--------------------------------------------------------------------------------
/neutron/plugins/embrane/__init__.py:
--------------------------------------------------------------------------------
1 | # Copyright 2013 Embrane, Inc.
2 | # All Rights Reserved.
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may
5 | # not use this file except in compliance with the License. You may obtain
6 | # a copy of the License at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # Unless required by applicable law or agreed to in writing, software
11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
13 | # License for the specific language governing permissions and limitations
14 | # under the License.
15 | #
16 | # @author: Ivar Lazzaro, Embrane, Inc.
17 |
--------------------------------------------------------------------------------
/neutron/plugins/midonet/__init__.py:
--------------------------------------------------------------------------------
1 | # Copyright (C) 2012 Midokura Japan K.K.
2 | # Copyright (C) 2013 Midokura PTE LTD
3 | # All Rights Reserved.
4 | #
5 | # Licensed under the Apache License, Version 2.0 (the "License"); you may
6 | # not use this file except in compliance with the License. You may obtain
7 | # a copy of the License at
8 | #
9 | # http://www.apache.org/licenses/LICENSE-2.0
10 | #
11 | # Unless required by applicable law or agreed to in writing, software
12 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
13 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
14 | # License for the specific language governing permissions and limitations
15 | # under the License.
16 |
--------------------------------------------------------------------------------
/neutron/services/loadbalancer/drivers/__init__.py:
--------------------------------------------------------------------------------
1 | # Copyright 2013 New Dream Network, LLC (DreamHost)
2 | #
3 | # Licensed under the Apache License, Version 2.0 (the "License"); you may
4 | # not use this file except in compliance with the License. You may obtain
5 | # a copy of the License at
6 | #
7 | # http://www.apache.org/licenses/LICENSE-2.0
8 | #
9 | # Unless required by applicable law or agreed to in writing, software
10 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
11 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
12 | # License for the specific language governing permissions and limitations
13 | # under the License.
14 | #
15 | # @author: Mark McClain, DreamHost
16 |
--------------------------------------------------------------------------------
/neutron/services/loadbalancer/drivers/radware/__init__.py:
--------------------------------------------------------------------------------
1 | # Copyright 2013 Radware LLC (Radware)
2 | #
3 | # Licensed under the Apache License, Version 2.0 (the "License"); you may
4 | # not use this file except in compliance with the License. You may obtain
5 | # a copy of the License at
6 | #
7 | # http://www.apache.org/licenses/LICENSE-2.0
8 | #
9 | # Unless required by applicable law or agreed to in writing, software
10 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
11 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
12 | # License for the specific language governing permissions and limitations
13 | # under the License.
14 | #
15 | # @author: Avishay Balderman, Radware
16 |
--------------------------------------------------------------------------------
/neutron/services/metering/agents/__init__.py:
--------------------------------------------------------------------------------
1 | # Copyright (C) 2013 eNovance SAS
2 | #
3 | # Author: Sylvain Afchain
4 | #
5 | # Licensed under the Apache License, Version 2.0 (the "License"); you may
6 | # not use this file except in compliance with the License. You may obtain
7 | # a copy of the License at
8 | #
9 | # http://www.apache.org/licenses/LICENSE-2.0
10 | #
11 | # Unless required by applicable law or agreed to in writing, software
12 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
13 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
14 | # License for the specific language governing permissions and limitations
15 | # under the License.
16 |
--------------------------------------------------------------------------------
/neutron/services/metering/drivers/__init__.py:
--------------------------------------------------------------------------------
1 | # Copyright (C) 2013 eNovance SAS
2 | #
3 | # Author: Sylvain Afchain
4 | #
5 | # Licensed under the Apache License, Version 2.0 (the "License"); you may
6 | # not use this file except in compliance with the License. You may obtain
7 | # a copy of the License at
8 | #
9 | # http://www.apache.org/licenses/LICENSE-2.0
10 | #
11 | # Unless required by applicable law or agreed to in writing, software
12 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
13 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
14 | # License for the specific language governing permissions and limitations
15 | # under the License.
16 |
--------------------------------------------------------------------------------
/neutron/tests/unit/services/loadbalancer/drivers/radware/__init__.py:
--------------------------------------------------------------------------------
1 | # copyright 2013 Radware LTD.
2 | #
3 | # Licensed under the Apache License, Version 2.0 (the "License"); you may
4 | # not use this file except in compliance with the License. You may obtain
5 | # a copy of the License at
6 | #
7 | # http://www.apache.org/licenses/LICENSE-2.0
8 | #
9 | # Unless required by applicable law or agreed to in writing, software
10 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
11 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
12 | # License for the specific language governing permissions and limitations
13 | # under the License.
14 | #
15 | # @author: Avishay Balderman, Radware
16 |
--------------------------------------------------------------------------------
/neutron/plugins/embrane/agent/__init__.py:
--------------------------------------------------------------------------------
1 | # Copyright 2013 Embrane, Inc.
2 | # All Rights Reserved.
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may
5 | # not use this file except in compliance with the License. You may obtain
6 | # a copy of the License at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # Unless required by applicable law or agreed to in writing, software
11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
13 | # License for the specific language governing permissions and limitations
14 | # under the License.
15 | #
16 | # @author: Ivar Lazzaro, Embrane, Inc.
17 |
--------------------------------------------------------------------------------
/neutron/plugins/embrane/common/__init__.py:
--------------------------------------------------------------------------------
1 | # Copyright 2013 Embrane, Inc.
2 | # All Rights Reserved.
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may
5 | # not use this file except in compliance with the License. You may obtain
6 | # a copy of the License at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # Unless required by applicable law or agreed to in writing, software
11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
13 | # License for the specific language governing permissions and limitations
14 | # under the License.
15 | #
16 | # @author: Ivar Lazzaro, Embrane, Inc.
17 |
--------------------------------------------------------------------------------
/neutron/plugins/embrane/l2base/__init__.py:
--------------------------------------------------------------------------------
1 | # Copyright 2013 Embrane, Inc.
2 | # All Rights Reserved.
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may
5 | # not use this file except in compliance with the License. You may obtain
6 | # a copy of the License at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # Unless required by applicable law or agreed to in writing, software
11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
13 | # License for the specific language governing permissions and limitations
14 | # under the License.
15 | #
16 | # @author: Ivar Lazzaro, Embrane, Inc.
17 |
--------------------------------------------------------------------------------
/neutron/plugins/embrane/plugins/__init__.py:
--------------------------------------------------------------------------------
1 | # Copyright 2013 Embrane, Inc.
2 | # All Rights Reserved.
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may
5 | # not use this file except in compliance with the License. You may obtain
6 | # a copy of the License at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # Unless required by applicable law or agreed to in writing, software
11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
13 | # License for the specific language governing permissions and limitations
14 | # under the License.
15 | #
16 | # @author: Ivar Lazzaro, Embrane, Inc.
17 |
--------------------------------------------------------------------------------
/neutron/services/metering/drivers/noop/__init__.py:
--------------------------------------------------------------------------------
1 | # Copyright (C) 2013 eNovance SAS
2 | #
3 | # Author: Sylvain Afchain
4 | #
5 | # Licensed under the Apache License, Version 2.0 (the "License"); you may
6 | # not use this file except in compliance with the License. You may obtain
7 | # a copy of the License at
8 | #
9 | # http://www.apache.org/licenses/LICENSE-2.0
10 | #
11 | # Unless required by applicable law or agreed to in writing, software
12 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
13 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
14 | # License for the specific language governing permissions and limitations
15 | # under the License.
16 |
--------------------------------------------------------------------------------
/neutron/tests/unit/embrane/__init__.py:
--------------------------------------------------------------------------------
1 | # Copyright 2013 Embrane, Inc.
2 | # All Rights Reserved.
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may
5 | # not use this file except in compliance with the License. You may obtain
6 | # a copy of the License at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # Unless required by applicable law or agreed to in writing, software
11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
13 | # License for the specific language governing permissions and limitations
14 | # under the License.
15 | #
16 | # @author: Ivar Lazzaro, Embrane, Inc.
17 |
--------------------------------------------------------------------------------
/neutron/tests/unit/midonet/__init__.py:
--------------------------------------------------------------------------------
1 | # Copyright (C) 2012 Midokura Japan K.K.
2 | # Copyright (C) 2013 Midokura PTE LTD
3 | # All Rights Reserved.
4 | #
5 | # Licensed under the Apache License, Version 2.0 (the "License"); you may
6 | # not use this file except in compliance with the License. You may obtain
7 | # a copy of the License at
8 | #
9 | # http://www.apache.org/licenses/LICENSE-2.0
10 | #
11 | # Unless required by applicable law or agreed to in writing, software
12 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
13 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
14 | # License for the specific language governing permissions and limitations
15 | # under the License.
16 |
--------------------------------------------------------------------------------
/neutron/tests/unit/services/loadbalancer/__init__.py:
--------------------------------------------------------------------------------
1 | # Copyright 2013 New Dream Network, LLC (DreamHost)
2 | #
3 | # Licensed under the Apache License, Version 2.0 (the "License"); you may
4 | # not use this file except in compliance with the License. You may obtain
5 | # a copy of the License at
6 | #
7 | # http://www.apache.org/licenses/LICENSE-2.0
8 | #
9 | # Unless required by applicable law or agreed to in writing, software
10 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
11 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
12 | # License for the specific language governing permissions and limitations
13 | # under the License.
14 | #
15 | # @author: Mark McClain, DreamHost
16 |
--------------------------------------------------------------------------------
/neutron/tests/unit/services/metering/__init__.py:
--------------------------------------------------------------------------------
1 | # Copyright (C) 2013 eNovance SAS
2 | #
3 | # Author: Sylvain Afchain
4 | #
5 | # Licensed under the Apache License, Version 2.0 (the "License"); you may
6 | # not use this file except in compliance with the License. You may obtain
7 | # a copy of the License at
8 | #
9 | # http://www.apache.org/licenses/LICENSE-2.0
10 | #
11 | # Unless required by applicable law or agreed to in writing, software
12 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
13 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
14 | # License for the specific language governing permissions and limitations
15 | # under the License.
16 |
--------------------------------------------------------------------------------
/neutron/version.py:
--------------------------------------------------------------------------------
1 | # Copyright 2011 OpenStack Foundation
2 | #
3 | # Licensed under the Apache License, Version 2.0 (the "License"); you may
4 | # not use this file except in compliance with the License. You may obtain
5 | # a copy of the License at
6 | #
7 | # http://www.apache.org/licenses/LICENSE-2.0
8 | #
9 | # Unless required by applicable law or agreed to in writing, software
10 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
11 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
12 | # License for the specific language governing permissions and limitations
13 | # under the License.
14 |
15 | import pbr.version
16 |
17 | version_info = pbr.version.VersionInfo('neutron')
18 |
--------------------------------------------------------------------------------
/neutron/plugins/embrane/l2base/fake/__init__.py:
--------------------------------------------------------------------------------
1 | # Copyright 2013 Embrane, Inc.
2 | # All Rights Reserved.
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may
5 | # not use this file except in compliance with the License. You may obtain
6 | # a copy of the License at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # Unless required by applicable law or agreed to in writing, software
11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
13 | # License for the specific language governing permissions and limitations
14 | # under the License.
15 | #
16 | # @author: Ivar Lazzaro, Embrane, Inc.
17 |
--------------------------------------------------------------------------------
/neutron/services/loadbalancer/drivers/haproxy/__init__.py:
--------------------------------------------------------------------------------
1 | # Copyright 2013 New Dream Network, LLC (DreamHost)
2 | #
3 | # Licensed under the Apache License, Version 2.0 (the "License"); you may
4 | # not use this file except in compliance with the License. You may obtain
5 | # a copy of the License at
6 | #
7 | # http://www.apache.org/licenses/LICENSE-2.0
8 | #
9 | # Unless required by applicable law or agreed to in writing, software
10 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
11 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
12 | # License for the specific language governing permissions and limitations
13 | # under the License.
14 | #
15 | # @author: Mark McClain, DreamHost
16 |
--------------------------------------------------------------------------------
/neutron/services/metering/drivers/iptables/__init__.py:
--------------------------------------------------------------------------------
1 | # Copyright (C) 2013 eNovance SAS
2 | #
3 | # Author: Sylvain Afchain
4 | #
5 | # Licensed under the Apache License, Version 2.0 (the "License"); you may
6 | # not use this file except in compliance with the License. You may obtain
7 | # a copy of the License at
8 | #
9 | # http://www.apache.org/licenses/LICENSE-2.0
10 | #
11 | # Unless required by applicable law or agreed to in writing, software
12 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
13 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
14 | # License for the specific language governing permissions and limitations
15 | # under the License.
16 |
--------------------------------------------------------------------------------
/neutron/tests/unit/services/metering/drivers/__init__.py:
--------------------------------------------------------------------------------
1 | # Copyright (C) 2013 eNovance SAS
2 | #
3 | # Author: Sylvain Afchain
4 | #
5 | # Licensed under the Apache License, Version 2.0 (the "License"); you may
6 | # not use this file except in compliance with the License. You may obtain
7 | # a copy of the License at
8 | #
9 | # http://www.apache.org/licenses/LICENSE-2.0
10 | #
11 | # Unless required by applicable law or agreed to in writing, software
12 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
13 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
14 | # License for the specific language governing permissions and limitations
15 | # under the License.
16 |
--------------------------------------------------------------------------------
/neutron/plugins/cisco/__init__.py:
--------------------------------------------------------------------------------
1 | # Copyright 2011 Cisco Systems, Inc. All rights reserved.
2 | #
3 | # Licensed under the Apache License, Version 2.0 (the "License"); you may
4 | # not use this file except in compliance with the License. You may obtain
5 | # a copy of the License at
6 | #
7 | # http://www.apache.org/licenses/LICENSE-2.0
8 | #
9 | # Unless required by applicable law or agreed to in writing, software
10 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
11 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
12 | # License for the specific language governing permissions and limitations
13 | # under the License.
14 | #
15 | # @author: Sumit Naiksatam, Cisco Systems, Inc.
16 | #
17 |
--------------------------------------------------------------------------------
/neutron/plugins/cisco/common/__init__.py:
--------------------------------------------------------------------------------
1 | # Copyright 2011 Cisco Systems, Inc. All rights reserved.
2 | #
3 | # Licensed under the Apache License, Version 2.0 (the "License"); you may
4 | # not use this file except in compliance with the License. You may obtain
5 | # a copy of the License at
6 | #
7 | # http://www.apache.org/licenses/LICENSE-2.0
8 | #
9 | # Unless required by applicable law or agreed to in writing, software
10 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
11 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
12 | # License for the specific language governing permissions and limitations
13 | # under the License.
14 | #
15 | # @author: Sumit Naiksatam, Cisco Systems, Inc.
16 |
--------------------------------------------------------------------------------
/neutron/plugins/cisco/db/__init__.py:
--------------------------------------------------------------------------------
1 | # Copyright 2011 Cisco Systems, Inc. All rights reserved.
2 | #
3 | # Licensed under the Apache License, Version 2.0 (the "License"); you may
4 | # not use this file except in compliance with the License. You may obtain
5 | # a copy of the License at
6 | #
7 | # http://www.apache.org/licenses/LICENSE-2.0
8 | #
9 | # Unless required by applicable law or agreed to in writing, software
10 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
11 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
12 | # License for the specific language governing permissions and limitations
13 | # under the License.
14 | #
15 | # @author: Sumit Naiksatam, Cisco Systems, Inc.
16 | #
17 |
--------------------------------------------------------------------------------
/neutron/plugins/cisco/models/__init__.py:
--------------------------------------------------------------------------------
1 | # Copyright 2011 Cisco Systems, Inc. All rights reserved.
2 | #
3 | # Licensed under the Apache License, Version 2.0 (the "License"); you may
4 | # not use this file except in compliance with the License. You may obtain
5 | # a copy of the License at
6 | #
7 | # http://www.apache.org/licenses/LICENSE-2.0
8 | #
9 | # Unless required by applicable law or agreed to in writing, software
10 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
11 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
12 | # License for the specific language governing permissions and limitations
13 | # under the License.
14 | #
15 | # @author: Sumit Naiksatam, Cisco Systems, Inc.
16 |
--------------------------------------------------------------------------------
/neutron/plugins/embrane/agent/operations/__init__.py:
--------------------------------------------------------------------------------
1 | # Copyright 2013 Embrane, Inc.
2 | # All Rights Reserved.
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may
5 | # not use this file except in compliance with the License. You may obtain
6 | # a copy of the License at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # Unless required by applicable law or agreed to in writing, software
11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
13 | # License for the specific language governing permissions and limitations
14 | # under the License.
15 | #
16 | # @author: Ivar Lazzaro, Embrane, Inc.
17 |
--------------------------------------------------------------------------------
/neutron/plugins/plumgrid/__init__.py:
--------------------------------------------------------------------------------
1 | # Copyright 2013 PLUMgrid, Inc. All Rights Reserved.
2 | #
3 | # Licensed under the Apache License, Version 2.0 (the "License"); you may
4 | # not use this file except in compliance with the License. You may obtain
5 | # a copy of the License at
6 | #
7 | # http://www.apache.org/licenses/LICENSE-2.0
8 | #
9 | # Unless required by applicable law or agreed to in writing, software
10 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
11 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
12 | # License for the specific language governing permissions and limitations
13 | # under the License.
14 | #
15 | # @author: Edgar Magana, emagana@plumgrid.com, PLUMgrid, Inc.
16 |
--------------------------------------------------------------------------------
/neutron/tests/unit/services/loadbalancer/drivers/__init__.py:
--------------------------------------------------------------------------------
1 | # Copyright 2013 New Dream Network, LLC (DreamHost)
2 | #
3 | # Licensed under the Apache License, Version 2.0 (the "License"); you may
4 | # not use this file except in compliance with the License. You may obtain
5 | # a copy of the License at
6 | #
7 | # http://www.apache.org/licenses/LICENSE-2.0
8 | #
9 | # Unless required by applicable law or agreed to in writing, software
10 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
11 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
12 | # License for the specific language governing permissions and limitations
13 | # under the License.
14 | #
15 | # @author: Mark McClain, DreamHost
16 |
--------------------------------------------------------------------------------
/doc/source/docbkx/docbkx-example/README:
--------------------------------------------------------------------------------
1 | README
2 |
3 | This docbkx-example folder is provided for those who want to use the maven mojo supplied with the project to build their own documents to PDF and HTML (webhelp) format. It's intended to be a template and model.
4 |
5 | You can edit the src/docbkx/example.xml file using vi, emacs, or another DocBook editor. At Rackspace we use Oxygen. Both Oxygen and XML Mind offer free licenses to those working on open source project documentation.
6 |
7 | To build the output, install Apache Maven (https://maven.apache.org/) and then run:
8 |
9 | mvn clean generate-sources
10 |
11 | in the directory containing the pom.xml file.
12 |
13 | Feel free to ask questions of the openstack-docs team at https://launchpad.net/~openstack-doc.
14 |
15 |
--------------------------------------------------------------------------------
/neutron/__init__.py:
--------------------------------------------------------------------------------
1 | # Copyright 2011 OpenStack Foundation
2 | # All Rights Reserved.
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may
5 | # not use this file except in compliance with the License. You may obtain
6 | # a copy of the License at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # Unless required by applicable law or agreed to in writing, software
11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
13 | # License for the specific language governing permissions and limitations
14 | # under the License.
15 |
16 | import gettext
17 |
18 |
19 | gettext.install('neutron', unicode=1)
20 |
--------------------------------------------------------------------------------
/neutron/plugins/embrane/l2base/openvswitch/__init__.py:
--------------------------------------------------------------------------------
1 | # Copyright 2013 Embrane, Inc.
2 | # All Rights Reserved.
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may
5 | # not use this file except in compliance with the License. You may obtain
6 | # a copy of the License at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # Unless required by applicable law or agreed to in writing, software
11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
13 | # License for the specific language governing permissions and limitations
14 | # under the License.
15 | #
16 | # @author: Ivar Lazzaro, Embrane, Inc.
17 |
--------------------------------------------------------------------------------
/neutron/plugins/linuxbridge/common/__init__.py:
--------------------------------------------------------------------------------
1 | # Copyright 2012 Cisco Systems, Inc. All rights reserved.
2 | #
3 | # Licensed under the Apache License, Version 2.0 (the "License"); you may
4 | # not use this file except in compliance with the License. You may obtain
5 | # a copy of the License at
6 | #
7 | # http://www.apache.org/licenses/LICENSE-2.0
8 | #
9 | # Unless required by applicable law or agreed to in writing, software
10 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
11 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
12 | # License for the specific language governing permissions and limitations
13 | # under the License.
14 | #
15 | # @author: Sumit Naiksatam, Cisco Systems, Inc.
16 |
--------------------------------------------------------------------------------
/neutron/plugins/linuxbridge/db/__init__.py:
--------------------------------------------------------------------------------
1 | # Copyright 2012 Cisco Systems, Inc. All rights reserved.
2 | #
3 | # Licensed under the Apache License, Version 2.0 (the "License"); you may
4 | # not use this file except in compliance with the License. You may obtain
5 | # a copy of the License at
6 | #
7 | # http://www.apache.org/licenses/LICENSE-2.0
8 | #
9 | # Unless required by applicable law or agreed to in writing, software
10 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
11 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
12 | # License for the specific language governing permissions and limitations
13 | # under the License.
14 | #
15 | # @author: Sumit Naiksatam, Cisco Systems, Inc.
16 | #
17 |
--------------------------------------------------------------------------------
/neutron/tests/unit/plumgrid/__init__.py:
--------------------------------------------------------------------------------
1 | # Copyright 2013 PLUMgrid, Inc. All Rights Reserved.
2 | #
3 | # Licensed under the Apache License, Version 2.0 (the "License"); you may
4 | # not use this file except in compliance with the License. You may obtain
5 | # a copy of the License at
6 | #
7 | # http://www.apache.org/licenses/LICENSE-2.0
8 | #
9 | # Unless required by applicable law or agreed to in writing, software
10 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
11 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
12 | # License for the specific language governing permissions and limitations
13 | # under the License.
14 | #
15 | # @author: Edgar Magana, emagana@plumgrid.com, PLUMgrid, Inc.
16 |
--------------------------------------------------------------------------------
/neutron/tests/unit/services/loadbalancer/drivers/haproxy/__init__.py:
--------------------------------------------------------------------------------
1 | # Copyright 2013 New Dream Network, LLC (DreamHost)
2 | #
3 | # Licensed under the Apache License, Version 2.0 (the "License"); you may
4 | # not use this file except in compliance with the License. You may obtain
5 | # a copy of the License at
6 | #
7 | # http://www.apache.org/licenses/LICENSE-2.0
8 | #
9 | # Unless required by applicable law or agreed to in writing, software
10 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
11 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
12 | # License for the specific language governing permissions and limitations
13 | # under the License.
14 | #
15 | # @author: Mark McClain, DreamHost
16 |
--------------------------------------------------------------------------------
/rally-scenarios/neutron-neutron.yaml:
--------------------------------------------------------------------------------
1 | ---
2 | NeutronNetworks.create_and_list_networks:
3 | -
4 | runner:
5 | type: "constant"
6 | times: 100
7 | concurrency: 10
8 | context:
9 | users:
10 | tenants: 1
11 | users_per_tenant: 1
12 | quotas:
13 | neutron:
14 | network: -1
15 |
16 | NeutronNetworks.create_and_list_subnets:
17 | -
18 | args:
19 | subnets_per_network: 2
20 | runner:
21 | type: "constant"
22 | times: 100
23 | concurrency: 5
24 | context:
25 | users:
26 | tenants: 1
27 | users_per_tenant: 1
28 | quotas:
29 | neutron:
30 | subnet: -1
31 | network: -1
32 |
--------------------------------------------------------------------------------
/neutron/plugins/bigswitch/db/__init__.py:
--------------------------------------------------------------------------------
1 | # Copyright 2013 Big Switch Networks, Inc.
2 | # All Rights Reserved
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may
5 | # not use this file except in compliance with the License. You may obtain
6 | # a copy of the License at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # Unless required by applicable law or agreed to in writing, software
11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
13 | # License for the specific language governing permissions and limitations
14 | # under the License.
15 | #
16 | # @author: Kevin Benton, Big Switch Networks, Inc.
17 |
--------------------------------------------------------------------------------
/neutron/plugins/plumgrid/common/__init__.py:
--------------------------------------------------------------------------------
1 | # Copyright 2013 PLUMgrid, Inc. All Rights Reserved.
2 | #
3 | # Licensed under the Apache License, Version 2.0 (the "License"); you may
4 | # not use this file except in compliance with the License. You may obtain
5 | # a copy of the License at
6 | #
7 | # http://www.apache.org/licenses/LICENSE-2.0
8 | #
9 | # Unless required by applicable law or agreed to in writing, software
10 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
11 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
12 | # License for the specific language governing permissions and limitations
13 | # under the License.
14 | #
15 | # @author: Edgar Magana, emagana@plumgrid.com, PLUMgrid, Inc.
16 |
--------------------------------------------------------------------------------
/neutron/plugins/plumgrid/drivers/__init__.py:
--------------------------------------------------------------------------------
1 | # Copyright 2013 PLUMgrid, Inc. All Rights Reserved.
2 | #
3 | # Licensed under the Apache License, Version 2.0 (the "License"); you may
4 | # not use this file except in compliance with the License. You may obtain
5 | # a copy of the License at
6 | #
7 | # http://www.apache.org/licenses/LICENSE-2.0
8 | #
9 | # Unless required by applicable law or agreed to in writing, software
10 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
11 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
12 | # License for the specific language governing permissions and limitations
13 | # under the License.
14 | #
15 | # @author: Edgar Magana, emagana@plumgrid.com, PLUMgrid, Inc.
16 |
--------------------------------------------------------------------------------
/etc/neutron/rootwrap.d/openvswitch-plugin.filters:
--------------------------------------------------------------------------------
1 | # neutron-rootwrap command filters for nodes on which neutron is
2 | # expected to control network
3 | #
4 | # This file should be owned by (and only-writeable by) the root user
5 |
6 | # format seems to be
7 | # cmd-name: filter-name, raw-command, user, args
8 |
9 | [Filters]
10 |
11 | # openvswitch-agent
12 | # unclear whether both variants are necessary, but I'm transliterating
13 | # from the old mechanism
14 | ovs-vsctl: CommandFilter, ovs-vsctl, root
15 | ovs-ofctl: CommandFilter, ovs-ofctl, root
16 | kill_ovsdb_client: KillFilter, root, /usr/bin/ovsdb-client, -9
17 | ovsdb-client: CommandFilter, ovsdb-client, root
18 | xe: CommandFilter, xe, root
19 |
20 | # ip_lib
21 | ip: IpFilter, ip, root
22 | ip_exec: IpNetnsExecFilter, ip, root
23 |
--------------------------------------------------------------------------------
/bin/neutron-rootwrap:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env python
2 | # Copyright (c) 2012 OpenStack Foundation.
3 | # All Rights Reserved.
4 | #
5 | # Licensed under the Apache License, Version 2.0 (the "License"); you may
6 | # not use this file except in compliance with the License. You may obtain
7 | # a copy of the License at
8 | #
9 | # http://www.apache.org/licenses/LICENSE-2.0
10 | #
11 | # Unless required by applicable law or agreed to in writing, software
12 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
13 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
14 | # License for the specific language governing permissions and limitations
15 | # under the License.
16 |
17 | from oslo.rootwrap import cmd
18 |
19 | cmd.main()
20 |
--------------------------------------------------------------------------------
/neutron/db/vpn/__init__.py:
--------------------------------------------------------------------------------
1 | # (c) Copyright 2013 Hewlett-Packard Development Company, L.P.
2 | # All Rights Reserved.
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may
5 | # not use this file except in compliance with the License. You may obtain
6 | # a copy of the License at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # Unless required by applicable law or agreed to in writing, software
11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
13 | # License for the specific language governing permissions and limitations
14 | # under the License.
15 | #
16 | # @author: Swaminathan Vasudevan, Hewlett-Packard.
17 |
--------------------------------------------------------------------------------
/neutron/plugins/bigswitch/extensions/__init__.py:
--------------------------------------------------------------------------------
1 | # Copyright 2013 Big Switch Networks, Inc.
2 | # All Rights Reserved
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may
5 | # not use this file except in compliance with the License. You may obtain
6 | # a copy of the License at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # Unless required by applicable law or agreed to in writing, software
11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
13 | # License for the specific language governing permissions and limitations
14 | # under the License.
15 | #
16 | # @author: Kevin Benton, Big Switch Networks, Inc.
17 |
--------------------------------------------------------------------------------
/neutron/plugins/plumgrid/plumgrid_plugin/__init__.py:
--------------------------------------------------------------------------------
1 | # Copyright 2013 PLUMgrid, Inc. All Rights Reserved.
2 | #
3 | # Licensed under the Apache License, Version 2.0 (the "License"); you may
4 | # not use this file except in compliance with the License. You may obtain
5 | # a copy of the License at
6 | #
7 | # http://www.apache.org/licenses/LICENSE-2.0
8 | #
9 | # Unless required by applicable law or agreed to in writing, software
10 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
11 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
12 | # License for the specific language governing permissions and limitations
13 | # under the License.
14 | #
15 | # @author: Edgar Magana, emagana@plumgrid.com, PLUMgrid, Inc.
16 |
--------------------------------------------------------------------------------
/neutron/plugins/cisco/test/nexus/__init__.py:
--------------------------------------------------------------------------------
1 | # Copyright 2012 OpenStack Foundation.
2 | # All Rights Reserved.
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may
5 | # not use this file except in compliance with the License. You may obtain
6 | # a copy of the License at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # Unless required by applicable law or agreed to in writing, software
11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
13 | # License for the specific language governing permissions and limitations
14 | # under the License.
15 |
16 | import __builtin__
17 | setattr(__builtin__, '_', lambda x: x)
18 |
--------------------------------------------------------------------------------
/neutron/services/vpn/__init__.py:
--------------------------------------------------------------------------------
1 | # (c) Copyright 2013 Hewlett-Packard Development Company, L.P.
2 | # All Rights Reserved.
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may
5 | # not use this file except in compliance with the License. You may obtain
6 | # a copy of the License at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # Unless required by applicable law or agreed to in writing, software
11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
13 | # License for the specific language governing permissions and limitations
14 | # under the License.
15 | #
16 | # @author: Swaminathan Vasudevan, Hewlett-Packard
17 |
--------------------------------------------------------------------------------
/neutron/tests/unit/db/vpn/__init__.py:
--------------------------------------------------------------------------------
1 | # (c) Copyright 2013 Hewlett-Packard Development Company, L.P.
2 | # All Rights Reserved.
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may
5 | # not use this file except in compliance with the License. You may obtain
6 | # a copy of the License at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # Unless required by applicable law or agreed to in writing, software
11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
13 | # License for the specific language governing permissions and limitations
14 | # under the License.
15 | # @author: Swaminathan Vasudevan, Hewlett-Packard.
16 |
--------------------------------------------------------------------------------
/etc/neutron/rootwrap.d/iptables-firewall.filters:
--------------------------------------------------------------------------------
1 | # neutron-rootwrap command filters for nodes on which neutron is
2 | # expected to control network
3 | #
4 | # This file should be owned by (and only-writeable by) the root user
5 |
6 | # format seems to be
7 | # cmd-name: filter-name, raw-command, user, args
8 |
9 | [Filters]
10 |
11 | # neutron/agent/linux/iptables_manager.py
12 | # "iptables-save", ...
13 | iptables-save: CommandFilter, iptables-save, root
14 | iptables-restore: CommandFilter, iptables-restore, root
15 | ip6tables-save: CommandFilter, ip6tables-save, root
16 | ip6tables-restore: CommandFilter, ip6tables-restore, root
17 |
18 | # neutron/agent/linux/iptables_manager.py
19 | # "iptables", "-A", ...
20 | iptables: CommandFilter, iptables, root
21 | ip6tables: CommandFilter, ip6tables, root
22 |
--------------------------------------------------------------------------------
/neutron/tests/unit/services/vpn/__init__.py:
--------------------------------------------------------------------------------
1 | # (c) Copyright 2013 Hewlett-Packard Development Company, L.P.
2 | # All Rights Reserved.
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may
5 | # not use this file except in compliance with the License. You may obtain
6 | # a copy of the License at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # Unless required by applicable law or agreed to in writing, software
11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
13 | # License for the specific language governing permissions and limitations
14 | # under the License.
15 | # @author: Swaminathan Vasudevan, Hewlett-Packard.
16 |
--------------------------------------------------------------------------------
/tools/with_venv.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | # Copyright 2011 OpenStack Foundation.
3 | # All Rights Reserved.
4 | #
5 | # Licensed under the Apache License, Version 2.0 (the "License"); you may
6 | # not use this file except in compliance with the License. You may obtain
7 | # a copy of the License at
8 | #
9 | # http://www.apache.org/licenses/LICENSE-2.0
10 | #
11 | # Unless required by applicable law or agreed to in writing, software
12 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
13 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
14 | # License for the specific language governing permissions and limitations
15 | # under the License.
16 |
17 | TOOLS=`dirname $0`
18 | VENV=$TOOLS/../.venv
19 | source $VENV/bin/activate && "$@"
20 |
--------------------------------------------------------------------------------
/etc/neutron/rootwrap.d/lbaas-haproxy.filters:
--------------------------------------------------------------------------------
1 | # neutron-rootwrap command filters for nodes on which neutron is
2 | # expected to control network
3 | #
4 | # This file should be owned by (and only-writeable by) the root user
5 |
6 | # format seems to be
7 | # cmd-name: filter-name, raw-command, user, args
8 |
9 | [Filters]
10 |
11 | # haproxy
12 | haproxy: CommandFilter, haproxy, root
13 |
14 | # lbaas-agent uses kill as well, that's handled by the generic KillFilter
15 | kill_haproxy_usr: KillFilter, root, /usr/sbin/haproxy, -9, -HUP
16 |
17 | ovs-vsctl: CommandFilter, ovs-vsctl, root
18 | mm-ctl: CommandFilter, mm-ctl, root
19 |
20 | # ip_lib
21 | ip: IpFilter, ip, root
22 | ip_exec: IpNetnsExecFilter, ip, root
23 | route: CommandFilter, route, root
24 |
25 | # arping
26 | arping: CommandFilter, arping, root
27 |
--------------------------------------------------------------------------------
/neutron/plugins/plumgrid/plumgrid_plugin/plugin_ver.py:
--------------------------------------------------------------------------------
1 | # Copyright 2013 PLUMgrid, Inc. All Rights Reserved.
2 | #
3 | # Licensed under the Apache License, Version 2.0 (the "License"); you may
4 | # not use this file except in compliance with the License. You may obtain
5 | # a copy of the License at
6 | #
7 | # http://www.apache.org/licenses/LICENSE-2.0
8 | #
9 | # Unless required by applicable law or agreed to in writing, software
10 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
11 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
12 | # License for the specific language governing permissions and limitations
13 | # under the License.
14 | #
15 | # @author: Edgar Magana, emagana@plumgrid.com, PLUMgrid, Inc.
16 |
17 | VERSION = "0.2"
18 |
--------------------------------------------------------------------------------
/etc/neutron/plugins/brocade/brocade.ini:
--------------------------------------------------------------------------------
1 | [switch]
2 | # username = The SSH username to use
3 | # password = The SSH password to use
4 | # address = The address of the host to SSH to
5 | # ostype = Should be NOS, but is unused otherwise
6 | #
7 | # Example:
8 | # username = admin
9 | # password = password
10 | # address = 10.24.84.38
11 | # ostype = NOS
12 |
13 | [physical_interface]
14 | # physical_interface = The network interface to use when creating a port
15 | #
16 | # Example:
17 | # physical_interface = physnet1
18 |
19 | [vlans]
20 | # network_vlan_ranges = :nnnn:mmmm
21 | #
22 | # Example:
23 | # network_vlan_ranges = physnet1:1000:2999
24 |
25 | [linux_bridge]
26 | # physical_interface_mappings = :
27 | #
28 | # Example:
29 | # physical_interface_mappings = physnet1:em1
30 |
--------------------------------------------------------------------------------
/neutron/tests/unit/vmware/etc/fake_get_lswitch_lport_status.json:
--------------------------------------------------------------------------------
1 | {"_href": "/ws.v1/lswitch/%(ls_uuid)s/lport/%(uuid)s",
2 | "lswitch":
3 | {"display_name": "%(ls_name)s",
4 | "uuid": "%(ls_uuid)s",
5 | "tags": [
6 | {"scope": "os_tid",
7 | "tag": "%(ls_tenant_id)s"}
8 | ],
9 | "type": "LogicalSwitchConfig",
10 | "_schema": "/ws.v1/schema/LogicalSwitchConfig",
11 | "port_isolation_enabled": false,
12 | "transport_zones": [
13 | {"zone_uuid": "%(ls_zone_uuid)s",
14 | "transport_type": "stt"}
15 | ],
16 | "_href": "/ws.v1/lswitch/%(ls_uuid)s"},
17 | "link_status_up": false,
18 | "_schema": "/ws.v1/schema/LogicalSwitchPortStatus",
19 | "admin_status_enabled": true,
20 | "fabric_status_up": true,
21 | "link_status_up": true,
22 | "type": "LogicalSwitchPortStatus"
23 | }
24 |
--------------------------------------------------------------------------------
/neutron/plugins/ml2/drivers/l2pop/__init__.py:
--------------------------------------------------------------------------------
1 | # Copyright (c) 2013 OpenStack Foundation.
2 | # All Rights Reserved.
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may
5 | # not use this file except in compliance with the License. You may obtain
6 | # a copy of the License at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # Unless required by applicable law or agreed to in writing, software
11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
13 | # License for the specific language governing permissions and limitations
14 | # under the License.
15 | #
16 | # @author: Sylvain Afchain, eNovance SAS
17 | # @author: Francois Eleouet, Orange
18 | # @author: Mathieu Rohon, Orange
19 |
--------------------------------------------------------------------------------
/doc/source/devref/openvswitch_agent.rst:
--------------------------------------------------------------------------------
1 | ====================
2 | OpenVSwitch L2 Agent
3 | ====================
4 |
5 | This Agent uses the `OpenVSwitch`_ virtual switch to create L2
6 | connectivity for instances, along with bridges created in conjunction
7 | with OpenStack Nova for filtering.
8 |
9 | ovs-neutron-agent can be configured to use two different networking technologies to create tenant isolation, either GRE tunnels or VLAN tags.
10 |
11 | VLAN Tags
12 | ---------
13 |
14 | .. image:: http://docs.openstack.org/admin-guide-cloud/content/figures/10/a/common/figures/under-the-hood-scenario-1-ovs-compute.png
15 |
16 | .. _OpenVSwitch: http://openvswitch.org
17 |
18 | Further Reading
19 | ---------------
20 |
21 | * `Darragh O'Reilly - The Open vSwitch plugin with VLANs `_
22 |
--------------------------------------------------------------------------------
/neutron/plugins/cisco/nexus/__init__.py:
--------------------------------------------------------------------------------
1 | # Copyright 2011 Cisco Systems, Inc. All rights reserved.
2 | #
3 | # Licensed under the Apache License, Version 2.0 (the "License"); you may
4 | # not use this file except in compliance with the License. You may obtain
5 | # a copy of the License at
6 | #
7 | # http://www.apache.org/licenses/LICENSE-2.0
8 | #
9 | # Unless required by applicable law or agreed to in writing, software
10 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
11 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
12 | # License for the specific language governing permissions and limitations
13 | # under the License.
14 | #
15 | # @author: Sumit Naiksatam, Cisco Systems, Inc.
16 | # @author: Edgar Magana, Cisco Systems, Inc.
17 | """
18 | Init module for Nexus Driver
19 | """
20 |
--------------------------------------------------------------------------------
/neutron/locale/fr/LC_MESSAGES/neutron-log-critical.po:
--------------------------------------------------------------------------------
1 | # Translations template for neutron.
2 | # Copyright (C) 2014 ORGANIZATION
3 | # This file is distributed under the same license as the neutron project.
4 | #
5 | # Translators:
6 | msgid ""
7 | msgstr ""
8 | "Project-Id-Version: Neutron\n"
9 | "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
10 | "POT-Creation-Date: 2014-06-20 06:09+0000\n"
11 | "PO-Revision-Date: 2014-05-30 06:24+0000\n"
12 | "Last-Translator: FULL NAME \n"
13 | "Language-Team: French (http://www.transifex.com/projects/p/neutron/language/"
14 | "fr/)\n"
15 | "Language: fr\n"
16 | "MIME-Version: 1.0\n"
17 | "Content-Type: text/plain; charset=UTF-8\n"
18 | "Content-Transfer-Encoding: 8bit\n"
19 | "Generated-By: Babel 1.3\n"
20 | "Plural-Forms: nplurals=2; plural=(n > 1);\n"
21 |
22 | #~ msgid "Dummy message for transifex setup."
23 | #~ msgstr "message fictif pour la configuration transifex"
24 |
--------------------------------------------------------------------------------
/neutron/plugins/vmware/plugin.py:
--------------------------------------------------------------------------------
1 | # Copyright 2014 VMware, Inc.
2 | #
3 | # All Rights Reserved
4 | #
5 | # Licensed under the Apache License, Version 2.0 (the "License"); you may
6 | # not use this file except in compliance with the License. You may obtain
7 | # a copy of the License at
8 | #
9 | # http://www.apache.org/licenses/LICENSE-2.0
10 | #
11 | # Unless required by applicable law or agreed to in writing, software
12 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
13 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
14 | # License for the specific language governing permissions and limitations
15 | # under the License.
16 | #
17 |
18 | from neutron.plugins.vmware.plugins import base
19 | from neutron.plugins.vmware.plugins import service
20 |
21 | NsxPlugin = base.NsxPluginV2
22 | NsxServicePlugin = service.NsxAdvancedPlugin
23 |
--------------------------------------------------------------------------------
/neutron/services/vpn/common/topics.py:
--------------------------------------------------------------------------------
1 | # Copyright 2013, Nachi Ueno, NTT I3, Inc.
2 | # All Rights Reserved.
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may
5 | # not use this file except in compliance with the License. You may obtain
6 | # a copy of the License at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # Unless required by applicable law or agreed to in writing, software
11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
13 | # License for the specific language governing permissions and limitations
14 | # under the License.
15 |
16 |
17 | IPSEC_DRIVER_TOPIC = 'ipsec_driver'
18 | IPSEC_AGENT_TOPIC = 'ipsec_agent'
19 | CISCO_IPSEC_DRIVER_TOPIC = 'cisco_csr_ipsec_driver'
20 | CISCO_IPSEC_AGENT_TOPIC = 'cisco_csr_ipsec_agent'
21 |
--------------------------------------------------------------------------------
/neutron/plugins/ml2/drivers/cisco/nexus/constants.py:
--------------------------------------------------------------------------------
1 | # Copyright 2011 OpenStack Foundation.
2 | # All rights reserved.
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may
5 | # not use this file except in compliance with the License. You may obtain
6 | # a copy of the License at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # Unless required by applicable law or agreed to in writing, software
11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
13 | # License for the specific language governing permissions and limitations
14 | # under the License.
15 | #
16 |
17 |
18 | CREDENTIAL_USERNAME = 'user_name'
19 | CREDENTIAL_PASSWORD = 'password'
20 |
21 | USERNAME = 'username'
22 | PASSWORD = 'password'
23 |
24 | NETWORK_ADMIN = 'network_admin'
25 |
--------------------------------------------------------------------------------
/neutron/plugins/mlnx/common/constants.py:
--------------------------------------------------------------------------------
1 | # Copyright 2013 Mellanox Technologies, Ltd
2 | #
3 | # Licensed under the Apache License, Version 2.0 (the "License");
4 | # you may not use this file except in compliance with the License.
5 | # You may obtain a copy of the License at
6 | #
7 | # http://www.apache.org/licenses/LICENSE-2.0
8 | #
9 | # Unless required by applicable law or agreed to in writing, software
10 | # distributed under the License is distributed on an "AS IS" BASIS,
11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
12 | # implied.
13 | # See the License for the specific language governing permissions and
14 | # limitations under the License.
15 |
16 | LOCAL_VLAN_ID = -2
17 | FLAT_VLAN_ID = -1
18 |
19 | # Values for physical network_type
20 | TYPE_IB = 'ib'
21 | TYPE_ETH = 'eth'
22 |
23 | VIF_TYPE_DIRECT = 'mlnx_direct'
24 | VIF_TYPE_HOSTDEV = 'hostdev'
25 |
26 | VNIC_TYPE = 'vnic_type'
27 |
--------------------------------------------------------------------------------
/openstack-common.conf:
--------------------------------------------------------------------------------
1 | [DEFAULT]
2 | # The list of modules to copy from oslo-incubator.git
3 | module=cache
4 | module=context
5 | module=eventlet_backdoor
6 | module=excutils
7 | module=fileutils
8 | module=fixture
9 | module=gettextutils
10 | module=importutils
11 | module=install_venv_common
12 | module=jsonutils
13 | module=local
14 | module=lockutils
15 | module=log
16 | module=loopingcall
17 | module=middleware.base
18 | module=middleware.catch_errors
19 | module=middleware.correlation_id
20 | module=middleware.debug
21 | module=middleware.request_id
22 | module=middleware.sizelimit
23 | module=network_utils
24 | module=periodic_task
25 | module=policy
26 | module=processutils
27 | module=service
28 | module=sslutils
29 | module=strutils
30 | module=systemd
31 | module=threadgroup
32 | module=timeutils
33 | module=uuidutils
34 | module=versionutils
35 |
36 | # The base module to hold the copy of openstack.common
37 | base=neutron
38 |
--------------------------------------------------------------------------------
/neutron/plugins/embrane/l2base/fake/fake_l2_plugin.py:
--------------------------------------------------------------------------------
1 | # Copyright 2013 Embrane, Inc.
2 | # All Rights Reserved.
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may
5 | # not use this file except in compliance with the License. You may obtain
6 | # a copy of the License at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # Unless required by applicable law or agreed to in writing, software
11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
13 | # License for the specific language governing permissions and limitations
14 | # under the License.
15 | #
16 | # @author: Ivar Lazzaro, Embrane, Inc.
17 |
18 | from neutron.db import db_base_plugin_v2
19 |
20 |
21 | class FakeL2Plugin(db_base_plugin_v2.NeutronDbPluginV2):
22 | supported_extension_aliases = []
23 |
--------------------------------------------------------------------------------
/neutron/locale/ja/LC_MESSAGES/neutron-log-warning.po:
--------------------------------------------------------------------------------
1 | # Translations template for neutron.
2 | # Copyright (C) 2014 ORGANIZATION
3 | # This file is distributed under the same license as the neutron project.
4 | #
5 | # Translators:
6 | msgid ""
7 | msgstr ""
8 | "Project-Id-Version: Neutron\n"
9 | "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
10 | "POT-Creation-Date: 2014-07-02 06:08+0000\n"
11 | "PO-Revision-Date: 2014-06-30 19:27+0000\n"
12 | "Last-Translator: openstackjenkins \n"
13 | "Language-Team: Japanese (http://www.transifex.com/projects/p/neutron/"
14 | "language/ja/)\n"
15 | "Language: ja\n"
16 | "MIME-Version: 1.0\n"
17 | "Content-Type: text/plain; charset=UTF-8\n"
18 | "Content-Transfer-Encoding: 8bit\n"
19 | "Generated-By: Babel 1.3\n"
20 | "Plural-Forms: nplurals=1; plural=0;\n"
21 |
22 | #: neutron/openstack/common/service.py:364
23 | #, python-format
24 | msgid "pid %d not in child list"
25 | msgstr "pid %d は子リストにありません"
26 |
--------------------------------------------------------------------------------
/neutron/tests/unit/__init__.py:
--------------------------------------------------------------------------------
1 | # Copyright 2011 OpenStack Foundation.
2 | # All Rights Reserved.
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may
5 | # not use this file except in compliance with the License. You may obtain
6 | # a copy of the License at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # Unless required by applicable law or agreed to in writing, software
11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
13 | # License for the specific language governing permissions and limitations
14 | # under the License.
15 |
16 | import os
17 |
18 | from oslo.config import cfg
19 |
20 |
21 | reldir = os.path.join(os.path.dirname(__file__), '..', '..', '..')
22 | absdir = os.path.abspath(reldir)
23 | cfg.CONF.state_path = absdir
24 | cfg.CONF.use_stderr = False
25 |
--------------------------------------------------------------------------------
/etc/neutron/plugins/ml2/ml2_conf_odl.ini:
--------------------------------------------------------------------------------
1 | # Configuration for the OpenDaylight MechanismDriver
2 |
3 | [ml2_odl]
4 | # (StrOpt) OpenDaylight REST URL
5 | # If this is not set then no HTTP requests will be made.
6 | #
7 | # url =
8 | # Example: url = http://192.168.56.1:8080/controller/nb/v2/neutron
9 |
10 | # (StrOpt) Username for HTTP basic authentication to ODL.
11 | #
12 | # username =
13 | # Example: username = admin
14 |
15 | # (StrOpt) Password for HTTP basic authentication to ODL.
16 | #
17 | # password =
18 | # Example: password = admin
19 |
20 | # (IntOpt) Timeout in seconds to wait for ODL HTTP request completion.
21 | # This is an optional parameter, default value is 10 seconds.
22 | #
23 | # timeout = 10
24 | # Example: timeout = 15
25 |
26 | # (IntOpt) Timeout in minutes to wait for a Tomcat session timeout.
27 | # This is an optional parameter, default value is 30 minutes.
28 | #
29 | # session_timeout = 30
30 | # Example: session_timeout = 60
31 |
--------------------------------------------------------------------------------
/neutron/locale/ko_KR/LC_MESSAGES/neutron-log-warning.po:
--------------------------------------------------------------------------------
1 | # Translations template for neutron.
2 | # Copyright (C) 2014 ORGANIZATION
3 | # This file is distributed under the same license as the neutron project.
4 | #
5 | # Translators:
6 | msgid ""
7 | msgstr ""
8 | "Project-Id-Version: Neutron\n"
9 | "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
10 | "POT-Creation-Date: 2014-07-02 06:08+0000\n"
11 | "PO-Revision-Date: 2014-06-30 19:27+0000\n"
12 | "Last-Translator: openstackjenkins \n"
13 | "Language-Team: Korean (Korea) (http://www.transifex.com/projects/p/neutron/"
14 | "language/ko_KR/)\n"
15 | "Language: ko_KR\n"
16 | "MIME-Version: 1.0\n"
17 | "Content-Type: text/plain; charset=UTF-8\n"
18 | "Content-Transfer-Encoding: 8bit\n"
19 | "Generated-By: Babel 1.3\n"
20 | "Plural-Forms: nplurals=1; plural=0;\n"
21 |
22 | #: neutron/openstack/common/service.py:364
23 | #, python-format
24 | msgid "pid %d not in child list"
25 | msgstr "pid %d이(가) 하위 목록에 없음"
26 |
--------------------------------------------------------------------------------
/neutron/locale/zh_CN/LC_MESSAGES/neutron-log-warning.po:
--------------------------------------------------------------------------------
1 | # Translations template for neutron.
2 | # Copyright (C) 2014 ORGANIZATION
3 | # This file is distributed under the same license as the neutron project.
4 | #
5 | # Translators:
6 | msgid ""
7 | msgstr ""
8 | "Project-Id-Version: Neutron\n"
9 | "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
10 | "POT-Creation-Date: 2014-07-02 06:08+0000\n"
11 | "PO-Revision-Date: 2014-06-30 19:27+0000\n"
12 | "Last-Translator: openstackjenkins \n"
13 | "Language-Team: Chinese (China) (http://www.transifex.com/projects/p/neutron/"
14 | "language/zh_CN/)\n"
15 | "Language: zh_CN\n"
16 | "MIME-Version: 1.0\n"
17 | "Content-Type: text/plain; charset=UTF-8\n"
18 | "Content-Transfer-Encoding: 8bit\n"
19 | "Generated-By: Babel 1.3\n"
20 | "Plural-Forms: nplurals=1; plural=0;\n"
21 |
22 | #: neutron/openstack/common/service.py:364
23 | #, python-format
24 | msgid "pid %d not in child list"
25 | msgstr "pid %d 没有在子代列表中"
26 |
--------------------------------------------------------------------------------
/neutron/locale/zh_TW/LC_MESSAGES/neutron-log-warning.po:
--------------------------------------------------------------------------------
1 | # Translations template for neutron.
2 | # Copyright (C) 2014 ORGANIZATION
3 | # This file is distributed under the same license as the neutron project.
4 | #
5 | # Translators:
6 | msgid ""
7 | msgstr ""
8 | "Project-Id-Version: Neutron\n"
9 | "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
10 | "POT-Creation-Date: 2014-07-02 06:08+0000\n"
11 | "PO-Revision-Date: 2014-06-30 19:27+0000\n"
12 | "Last-Translator: openstackjenkins \n"
13 | "Language-Team: Chinese (Taiwan) (http://www.transifex.com/projects/p/neutron/"
14 | "language/zh_TW/)\n"
15 | "Language: zh_TW\n"
16 | "MIME-Version: 1.0\n"
17 | "Content-Type: text/plain; charset=UTF-8\n"
18 | "Content-Transfer-Encoding: 8bit\n"
19 | "Generated-By: Babel 1.3\n"
20 | "Plural-Forms: nplurals=1; plural=0;\n"
21 |
22 | #: neutron/openstack/common/service.py:364
23 | #, python-format
24 | msgid "pid %d not in child list"
25 | msgstr "PID %d 不在子項清單中"
26 |
--------------------------------------------------------------------------------
/neutron/locale/fr/LC_MESSAGES/neutron-log-warning.po:
--------------------------------------------------------------------------------
1 | # Translations template for neutron.
2 | # Copyright (C) 2014 ORGANIZATION
3 | # This file is distributed under the same license as the neutron project.
4 | #
5 | # Translators:
6 | msgid ""
7 | msgstr ""
8 | "Project-Id-Version: Neutron\n"
9 | "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
10 | "POT-Creation-Date: 2014-07-02 06:08+0000\n"
11 | "PO-Revision-Date: 2014-06-30 19:27+0000\n"
12 | "Last-Translator: openstackjenkins \n"
13 | "Language-Team: French (http://www.transifex.com/projects/p/neutron/language/"
14 | "fr/)\n"
15 | "Language: fr\n"
16 | "MIME-Version: 1.0\n"
17 | "Content-Type: text/plain; charset=UTF-8\n"
18 | "Content-Transfer-Encoding: 8bit\n"
19 | "Generated-By: Babel 1.3\n"
20 | "Plural-Forms: nplurals=2; plural=(n > 1);\n"
21 |
22 | #: neutron/openstack/common/service.py:364
23 | #, python-format
24 | msgid "pid %d not in child list"
25 | msgstr "PID %d absent de la liste d'enfants"
26 |
--------------------------------------------------------------------------------