OpenStack Study: neutron
OpenStack IndexPreviousNext
class NetworkVxlanPortRangeError(NeutronException):
class VxlanNetworkUnsupported(NeutronException):
class DuplicatedExtension(NeutronException):
class DeviceIDNotOwnedByTenant(Conflict):
\OpenStack\neutron-2014.1\neutron\common\ipv6_utils.py
def get_ipv6_addr_by_EUI64(prefix, mac):
\OpenStack\neutron-2014.1\neutron\common\legacy.py
def scrub_class_path(cls_path):
def override_config(config, config_keys=None):
def modernize_quantum_config(config):
\OpenStack\neutron-2014.1\neutron\common\log.py
def log(method):
\OpenStack\neutron-2014.1\neutron\common\rpc.py
class PluginRpcDispatcher(dispatcher.RpcDispatcher):
def __init__(self, callbacks):
def dispatch(self, rpc_ctxt, version, method, namespace, **kwargs):
\OpenStack\neutron-2014.1\neutron\common\test_lib.py
\OpenStack\neutron-2014.1\neutron\common\topics.py
def get_topic_name(prefix, table, operation, host=None):
\OpenStack\neutron-2014.1\neutron\common\utils.py
def read_cached_file(filename, cache_info, reload_func=None):
def find_config_file(options, config_file):
def _subprocess_setup():
def subprocess_popen(args, stdin=None, stdout=None, stderr=None, shell=False, env=None):
def parse_mappings(mapping_list, unique_values=True):
def get_hostname():
def compare_elements(a, b):
def dict2str(dic):
def str2dict(string):
def diff_list_of_dict(old_list, new_list):
def is_extension_supported(plugin, ext_alias):
def log_opt_values(log):
def is_valid_vlan_tag(vlan):
\OpenStack\neutron-2014.1\neutron\common\__init__.py
\OpenStack\neutron-2014.1\neutron\context.py
class ContextBase(common_context.RequestContext):
def __init__(self, user_id, tenant_id, is_admin=None, read_deleted="no", roles=None, timestamp=None, load_admin_roles=True, request_id=None, tenant_name=None, user_name=None, overwrite=True, **kwargs):
def project_id(self):
def tenant_id(self):
def tenant_id(self, tenant_id):
def user_id(self):
def user_id(self, user_id):
def _get_read_deleted(self):
def _set_read_deleted(self, read_deleted):
def _del_read_deleted(self):
def to_dict(self):
def from_dict(cls, values):
def elevated(self, read_deleted=None):
class Context(ContextBase):
def session(self):
def get_admin_context(read_deleted="no", load_admin_roles=True):
def get_admin_context_without_session(read_deleted="no"):
\OpenStack\neutron-2014.1\neutron\db\agentschedulers_db.py
class NetworkDhcpAgentBinding(model_base.BASEV2):
class AgentSchedulerDbMixin(agents_db.AgentDbMixin):
def is_eligible_agent(active, agent):
def update_agent(self, context, id, agent):
class DhcpAgentSchedulerDbMixin(dhcpagentscheduler
.DhcpAgentSchedulerPluginBase,
AgentSchedulerDbMixin):
def get_dhcp_agents_hosting_networks( self, context, network_ids, active=None):
def add_network_to_dhcp_agent(self, context, id, network_id):
def remove_network_from_dhcp_agent(self, context, id, network_id):
def list_networks_on_dhcp_agent(self, context, id):
def list_active_networks_on_active_dhcp_agent(self, context, host):
def list_dhcp_agents_hosting_network(self, context, network_id):
def schedule_network(self, context, created_network):
def auto_schedule_networks(self, context, host):
\OpenStack\neutron-2014.1\neutron\db\agents_db.py
class Agent(model_base.BASEV2, models_v2.HasId):
def is_active(self):
class AgentDbMixin(ext_agent.AgentPluginBase):
def _get_agent(self, context, id):
def is_agent_down(cls, heart_beat_time):
def get_configuration_dict(self, agent_db):
def _make_agent_dict(self, agent, fields=None):
def delete_agent(self, context, id):
def update_agent(self, context, id, agent):
def get_agents_db(self, context, filters=None):
def get_agents(self, context, filters=None, fields=None):
def _get_agent_by_type_and_host(self, context, agent_type, host):
def get_agent(self, context, id, fields=None):
def _create_or_update_agent(self, context, agent):
def create_or_update_agent(self, context, agent):
class AgentExtRpcCallback(object):
def __init__(self, plugin=None):
def report_state(self, context, **kwargs):
\OpenStack\neutron-2014.1\neutron\db\allowedaddresspairs_db.py
class AllowedAddressPair(model_base.BASEV2):
class AllowedAddressPairsMixin(object):
def _process_create_allowed_address_pairs(self, context, port, allowed_address_pairs):
def _check_fixed_ips_and_address_pairs_no_overlap(self, context, port):
def get_allowed_address_pairs(self, context, port_id):
def _extend_port_dict_allowed_address_pairs(self, port_res, port_db):
def _delete_allowed_address_pairs(self, context, id):
def _make_allowed_address_pairs_dict(self, allowed_address_pairs, fields=None):
def _has_address_pairs(self, port):
def _check_update_has_allowed_address_pairs(self, port):
def _check_update_deletes_allowed_address_pairs(self, port):
def is_address_pairs_attribute_updated(self, port, update_attrs):
def update_address_pairs_on_port(self, context, port_id, port, original_port, updated_port):
\OpenStack\neutron-2014.1\neutron\db\api.py
def configure_db():
def clear_db(base=BASE):
def get_session(autocommit=True, expire_on_commit=False):
def register_models(base=BASE):
def unregister_models(base=BASE):
\OpenStack\neutron-2014.1\neutron\db\db_base_plugin_v2.py
class CommonDbMixin(object):
def register_model_query_hook(cls, model, name, query_hook, filter_hook, result_filters=None):
def _model_query(self, context, model):
def _fields(self, resource, fields):
def _get_tenant_id_for_create(self, context, resource):
def _get_by_id(self, context, model, id):
def _apply_filters_to_query(self, query, model, filters):
def _apply_dict_extend_functions(self, resource_type, response, db_object):
def _get_collection_query(self, context, model, filters=None, sorts=None, limit=None, marker_obj=None, page_reverse=False):
def _get_collection(self, context, model, dict_func, filters=None, fields=None, sorts=None, limit=None, marker_obj=None, page_reverse=False):
def _get_collection_count(self, context, model, filters=None):
def _get_marker_obj(self, context, resource, limit, marker):
class NeutronDbPluginV2(neutron_plugin_base_v2.NeutronPluginBaseV2,
CommonDbMixin):
def __init__(self):
def register_dict_extend_funcs(cls, resource, funcs):
def _filter_non_model_columns(self, data, model):
def _get_network(self, context, id):
def _get_subnet(self, context, id):
def _get_port(self, context, id):
def _get_dns_by_subnet(self, context, subnet_id):
def _get_route_by_subnet(self, context, subnet_id):
def _get_subnets_by_network(self, context, network_id):
def _get_all_subnets(self, context):
def _generate_mac(context, network_id):
def _check_unique_mac(context, network_id, mac_address):
def _delete_ip_allocation(context, network_id, subnet_id, ip_address):
def _generate_ip(context, subnets):
def _try_generate_ip(context, subnets):
def _rebuild_availability_ranges(context, subnets):
def _allocate_specific_ip(context, subnet_id, ip_address):
def _check_unique_ip(context, network_id, subnet_id, ip_address):
def _check_subnet_ip(cidr, ip_address):
def _check_ip_in_allocation_pool(context, subnet_id, gateway_ip, ip_address):
def _test_fixed_ips_for_port(self, context, network_id, fixed_ips):
def _allocate_fixed_ips(self, context, network, fixed_ips):
def _update_ips_for_port(self, context, network_id, port_id, original_ips, new_ips):
def _allocate_ips_for_port(self, context, network, port):
def _validate_subnet_cidr(self, context, network, new_subnet_cidr):
def _validate_allocation_pools(self, ip_pools, subnet_cidr):
def _validate_host_route(self, route, ip_version):
def _allocate_pools_for_subnet(self, context, subnet):
def _validate_shared_update(self, context, id, original, updated):
def _validate_ipv6_attributes(self, subnet, cur_subnet):
def _validate_ipv6_combination(self, ra_mode, address_mode):
def _validate_ipv6_dhcp(self, ra_mode_set, address_mode_set, enable_dhcp):
def _validate_ipv6_update_dhcp(self, subnet, cur_subnet):
def _make_network_dict(self, network, fields=None, process_extensions=True):
def _make_subnet_dict(self, subnet, fields=None):
def _make_port_dict(self, port, fields=None, process_extensions=True):
def _create_bulk(self, resource, context, request_items):
def create_network_bulk(self, context, networks):
def create_network(self, context, network):
def update_network(self, context, id, network):
def delete_network(self, context, id):
def get_network(self, context, id, fields=None):
def get_networks(self, context, filters=None, fields=None, sorts=None, limit=None, marker=None, page_reverse=False):
def get_networks_count(self, context, filters=None):
def create_subnet_bulk(self, context, subnets):
def _validate_ip_version(self, ip_version, addr, name):
def _validate_subnet(self, context, s, cur_subnet=None):
def _validate_gw_out_of_pools(self, gateway_ip, pools):
def create_subnet(self, context, subnet):
def update_subnet(self, context, id, subnet):
def delete_subnet(self, context, id):
def get_subnet(self, context, id, fields=None):
def get_subnets(self, context, filters=None, fields=None, sorts=None, limit=None, marker=None, page_reverse=False):
def get_subnets_count(self, context, filters=None):
def create_port_bulk(self, context, ports):
def create_port(self, context, port):
def update_port(self, context, id, port):
def delete_port(self, context, id):
def delete_ports_by_device_id(self, context, device_id, network_id=None):
def _delete_port(self, context, id):
def get_port(self, context, id, fields=None):
def _get_ports_query(self, context, filters=None, sorts=None, limit=None, marker_obj=None, page_reverse=False):
def get_ports(self, context, filters=None, fields=None, sorts=None, limit=None, marker=None, page_reverse=False):
def get_ports_count(self, context, filters=None):
def _enforce_device_owner_not_router_intf_or_device_id(self, context, port_request, tenant_id, db_port=None):
\OpenStack\neutron-2014.1\neutron\db\dhcp_rpc_base.py
class DhcpRpcCallbackMixin(object):
def _get_active_networks(self, context, **kwargs):
def _port_action(self, plugin, context, port, action):
def get_active_networks(self, context, **kwargs):
def get_active_networks_info(self, context, **kwargs):
def get_network_info(self, context, **kwargs):
def get_dhcp_port(self, context, **kwargs):
def release_dhcp_port(self, context, **kwargs):
def release_port_fixed_ip(self, context, **kwargs):
def update_lease_expiration(self, context, **kwargs):
def create_dhcp_port(self, context, **kwargs):
def update_dhcp_port(self, context, **kwargs):
\OpenStack\neutron-2014.1\neutron\db\external_net_db.py
class ExternalNetwork(model_base.BASEV2):
class External_net_db_mixin(object):
def _network_model_hook(self, context, original_model, query):
def _network_filter_hook(self, context, original_model, conditions):
def _network_result_filter_hook(self, query, filters):
def _network_is_external(self, context, net_id):
def _extend_network_dict_l3(self, network_res, network_db):
def _process_l3_create(self, context, net_data, req_data):
def _process_l3_update(self, context, net_data, req_data):
def _filter_nets_l3(self, context, nets, filters):
def get_external_network_id(self, context):
\OpenStack\neutron-2014.1\neutron\db\extradhcpopt_db.py
class ExtraDhcpOpt(model_base.BASEV2, models_v2.HasId):
class ExtraDhcpOptMixin(object):
def _process_port_create_extra_dhcp_opts(self, context, port, extra_dhcp_opts):
def _extend_port_extra_dhcp_opts_dict(self, context, port):
def _get_port_extra_dhcp_opts_binding(self, context, port_id):
def _update_extra_dhcp_opts_on_port(self, context, id, port, updated_port=None):
def _extend_port_dict_extra_dhcp_opt(self, res, port):
\OpenStack\neutron-2014.1\neutron\db\extraroute_db.py
class RouterRoute(model_base.BASEV2, models_v2.Route):
class ExtraRoute_db_mixin(l3_db.L3_NAT_db_mixin):
def _extend_router_dict_extraroute(self, router_res, router_db):
def update_router(self, context, id, router):
def _get_subnets_by_cidr(self, context, cidr):
def _validate_routes_nexthop(self, context, ports, routes, nexthop):
def _validate_routes(self, context, router_id, routes):
def _update_extra_routes(self, context, router, routes):
def _make_extra_route_list(extra_routes):
def _get_extra_routes_by_router_id(self, context, id):
def get_router(self, context, id, fields=None):
def get_routers(self, context, filters=None, fields=None, sorts=None, limit=None, marker=None, page_reverse=False):
def _confirm_router_interface_not_in_use(self, context, router_id, subnet_id):
\OpenStack\neutron-2014.1\neutron\db\firewall\firewall_db.py
class FirewallRule(model_base.BASEV2, models_v2.HasId, models_v2.HasTenant):
class Firewall(model_base.BASEV2, models_v2.HasId, models_v2.HasTenant):
class FirewallPolicy(model_base.BASEV2, models_v2.HasId, models_v2.HasTenant):
class Firewall_db_mixin(firewall.FirewallPluginBase, base_db.CommonDbMixin):
def _core_plugin(self):
def _get_firewall(self, context, id):
def _get_firewall_policy(self, context, id):
def _get_firewall_rule(self, context, id):
def _make_firewall_dict(self, fw, fields=None):
def _make_firewall_policy_dict(self, firewall_policy, fields=None):
def _make_firewall_rule_dict(self, firewall_rule, fields=None):
def _set_rules_for_policy(self, context, firewall_policy_db, rule_id_list):
def _process_rule_for_policy(self, context, firewall_policy_id, firewall_rule_db, position):
def _get_min_max_ports_from_range(self, port_range):
def _get_port_range_from_min_max_ports(self, min_port, max_port):
def create_firewall(self, context, firewall):
def update_firewall(self, context, id, firewall):
def delete_firewall(self, context, id):
def get_firewall(self, context, id, fields=None):
def get_firewalls(self, context, filters=None, fields=None):
def get_firewalls_count(self, context, filters=None):
def create_firewall_policy(self, context, firewall_policy):
def update_firewall_policy(self, context, id, firewall_policy):
def delete_firewall_policy(self, context, id):
def get_firewall_policy(self, context, id, fields=None):
def get_firewall_policies(self, context, filters=None, fields=None):
def get_firewalls_policies_count(self, context, filters=None):
def create_firewall_rule(self, context, firewall_rule):
def update_firewall_rule(self, context, id, firewall_rule):
def delete_firewall_rule(self, context, id):
def get_firewall_rule(self, context, id, fields=None):
def get_firewall_rules(self, context, filters=None, fields=None):
def get_firewalls_rules_count(self, context, filters=None):
def _validate_insert_remove_rule_request(self, id, rule_info):
def insert_rule(self, context, id, rule_info):
def remove_rule(self, context, id, rule_info):
\OpenStack\neutron-2014.1\neutron\db\firewall\__init__.py
\OpenStack\neutron-2014.1\neutron\db\l3_agentschedulers_db.py
class RouterL3AgentBinding(model_base.BASEV2, models_v2.HasId):
class L3AgentSchedulerDbMixin(l3agentscheduler.L3AgentSchedulerPluginBase,
AgentSchedulerDbMixin):
def add_router_to_l3_agent(self, context, agent_id, router_id):
def remove_router_from_l3_agent(self, context, agent_id, router_id):
def list_routers_on_l3_agent(self, context, agent_id):
def list_active_sync_routers_on_active_l3_agent( self, context, host, router_ids):
def get_l3_agents_hosting_routers(self, context, router_ids, admin_state_up=None, active=None):
def _get_l3_bindings_hosting_routers(self, context, router_ids):
def list_l3_agents_hosting_router(self, context, router_id):
def get_l3_agents(self, context, active=None, filters=None):
def get_l3_agent_candidates(self, sync_router, l3_agents):
def auto_schedule_routers(self, context, host, router_ids):
def schedule_router(self, context, router):
def schedule_routers(self, context, routers):
def get_l3_agent_with_min_routers(self, context, agent_ids):
\OpenStack\neutron-2014.1\neutron\db\l3_db.py
class Router(model_base.BASEV2, models_v2.HasId, models_v2.HasTenant):
class FloatingIP(model_base.BASEV2, models_v2.HasId, models_v2.HasTenant):
class L3_NAT_db_mixin(l3.RouterPluginBase):
def _core_plugin(self):
def _get_router(self, context, id):
def _make_router_dict(self, router, fields=None, process_extensions=True):
def create_router(self, context, router):
def update_router(self, context, id, router):
def _create_router_gw_port(self, context, router, network_id):
def _update_router_gw_info(self, context, router_id, info, router=None):
def delete_router(self, context, id):
def get_router(self, context, id, fields=None):
def get_routers(self, context, filters=None, fields=None, sorts=None, limit=None, marker=None, page_reverse=False):
def get_routers_count(self, context, filters=None):
def _check_for_dup_router_subnet(self, context, router_id, network_id, subnet_id, subnet_cidr):
def add_router_interface(self, context, router_id, interface_info):
def _confirm_router_interface_not_in_use(self, context, router_id, subnet_id):
def remove_router_interface(self, context, router_id, interface_info):
def _get_floatingip(self, context, id):
def _make_floatingip_dict(self, floatingip, fields=None):
def _get_router_for_floatingip(self, context, internal_port, internal_subnet_id, external_network_id):
def _internal_fip_assoc_data(self, context, fip):
def get_assoc_data(self, context, fip, floating_network_id):
def _update_fip_assoc(self, context, fip, floatingip_db, external_port):
def create_floatingip( self, context, floatingip, initial_status=l3_constants.FLOATINGIP_STATUS_ACTIVE):
def update_floatingip(self, context, id, floatingip):
def update_floatingip_status(self, context, floatingip_id, status):
def delete_floatingip(self, context, id):
def get_floatingip(self, context, id, fields=None):
def get_floatingips(self, context, filters=None, fields=None, sorts=None, limit=None, marker=None, page_reverse=False):
def get_floatingips_count(self, context, filters=None):
def prevent_l3_port_deletion(self, context, port_id):
def disassociate_floatingips(self, context, port_id):
def _build_routers_list(self, routers, gw_ports):
def _get_sync_routers(self, context, router_ids=None, active=None):
def _get_sync_floating_ips(self, context, router_ids):
def get_sync_gw_ports(self, context, gw_port_ids):
def get_sync_interfaces(self, context, router_ids, device_owner=DEVICE_OWNER_ROUTER_INTF):
def _populate_subnet_for_ports(self, context, ports):
def _process_sync_data(self, routers, interfaces, floating_ips):
def get_sync_data(self, context, router_ids=None, active=None):
\OpenStack\neutron-2014.1\neutron\db\l3_gwmode_db.py
class L3_NAT_db_mixin(l3_db.L3_NAT_db_mixin):
def _extend_router_dict_gw_mode(self, router_res, router_db):
def _update_router_gw_info(self, context, router_id, info, router=None):
def _build_routers_list(self, routers, gw_ports):
\OpenStack\neutron-2014.1\neutron\db\l3_rpc_base.py
class L3RpcCallbackMixin(object):
def sync_routers(self, context, **kwargs):
def _ensure_host_set_on_ports(self, context, plugin, host, routers):
def _ensure_host_set_on_port(self, context, plugin, host, port):
def get_external_network_id(self, context, **kwargs):
def update_floatingip_statuses(self, context, router_id, fip_statuses):
\OpenStack\neutron-2014.1\neutron\db\loadbalancer\loadbalancer_db.py
class SessionPersistence(model_base.BASEV2):
class PoolStatistics(model_base.BASEV2):
def validate_non_negative_int(self, key, value):
class Vip(model_base.BASEV2, models_v2.HasId, models_v2.HasTenant,
models_v2.HasStatusDescription):
class Member(model_base.BASEV2, models_v2.HasId, models_v2.HasTenant,
models_v2.HasStatusDescription):
class Pool(model_base.BASEV2, models_v2.HasId, models_v2.HasTenant,
models_v2.HasStatusDescription):
class HealthMonitor(model_base.BASEV2, models_v2.HasId, models_v2.HasTenant):
class PoolMonitorAssociation(model_base.BASEV2,
models_v2.HasStatusDescription):
class LoadBalancerPluginDb(LoadBalancerPluginBase,
base_db.CommonDbMixin):
def _core_plugin(self):
def update_status(self, context, model, id, status, status_description=None):
def _get_resource(self, context, model, id):
def assert_modification_allowed(self, obj):
def _make_vip_dict(self, vip, fields=None):
def _check_session_persistence_info(self, info):
def _create_session_persistence_db(self, session_info, vip_id):
def _update_vip_session_persistence(self, context, vip_id, info):
def _delete_session_persistence(self, context, vip_id):
def _create_port_for_vip(self, context, vip_db, subnet_id, ip_address):
def create_vip(self, context, vip):
def update_vip(self, context, id, vip):
def delete_vip(self, context, id):
def get_vip(self, context, id, fields=None):
def get_vips(self, context, filters=None, fields=None):
def _make_pool_dict(self, pool, fields=None):
def update_pool_stats(self, context, pool_id, data=None):
def _create_pool_stats(self, context, pool_id, data=None):
def _delete_pool_stats(self, context, pool_id):
def create_pool(self, context, pool):
def update_pool(self, context, id, pool):
def _ensure_pool_delete_conditions(self, context, pool_id):
def delete_pool(self, context, pool_id):
def get_pool(self, context, id, fields=None):
def get_pools(self, context, filters=None, fields=None):
def stats(self, context, pool_id):
def create_pool_health_monitor(self, context, health_monitor, pool_id):
def delete_pool_health_monitor(self, context, id, pool_id):
def _get_pool_health_monitor(self, context, id, pool_id):
def get_pool_health_monitor(self, context, id, pool_id, fields=None):
def update_pool_health_monitor(self, context, id, pool_id, status, status_description=None):
def _make_member_dict(self, member, fields=None):
def create_member(self, context, member):
def update_member(self, context, id, member):
def delete_member(self, context, id):
def get_member(self, context, id, fields=None):
def get_members(self, context, filters=None, fields=None):
def _make_health_monitor_dict(self, health_monitor, fields=None):
def create_health_monitor(self, context, health_monitor):
def update_health_monitor(self, context, id, health_monitor):
def delete_health_monitor(self, context, id):
def get_health_monitor(self, context, id, fields=None):
def get_health_monitors(self, context, filters=None, fields=None):
\OpenStack\neutron-2014.1\neutron\db\loadbalancer\__init__.py
\OpenStack\neutron-2014.1\neutron\db\metering\metering_db.py
class MeteringLabelRule(model_base.BASEV2, models_v2.HasId):
class MeteringLabel(model_base.BASEV2, models_v2.HasId, models_v2.HasTenant):
class MeteringDbMixin(metering.MeteringPluginBase,
base_db.CommonDbMixin):
def __init__(self):
def _make_metering_label_dict(self, metering_label, fields=None):
def create_metering_label(self, context, metering_label):
def delete_metering_label(self, context, label_id):
def get_metering_label(self, context, label_id, fields=None):
def get_metering_labels(self, context, filters=None, fields=None, sorts=None, limit=None, marker=None, page_reverse=False):
def _make_metering_label_rule_dict(self, metering_label_rule, fields=None):
def get_metering_label_rules(self, context, filters=None, fields=None, sorts=None, limit=None, marker=None, page_reverse=False):
def get_metering_label_rule(self, context, rule_id, fields=None):
def _validate_cidr(self, context, label_id, remote_ip_prefix, direction, excluded):
def create_metering_label_rule(self, context, metering_label_rule):
def delete_metering_label_rule(self, context, rule_id):
def _get_metering_rules_dict(self, metering_label):
def _make_router_dict(self, router):
def _process_sync_metering_data(self, labels):
def get_sync_data_metering(self, context, label_id=None):
\OpenStack\neutron-2014.1\neutron\db\metering\__init__.py
\OpenStack\neutron-2014.1\neutron\db\migration\alembic_migrations\common_ext_ops.py
def upgrade_l3():
def upgrade_quota(options=None):
def downgrade_l3():
def downgrade_quota(options=None):
\OpenStack\neutron-2014.1\neutron\db\migration\alembic_migrations\env.py
def run_migrations_offline():
def run_migrations_online():
def build_options():
def is_db_quota_enabled():
\OpenStack\neutron-2014.1\neutron\db\migration\alembic_migrations\script.py.mako
def upgrade(active_plugins=None, options=None):
def downgrade(active_plugins=None, options=None):
\OpenStack\neutron-2014.1\neutron\db\migration\alembic_migrations\versions\1064e98b7917_nec_pf_port_del.py
def upgrade(active_plugins=None, options=None):
def downgrade(active_plugins=None, options=None):
\OpenStack\neutron-2014.1\neutron\db\migration\alembic_migrations\versions\1149d7de0cfa_port_security.py
def upgrade(active_plugins=None, options=None):
def downgrade(active_plugins=None, options=None):
\OpenStack\neutron-2014.1\neutron\db\migration\alembic_migrations\versions\117643811bca_nec_delete_ofc_mapping.py
class InsertFromSelect(sa_expr.Executable, sa_expr.ClauseElement):
def __init__(self, insert_spec, select):
def visit_insert_from_select(element, compiler, **kw):
def upgrade(active_plugins=None, options=None):
def downgrade(active_plugins=None, options=None):
\OpenStack\neutron-2014.1\neutron\db\migration\alembic_migrations\versions\11c6e18605c8_pool_monitor_status_.py
def upgrade(active_plugins=None, options=None):
def downgrade(active_plugins=None, options=None):
\OpenStack\neutron-2014.1\neutron\db\migration\alembic_migrations\versions\128e042a2b68_ext_gw_mode.py
def upgrade(active_plugins=None, options=None):
def downgrade(active_plugins=None, options=None):
\OpenStack\neutron-2014.1\neutron\db\migration\alembic_migrations\versions\1341ed32cc1e_nvp_netbinding_update.py
def upgrade(active_plugins=None, options=None):
def downgrade(active_plugins=None, options=None):
\OpenStack\neutron-2014.1\neutron\db\migration\alembic_migrations\versions\13de305df56e_add_nec_pf_name.py
def upgrade(active_plugins=None, options=None):
def downgrade(active_plugins=None, options=None):
\OpenStack\neutron-2014.1\neutron\db\migration\alembic_migrations\versions\1421183d533f_nsx_dhcp_metadata.py
def upgrade(active_plugins=None, options=None):
def downgrade(active_plugins=None, options=None):
\OpenStack\neutron-2014.1\neutron\db\migration\alembic_migrations\versions\14f24494ca31_arista_ml2.py
def upgrade(active_plugins=None, options=None):
def downgrade(active_plugins=None, options=None):
\OpenStack\neutron-2014.1\neutron\db\migration\alembic_migrations\versions\157a5d299379_ml2_binding_profile.py
def upgrade(active_plugins=None, options=None):
def downgrade(active_plugins=None, options=None):
\OpenStack\neutron-2014.1\neutron\db\migration\alembic_migrations\versions\176a85fc7d79_add_portbindings_db.py
def upgrade(active_plugins=None, options=None):
def downgrade(active_plugins=None, options=None):
\OpenStack\neutron-2014.1\neutron\db\migration\alembic_migrations\versions\19180cf98af6_nsx_gw_devices.py
def upgrade(active_plugins=None, options=None):
def downgrade(active_plugins=None, options=None):
\OpenStack\neutron-2014.1\neutron\db\migration\alembic_migrations\versions\1b2580001654_nsx_sec_group_mappin.py
def upgrade(active_plugins=None, options=None):
def downgrade(active_plugins=None, options=None):
\OpenStack\neutron-2014.1\neutron\db\migration\alembic_migrations\versions\1b693c095aa3_quota_ext_db_grizzly.py
def upgrade(active_plugins=None, options=None):
def downgrade(active_plugins=None, options=None):
\OpenStack\neutron-2014.1\neutron\db\migration\alembic_migrations\versions\1c33fa3cd1a1_extra_route_config.py
def upgrade(active_plugins=None, options=None):
def downgrade(active_plugins=None, options=None):
\OpenStack\neutron-2014.1\neutron\db\migration\alembic_migrations\versions\1d76643bcec4_nvp_netbinding.py
def upgrade(active_plugins=None, options=None):
def downgrade(active_plugins=None, options=None):
\OpenStack\neutron-2014.1\neutron\db\migration\alembic_migrations\versions\1efb85914233_allowedaddresspairs.py
def upgrade(active_plugins=None, options=None):
def downgrade(active_plugins=None, options=None):
\OpenStack\neutron-2014.1\neutron\db\migration\alembic_migrations\versions\1fcfc149aca4_agents_unique_by_type_and_host.py
def upgrade(active_plugins=None, options=None):
def downgrade(active_plugins=None, options=None):
\OpenStack\neutron-2014.1\neutron\db\migration\alembic_migrations\versions\2032abe8edac_lbaas_add_status_des.py
def upgrade(active_plugins=None, options=None):
def downgrade(active_plugins=None, options=None):
\OpenStack\neutron-2014.1\neutron\db\migration\alembic_migrations\versions\20ae61555e95_ml2_gre_type_driver.py
def upgrade(active_plugins=None, options=None):
def downgrade(active_plugins=None, options=None):
\OpenStack\neutron-2014.1\neutron\db\migration\alembic_migrations\versions\2447ad0e9585_add_ipv6_mode_props.py
def upgrade(active_plugins=None, options=None):
def downgrade(active_plugins=None, options=None):
\OpenStack\neutron-2014.1\neutron\db\migration\alembic_migrations\versions\24c7ea5160d7_cisco_csr_vpnaas.py
def upgrade(active_plugins=None, options=None):
def downgrade(active_plugins=None, options=None):
\OpenStack\neutron-2014.1\neutron\db\migration\alembic_migrations\versions\2528ceb28230_nec_pf_netid_fix.py
def upgrade(active_plugins=None, options=None):
def downgrade(active_plugins=None, options=None):
\OpenStack\neutron-2014.1\neutron\db\migration\alembic_migrations\versions\263772d65691_cisco_db_cleanup_2.py
def upgrade(active_plugins=None, options=None):
def downgrade(active_plugins=None, options=None):
\OpenStack\neutron-2014.1\neutron\db\migration\alembic_migrations\versions\27cc183af192_ml2_vnic_type.py
def upgrade(active_plugins=None, options=None):
def downgrade(active_plugins=None, options=None):
\OpenStack\neutron-2014.1\neutron\db\migration\alembic_migrations\versions\27ef74513d33_quota_in_plumgrid_pl.py
def upgrade(active_plugins=None, options=None):
def downgrade(active_plugins=None, options=None):
\OpenStack\neutron-2014.1\neutron\db\migration\alembic_migrations\versions\2a3bae1ceb8_nec_port_binding.py
def upgrade(active_plugins=None, options=None):
def downgrade(active_plugins=None, options=None):
\OpenStack\neutron-2014.1\neutron\db\migration\alembic_migrations\versions\2a6d0b51f4bb_cisco_plugin_cleanup.py
def upgrade(active_plugins=None, options=None):
def downgrade(active_plugins=None, options=None):
\OpenStack\neutron-2014.1\neutron\db\migration\alembic_migrations\versions\2c4af419145b_l3_support.py
def upgrade(active_plugins=None, options=None):
def downgrade(active_plugins=None, options=None):
\OpenStack\neutron-2014.1\neutron\db\migration\alembic_migrations\versions\2eeaf963a447_floatingip_status.py
def upgrade(active_plugins=None, options=None):
def downgrade(active_plugins=None, options=None):
\OpenStack\neutron-2014.1\neutron\db\migration\alembic_migrations\versions\32a65f71af51_ml2_portbinding.py
def upgrade(active_plugins=None, options=None):
def downgrade(active_plugins=None, options=None):
\OpenStack\neutron-2014.1\neutron\db\migration\alembic_migrations\versions\32b517556ec9_remove_tunnelip_mode.py
def upgrade(active_plugins=None, options=None):
def downgrade(active_plugins=None, options=None):
\OpenStack\neutron-2014.1\neutron\db\migration\alembic_migrations\versions\338d7508968c_vpnaas_peer_address_.py
def upgrade(active_plugins=None, options=None):
def downgrade(active_plugins=None, options=None):
\OpenStack\neutron-2014.1\neutron\db\migration\alembic_migrations\versions\33dd0a9fa487_embrane_lbaas_driver.py
def upgrade(active_plugins=None, options=None):
def downgrade(active_plugins=None, options=None):
\OpenStack\neutron-2014.1\neutron\db\migration\alembic_migrations\versions\35c7c198ddea_lbaas_healthmon_del_status.py
def upgrade(active_plugins=None, options=None):
def downgrade(active_plugins=None, options=None):
\OpenStack\neutron-2014.1\neutron\db\migration\alembic_migrations\versions\363468ac592c_nvp_network_gw.py
def upgrade(active_plugins=None, options=None):
def downgrade(active_plugins=None, options=None):
\OpenStack\neutron-2014.1\neutron\db\migration\alembic_migrations\versions\38335592a0dc_nvp_portmap.py
def upgrade(active_plugins=None, options=None):
def downgrade(active_plugins=None, options=None):
\OpenStack\neutron-2014.1\neutron\db\migration\alembic_migrations\versions\38fc1f6789f8_cisco_n1kv_overlay.py
def upgrade(active_plugins=None, options=None):
def downgrade(active_plugins=None, options=None):
\OpenStack\neutron-2014.1\neutron\db\migration\alembic_migrations\versions\39cf3f799352_fwaas_havana_2_model.py
def downgrade(active_plugins=None, options=None):
def upgrade(active_plugins=None, options=None):
\OpenStack\neutron-2014.1\neutron\db\migration\alembic_migrations\versions\3a520dd165d0_cisco_nexus_multi_switch.py
def upgrade(active_plugins=None, options=None):
def downgrade(active_plugins=None, options=None):
\OpenStack\neutron-2014.1\neutron\db\migration\alembic_migrations\versions\3b54bf9e29f7_nec_plugin_sharednet.py
def upgrade(active_plugins=None, options=None):
def downgrade(active_plugins=None, options=None):
\OpenStack\neutron-2014.1\neutron\db\migration\alembic_migrations\versions\3c6e57a23db4_add_multiprovider.py
def upgrade(active_plugins=None, options=None):
def downgrade(active_plugins=None, options=None):
\OpenStack\neutron-2014.1\neutron\db\migration\alembic_migrations\versions\3cabb850f4a5_table_to_track_port_.py
def upgrade(active_plugins=None, options=None):
def downgrade(active_plugins=None, options=None):
\OpenStack\neutron-2014.1\neutron\db\migration\alembic_migrations\versions\3cb5d900c5de_security_groups.py
def upgrade(active_plugins=None, options=None):
def downgrade(active_plugins=None, options=None):
\OpenStack\neutron-2014.1\neutron\db\migration\alembic_migrations\versions\3cbf70257c28_nvp_mac_learning.py
def upgrade(active_plugins=None, options=None):
def downgrade(active_plugins=None, options=None):
\OpenStack\neutron-2014.1\neutron\db\migration\alembic_migrations\versions\3d2585038b95_vmware_nsx.py
def upgrade(active_plugins=None, options=None):
def downgrade(active_plugins=None, options=None):
\OpenStack\neutron-2014.1\neutron\db\migration\alembic_migrations\versions\3d3cb89d84ee_nsx_switch_mappings.py
def upgrade(active_plugins=None, options=None):
def downgrade(active_plugins=None, options=None):
\OpenStack\neutron-2014.1\neutron\db\migration\alembic_migrations\versions\3d6fae8b70b0_nvp_lbaas_plugin.py
def upgrade(active_plugins=None, options=None):
def downgrade(active_plugins=None, options=None):
\OpenStack\neutron-2014.1\neutron\db\migration\alembic_migrations\versions\3ed8f075e38a_nvp_fwaas_plugin.py
def upgrade(active_plugins=None, options=None):
def downgrade(active_plugins=None, options=None):
\OpenStack\neutron-2014.1\neutron\db\migration\alembic_migrations\versions\40b0aff0302e_mlnx_initial.py
def upgrade(active_plugins=None, options=None):
def downgrade(active_plugins=None, options=None):
\OpenStack\neutron-2014.1\neutron\db\migration\alembic_migrations\versions\40dffbf4b549_nvp_dist_router.py
def upgrade(active_plugins=None, options=None):
def downgrade(active_plugins=None, options=None):
\OpenStack\neutron-2014.1\neutron\db\migration\alembic_migrations\versions\45680af419f9_nvp_qos.py
def upgrade(active_plugins=None, options=None):
def downgrade(active_plugins=None, options=None):
\OpenStack\neutron-2014.1\neutron\db\migration\alembic_migrations\versions\4692d074d587_agent_scheduler.py
def upgrade(active_plugins=None, options=None):
def downgrade(active_plugins=None, options=None):
\OpenStack\neutron-2014.1\neutron\db\migration\alembic_migrations\versions\46a0efbd8f0_cisco_n1kv_multisegm.py
def upgrade(active_plugins=None, options=None):
def downgrade(active_plugins=None, options=None):
\OpenStack\neutron-2014.1\neutron\db\migration\alembic_migrations\versions\477a4488d3f4_ml2_vxlan_type_driver.py
def upgrade(active_plugins=None, options=None):
def downgrade(active_plugins=None, options=None):
\OpenStack\neutron-2014.1\neutron\db\migration\alembic_migrations\versions\48b6f43f7471_service_type.py
def upgrade(active_plugins=None, options=None):
def downgrade(active_plugins=None, options=None):
\OpenStack\neutron-2014.1\neutron\db\migration\alembic_migrations\versions\492a106273f8_brocade_ml2_mech_dri.py
def upgrade(active_plugins=None, options=None):
def downgrade(active_plugins=None, options=None):
\OpenStack\neutron-2014.1\neutron\db\migration\alembic_migrations\versions\49332180ca96_ryu_plugin_update.py
def upgrade(active_plugins=None, options=None):
def downgrade(active_plugins=None, options=None):
\OpenStack\neutron-2014.1\neutron\db\migration\alembic_migrations\versions\49f5e553f61f_ml2_security_groups.py
def upgrade(active_plugins=None, options=None):
def downgrade(active_plugins=None, options=None):
\OpenStack\neutron-2014.1\neutron\db\migration\alembic_migrations\versions\4a666eb208c2_service_router.py
def upgrade(active_plugins=None, options=None):
def downgrade(active_plugins=None, options=None):
\OpenStack\neutron-2014.1\neutron\db\migration\alembic_migrations\versions\4ca36cfc898c_nsx_router_mappings.py
def upgrade(active_plugins=None, options=None):
def downgrade(active_plugins=None, options=None):
\OpenStack\neutron-2014.1\neutron\db\migration\alembic_migrations\versions\50d5ba354c23_ml2_binding_vif_details.py
def upgrade(active_plugins=None, options=None):
def downgrade(active_plugins=None, options=None):
\OpenStack\neutron-2014.1\neutron\db\migration\alembic_migrations\versions\50e86cb2637a_nsx_mappings.py
def upgrade(active_plugins=None, options=None):
def downgrade(active_plugins=None, options=None):
\OpenStack\neutron-2014.1\neutron\db\migration\alembic_migrations\versions\511471cc46b_agent_ext_model_supp.py
def upgrade(active_plugins=None, options=None):
def downgrade(active_plugins=None, options=None):
\OpenStack\neutron-2014.1\neutron\db\migration\alembic_migrations\versions\51b4de912379_cisco_nexus_ml2_mech.py
def upgrade(active_plugins=None, options=None):
def downgrade(active_plugins=None, options=None):
\OpenStack\neutron-2014.1\neutron\db\migration\alembic_migrations\versions\52c5e4a18807_lbaas_pool_scheduler.py
def upgrade(active_plugins=None, options=None):
def downgrade(active_plugins=None, options=None):
\OpenStack\neutron-2014.1\neutron\db\migration\alembic_migrations\versions\52ff27f7567a_support_for_vpnaas.py
def upgrade(active_plugins=None, options=None):
def downgrade(active_plugins=None, options=None):
\OpenStack\neutron-2014.1\neutron\db\migration\alembic_migrations\versions\538732fa21e1_nec_rename_quantum_id_to_neutron_id.py
def upgrade(active_plugins=None, options=None):
def downgrade(active_plugins=None, options=None):
\OpenStack\neutron-2014.1\neutron\db\migration\alembic_migrations\versions\53bbd27ec841_extra_dhcp_opts_supp.py
def upgrade(active_plugins=None, options=None):
def downgrade(active_plugins=None, options=None):
\OpenStack\neutron-2014.1\neutron\db\migration\alembic_migrations\versions\54c2c487e913_lbaas.py
def upgrade(active_plugins=None, options=None):
def downgrade(active_plugins=None, options=None):
\OpenStack\neutron-2014.1\neutron\db\migration\alembic_migrations\versions\557edfc53098_new_service_types.py
def upgrade(active_plugins=None, options=None):
def downgrade(active_plugins=None, options=None):
\OpenStack\neutron-2014.1\neutron\db\migration\alembic_migrations\versions\569e98a8132b_metering.py
def downgrade(active_plugins=None, options=None):
def upgrade(active_plugins=None, options=None):
\OpenStack\neutron-2014.1\neutron\db\migration\alembic_migrations\versions\5918cbddab04_add_tables_for_route.py
def upgrade(active_plugins=None, options=None):
def downgrade(active_plugins=None, options=None):
\OpenStack\neutron-2014.1\neutron\db\migration\alembic_migrations\versions\5a875d0e5c_ryu.py
def upgrade(active_plugins=None, options=None):
def downgrade(active_plugins=None, options=None):
\OpenStack\neutron-2014.1\neutron\db\migration\alembic_migrations\versions\5ac1c354a051_n1kv_segment_alloc.py
def upgrade(active_plugins=None, options=None):
def downgrade(active_plugins=None, options=None):
\OpenStack\neutron-2014.1\neutron\db\migration\alembic_migrations\versions\5ac71e65402c_ml2_initial.py
def upgrade(active_plugins=None, options=None):
def downgrade(active_plugins=None, options=None):
\OpenStack\neutron-2014.1\neutron\db\migration\alembic_migrations\versions\63afba73813_ovs_tunnelendpoints_id_unique.py
def upgrade(active_plugins=None, options=None):
def downgrade(active_plugins=None, options=None):
\OpenStack\neutron-2014.1\neutron\db\migration\alembic_migrations\versions\66a59a7f516_nec_openflow_router.py
def upgrade(active_plugins=None, options=None):
def downgrade(active_plugins=None, options=None):
\OpenStack\neutron-2014.1\neutron\db\migration\alembic_migrations\versions\81c553f3776c_bsn_consistencyhashes.py
def upgrade(active_plugins=None, options=None):
def downgrade(active_plugins=None, options=None):
\OpenStack\neutron-2014.1\neutron\db\migration\alembic_migrations\versions\86cf4d88bd3_remove_bigswitch_por.py
def upgrade(active_plugins=None, options=None):
def downgrade(active_plugins=None, options=None):
\OpenStack\neutron-2014.1\neutron\db\migration\alembic_migrations\versions\8f682276ee4_ryu_plugin_quota.py
def upgrade(active_plugins=None, options=None):
def downgrade(active_plugins=None, options=None):
\OpenStack\neutron-2014.1\neutron\db\migration\alembic_migrations\versions\abc88c33f74f_lb_stats_needs_bigint.py
def upgrade(active_plugins=None, options=None):
def downgrade(active_plugins=None, options=None):
\OpenStack\neutron-2014.1\neutron\db\migration\alembic_migrations\versions\b7a8863760e_rm_cisco_vlan_bindin.py
def upgrade(active_plugins=None, options=None):
def downgrade(active_plugins=None, options=None):
\OpenStack\neutron-2014.1\neutron\db\migration\alembic_migrations\versions\c88b6b5fea3_cisco_n1kv_tables.py
def upgrade(active_plugins=None, options=None):
def downgrade(active_plugins=None, options=None):
\OpenStack\neutron-2014.1\neutron\db\migration\alembic_migrations\versions\e197124d4b9_add_unique_constrain.py
def upgrade(active_plugins=None, options=None):
def downgrade(active_plugins=None, options=None):
\OpenStack\neutron-2014.1\neutron\db\migration\alembic_migrations\versions\e6b16a30d97_cisco_provider_nets.py
def upgrade(active_plugins=None, options=None):
def downgrade(active_plugins=None, options=None):
\OpenStack\neutron-2014.1\neutron\db\migration\alembic_migrations\versions\e766b19a3bb_nuage_initial.py
def upgrade(active_plugins=None, options=None):
def downgrade(active_plugins=None, options=None):
\OpenStack\neutron-2014.1\neutron\db\migration\alembic_migrations\versions\ed93525fd003_bigswitch_quota.py
def upgrade(active_plugins=None, options=None):
def downgrade(active_plugins=None, options=None):
\OpenStack\neutron-2014.1\neutron\db\migration\alembic_migrations\versions\f44ab9871cd6_bsn_security_groups.py
def upgrade(active_plugins=None, options=None):
def downgrade(active_plugins=None, options=None):
\OpenStack\neutron-2014.1\neutron\db\migration\alembic_migrations\versions\f489cf14a79c_lbaas_havana.py
def upgrade(active_plugins=None, options=None):
def downgrade(active_plugins=None, options=None):
\OpenStack\neutron-2014.1\neutron\db\migration\alembic_migrations\versions\f9263d6df56_remove_dhcp_lease.py
def upgrade(active_plugins=None, options=None):
def downgrade(active_plugins=None, options=None):
\OpenStack\neutron-2014.1\neutron\db\migration\alembic_migrations\versions\fcac4c42e2cc_bsn_addresspairs.py
def upgrade(active_plugins=None, options=None):
def downgrade(active_plugins=None, options=None):
\OpenStack\neutron-2014.1\neutron\db\migration\alembic_migrations\versions\folsom_initial.py
def upgrade(active_plugins=None, options=None):
def upgrade_base():
def upgrade_linuxbridge():
def upgrade_ovs():
def upgrade_meta():
def upgrade_nec():
def upgrade_ryu():
def upgrade_brocade():
def upgrade_cisco():
def downgrade(active_plugins=None, options=None):
def downgrade_base():
def downgrade_linuxbridge():
def downgrade_ovs():
def downgrade_meta():
def downgrade_nec():
def downgrade_ryu():
def downgrade_brocade():
def downgrade_cisco():
def drop_tables(*tables):
\OpenStack\neutron-2014.1\neutron\db\migration\alembic_migrations\versions\grizzly_release.py
def upgrade(active_plugins=None, options=None):
def downgrade(active_plugins=None, options=None):
\OpenStack\neutron-2014.1\neutron\db\migration\alembic_migrations\versions\havana_release.py
def upgrade(active_plugins=None, options=None):
def downgrade(active_plugins=None, options=None):
\OpenStack\neutron-2014.1\neutron\db\migration\alembic_migrations\versions\icehouse_release.py
def upgrade(active_plugins=None, options=None):
def downgrade(active_plugins=None, options=None):
\OpenStack\neutron-2014.1\neutron\db\migration\alembic_migrations\__init__.py
\OpenStack\neutron-2014.1\neutron\db\migration\cli.py
def do_alembic_command(config, cmd, *args, **kwargs):
def do_check_migration(config, cmd):
def do_upgrade_downgrade(config, cmd):
def do_stamp(config, cmd):
def do_revision(config, cmd):
def validate_head_file(config):
def update_head_file(config):
def add_command_parsers(subparsers):
def main():
\OpenStack\neutron-2014.1\neutron\db\migration\migrate_to_ml2.py
def interpret_vlan_id(vlan_id):
class BaseMigrateToMl2_Icehouse(object):
def __init__(self, vif_type, driver_type, segment_table_name, vlan_allocation_table_name, old_tables):
def __call__(self, connection_url, save_tables=False, tunnel_type=None, vxlan_udp_port=None):
def migrate_segment_dict(self, binding):
def migrate_network_segments(self, engine, metadata):
def migrate_tunnels(self, engine, tunnel_type, vxlan_udp_port=None):
def migrate_vlan_allocations(self, engine):
def get_port_segment_map(self, engine):
def migrate_port_bindings(self, engine, metadata):
def drop_old_tables(self, engine, save_tables=False):
def define_ml2_tables(self, metadata):
class MigrateLinuxBridgeToMl2_Icehouse(BaseMigrateToMl2_Icehouse):
def __init__(self):
def migrate_segment_dict(self, binding):
class MigrateOpenvswitchToMl2_Icehouse(BaseMigrateToMl2_Icehouse):
def __init__(self):
def migrate_tunnels(self, engine, tunnel_type, vxlan_udp_port=None):
def main():
\OpenStack\neutron-2014.1\neutron\db\migration\__init__.py
def should_run(active_plugins, migrate_plugins):
\OpenStack\neutron-2014.1\neutron\db\models_v2.py
class HasTenant(object):
class HasId(object):
class HasStatusDescription(object):
class IPAvailabilityRange(model_base.BASEV2):
def __repr__(self):
class IPAllocationPool(model_base.BASEV2, HasId):
def __repr__(self):
class IPAllocation(model_base.BASEV2):
class Route(object):
class SubnetRoute(model_base.BASEV2, Route):
class Port(model_base.BASEV2, HasId, HasTenant):
def __init__(self, id=None, tenant_id=None, name=None, network_id=None, mac_address=None, admin_state_up=None, status=None, device_id=None, device_owner=None, fixed_ips=None):
class DNSNameServer(model_base.BASEV2):
class Subnet(model_base.BASEV2, HasId, HasTenant):
class Network(model_base.BASEV2, HasId, HasTenant):
\OpenStack\neutron-2014.1\neutron\db\model_base.py
class NeutronBase(models.ModelBase):
def __iter__(self):
def next(self):
def __repr__(self):
class NeutronBaseV2(NeutronBase):
def __tablename__(cls):
\OpenStack\neutron-2014.1\neutron\db\portbindings_base.py
class PortBindingBaseMixin(object):
def _process_portbindings_create_and_update(self, context, port_data, port):
def extend_port_dict_binding(self, port_res, port_db):
def _extend_port_dict_binding(plugin, port_res, port_db):
def register_port_dict_function():
\OpenStack\neutron-2014.1\neutron\db\portbindings_db.py
class PortBindingPort(model_base.BASEV2):
class PortBindingMixin(portbindings_base.PortBindingBaseMixin):
def _port_model_hook(self, context, original_model, query):
def _port_result_filter_hook(self, query, filters):
def _process_portbindings_create_and_update(self, context, port_data, port):
def get_port_host(self, context, port_id):
def _extend_port_dict_binding_host(self, port_res, host):
def extend_port_dict_binding(self, port_res, port_db):
def _extend_port_dict_binding(plugin, port_res, port_db):
\OpenStack\neutron-2014.1\neutron\db\portsecurity_db.py
class PortSecurityBinding(model_base.BASEV2):
class NetworkSecurityBinding(model_base.BASEV2):
class PortSecurityDbMixin(object):
def _process_network_port_security_create( self, context, network_req, network_res):
def _process_port_port_security_create( self, context, port_req, port_res):
def _extend_port_security_dict(self, response_data, db_data):
def _get_network_security_binding(self, context, network_id):
def _get_port_security_binding(self, context, port_id):
def _process_port_port_security_update( self, context, port_req, port_res):
def _process_network_port_security_update( self, context, network_req, network_res):
def _make_network_port_security_dict(self, port_security, fields=None):
def _determine_port_security_and_has_ip(self, context, port):
def _make_port_security_dict(self, port, fields=None):
def _ip_on_port(self, port):
\OpenStack\neutron-2014.1\neutron\db\quota_db.py
class Quota(model_base.BASEV2, models_v2.HasId):
class DbQuotaDriver(object):
def get_tenant_quotas(context, resources, tenant_id):
def delete_tenant_quota(context, tenant_id):
def get_all_quotas(context, resources):
def update_quota_limit(context, tenant_id, resource, limit):
def _get_quotas(self, context, tenant_id, resources, keys):
def limit_check(self, context, tenant_id, resources, values):
\OpenStack\neutron-2014.1\neutron\db\routedserviceinsertion_db.py
class ServiceRouterBinding(model_base.BASEV2):
class AttributeException(qexception.NeutronException):
def validate_resource_type(target, value, oldvalue, initiator):
class RoutedServiceInsertionDbMixin(object):
OpenStack IndexPreviousNext
|