Custom Search
Showing posts with label opencontrail vnc api. Show all posts
Showing posts with label opencontrail vnc api. Show all posts

Thursday, May 7, 2015

List of OpenContrail VNC API module's Properties and Resource classes

['AccessControlList',
 'AclEntriesType',
 'AclRuleType',
 'ActionListType',
 'ActionUriDict',
 'AddressFamilies',
 'AddressType',
 'AllocationPoolType',
 'AllowedAddressPair',
 'AllowedAddressPairs',
 'AmbiguousParentError',
 'ApiAccessListType',
 'ApiAccessType',
 'AttachmentAddressType',
 'AttachmentInfoType',
 'AuthenticationKeyChain',
 'AuthenticationKeyItem',
 'BadRequest',
 'BgpPeeringAttributes',
 'BgpRouter',
 'BgpRouterParams',
 'BgpSession',
 'BgpSessionAttributes',
 'BindingType',
 'CamelCase',
 'ConfigParser',
 'ConfigRoot',
 'ConnectionError',
 'ConnectionType',
 'CustomerAttachment',
 'DefaultProtocolType',
 'DhcpOptionType',
 'DhcpOptionsListType',
 'Domain',
 'DomainLimitsType',
 'EncapsulationPrioritiesType',
 'FloatingIp',
 'FloatingIpPool',

 'FloatingIpPoolType',
 'GlobalSystemConfig',
 'GlobalVrouterConfig',
 'HttpError',
 'IdPermsType',
 'InstanceIp',
 'InstanceTargetType',
 'InterfaceMirrorType',
 'InterfaceRouteTable',
 'InvalidSessionID',
 'IpAddressesType',
 'IpamDnsAddressType',
 'IpamSubnetType',
 'IpamType',
 'LinklocalServiceEntryType',
 'LinklocalServicesTypes',
 'LoadbalancerHealthmonitor',
 'LoadbalancerHealthmonitorType',
 'LoadbalancerMember',
 'LoadbalancerMemberType',
 'LoadbalancerPool',
 'LoadbalancerPoolType',

 'LogicalInterface',
 'LogicalRouter',
 'MacAddressesType',
 'MatchConditionType',
 'MaxRabbitPendingError',
 'MirrorActionType',
 'Namespace',
 'NetworkIpam',
 'NetworkPolicy',
 'NoIdError',
 'NoUserAgentKey',
 'PermType',
 'PermissionDenied',
 'PhysicalInterface',
 'PhysicalRouter',
 'PluginProperties',
 'PluginProperty',
 'PolicyBasedForwardingRuleType',
 'PolicyEntriesType',
 'PolicyRuleType',
 'PortType',
 'Project',
 'ProtocolBgpType',
 'ProtocolOspfType',
 'ProtocolStaticType',
 'ProviderAttachment',
 'QuotaType',
 'RefsExistError',
 'ResourceExhaustionError',
 'ResourceExistsError',
 'ResourceTypeUnknownError',
 'RouteTable',
 'RouteTableType',
 'RouteTarget',
 'RouteTargetList',
 'RouteType',
 'RoutingInstance',
 'SNMPCredentials',
 'SecurityGroup',
 'SequenceType',
 'ServiceChainInfo',
 'ServiceInstance',
 'ServiceInstanceInterfaceType',
 'ServiceInstanceType',
 'ServiceScaleOutType',
 'ServiceTemplate',
 'ServiceTemplateInterfaceType',
 'ServiceTemplateType',
 'ServiceUnavailableError',
 'StaticRouteEntriesType',
 'StaticRouteType',
 'Subnet',
 'SubnetType',

 'TimeOutError',
 'TimerType',
 'UnknownAuthMethod',
 'UserCredentials',
 'UuidType',
 'VirtualDns',
 'VirtualDnsRecord',
 'VirtualDnsRecordType',
 'VirtualDnsType',
 'VirtualIp',
 'VirtualIpType',
 'VirtualMachine',
 'VirtualMachineInterface',

 'VirtualMachineInterfacePropertiesType',
 'VirtualNetwork',
 'VirtualNetworkPolicyType',
 'VirtualNetworkType',
 'VirtualRouter',
 'VnSubnetsType',
 'VncApi',
 'VncApiClientGen',
 'VncError',
 'VrfAssignRuleType',
 'VrfAssignTableType',
 '__builtins__',
 '__doc__',
 '__file__',
 '__name__',
 '__package__',
 '_read_cfg',
 'config_root_domain',
 'config_root_global_system_config',
 'customer_attachment_floating_ip',
 'customer_attachment_virtual_machine_interface',
 'domain_namespace',
 'domain_project',
 'domain_service_template',
 'domain_virtual_DNS',
 'floating_ip_pool_floating_ip',
 'floating_ip_project',
 'floating_ip_virtual_machine_interface',
 'gen',
 'global_system_config_bgp_router',
 'global_system_config_global_vrouter_config',
 'global_system_config_physical_router',
 'global_system_config_virtual_router',
 'instance_bgp_router',
 'instance_ip_virtual_machine_interface',
 'instance_ip_virtual_network',
 'json',
 'loadbalancer_pool_loadbalancer_healthmonitor',
 'loadbalancer_pool_loadbalancer_member',
 'loadbalancer_pool_service_instance',
 'loadbalancer_pool_virtual_machine_interface',
 'logging',
 'logical_interface_virtual_machine_interface',
 'logical_router_gateway',
 'logical_router_interface',
 'logical_router_service_instance',
 'logical_router_target',
 'mac_address',
 'main',
 'network_ipam_virtual_DNS',
 'pformat',
 'physical_interface_logical_interface',
 'physical_router_bgp_router',
 'physical_router_logical_interface',
 'physical_router_physical_interface',
 'physical_router_virtual_network',
 'physical_router_virtual_router',
 'platform',
 'pprint',
 'project_floating_ip_pool',
 'project_interface_route_table',
 'project_loadbalancer_healthmonitor',
 'project_loadbalancer_pool',
 'project_logical_router',
 'project_network_ipam',
 'project_network_policy',
 'project_route_table',
 'project_security_group',
 'project_service_instance',
 'project_virtual_ip',
 'project_virtual_machine_interface',
 'project_virtual_network',
 'provider_attachment_virtual_router',
 'requests',
 'rest',
 'security_group_access_control_list',
 'service_instance_service_template',
 'state',
 'str_to_class',
 'subnet_virtual_machine_interface',
 'sys',
 'time',
 'virtual_DNS_virtual_DNS_record',
 'virtual_ip_loadbalancer_pool',
 'virtual_ip_virtual_machine_interface',
 'virtual_machine_interface_route_table',
 'virtual_machine_interface_security_group',
 'virtual_machine_interface_sub_interface',
 'virtual_machine_interface_virtual_machine',
 'virtual_machine_interface_virtual_network',
 'virtual_machine_service_instance',
 'virtual_machine_virtual_machine_interface',
 'virtual_network_access_control_list',
 'virtual_network_floating_ip_pool',
 'virtual_network_route_table',
 'virtual_network_routing_instance',
 'virtual_router_bgp_router',
 'virtual_router_virtual_machine',
 'vnc_api']

OpenStack OpenContrail Create External Public Network via CLI


1)
Create External Network
$ neutron net-create public1 --router:external=True


Create External shared network
$ neutron net-create public2 --router:external=True --shared


2)
Create Subnet
$neutron subnet-create public1 11.1.1.1/24














OpenContrail VNC API - List of Properties of Project object

['__class__',
 '__delattr__',
 '__dict__',
 '__doc__',
 '__format__',
 '__getattribute__',
 '__hash__',
 '__init__',
 '__module__',
 '__new__',
 '__reduce__',
 '__reduce_ex__',
 '__repr__',
 '__setattr__',
 '__sizeof__',
 '__str__',
 '__subclasshook__',
 '__weakref__',
 '_display_name',
 '_id_perms',
 '_pending_field_updates',
 '_pending_ref_updates',
 '_quota',
 '_serialize_field_to_json',
 '_server_conn',
 '_type',
 '_uuid',
 'add_floating_ip_pool',
 'add_namespace',
 'backref_fields',
 'children_fields',
 'clear_pending_updates',
 'create_uri',
 'del_floating_ip_pool',
 'del_namespace',
 'display_name',
 'dump',
 'fq_name',
 'from_dict',
 'get_display_name',
 'get_domain_back_refs',
 'get_floating_ip_back_refs',
 'get_floating_ip_pool_refs',
 'get_fq_name',
 'get_fq_name_str',
 'get_id_perms',
 'get_interface_route_tables',
 'get_loadbalancer_healthmonitors',
 'get_loadbalancer_pools',
 'get_logical_routers',
 'get_namespace_refs',
 'get_network_ipams',
 'get_network_policys',

 'get_parent_fq_name',
 'get_parent_fq_name_str',
 'get_pending_updates',
 'get_quota',
 'get_ref_updates',
 'get_route_tables',
 'get_security_groups',
 'get_service_instances',
 'get_type',
 'get_uuid',
 'get_virtual_ips',
 'get_virtual_machine_interfaces',
 'get_virtual_networks',

 'id_perms',
 'name',
 'parent_name',
 'parent_type',
 'parent_uuid',
 'prop_fields',
 'quota',
 'ref_fields',
 'resource_uri_base',
 'serialize_to_json',
 'set_display_name',
 'set_floating_ip_pool',
 'set_floating_ip_pool_list',
 'set_id_perms',
 'set_namespace',
 'set_namespace_list',
 'set_quota',
 'set_server_conn',
 'set_uuid',
 'uuid']

List of OpenContrail VNC API Client Object's Properties

List of Contrail VNC API Python Client object's (vnc_api) Methods 

['POST_FOR_LIST_THRESHOLD',
 '_AUTHN_SUPPORTED_TYPES',
 '_DEFAULT_AUTHN_HEADERS',
 '_DEFAULT_AUTHN_PASSWORD',
 '_DEFAULT_AUTHN_PORT',
 '_DEFAULT_AUTHN_PROTOCOL',
 '_DEFAULT_AUTHN_SERVER',
 '_DEFAULT_AUTHN_TENANT',
 '_DEFAULT_AUTHN_TYPE',
 '_DEFAULT_AUTHN_URL',
 '_DEFAULT_AUTHN_USER',
 '_DEFAULT_BASE_URL',
 '_DEFAULT_HEADERS',
 '_DEFAULT_WEB_PORT',
 '_DEFAULT_WEB_SERVER',
 '__abstractmethods__',
 '__class__',
 '__delattr__',
 '__dict__',
 '__doc__',
 '__format__',
 '__getattribute__',
 '__hash__',
 '__init__',
 '__metaclass__',
 '__module__',
 '__new__',
 '__reduce__',
 '__reduce_ex__',
 '__repr__',
 '__setattr__',
 '__sizeof__',
 '__str__',
 '__subclasshook__',
 '__weakref__',
 '_abc_cache',
 '_abc_negative_cache',
 '_abc_negative_cache_version',
 '_abc_registry',
 '_action_uri',
 '_api_server_session',
 '_auth_token_input',
 '_authenticate',
 '_authn_body',
 '_authn_port',
 '_authn_protocol',
 '_authn_server',
 '_authn_type',
 '_authn_url',
 '_base_url',
 '_cfg_root_url',
 '_create_api_server_session',
 '_find_url',
 '_headers',
 '_http_delete',
 '_http_get',
 '_http_post',
 '_http_put',
 '_obj_serializer',
 '_obj_serializer_all',
 '_obj_serializer_diff',
 '_parse_homepage',
 '_password',
 '_read_args_to_id',
 '_request',
 '_request_server',
 '_srv_root_url',
 '_tenant_name',
 '_type_to_class',
 '_user_info',
 '_username',
 '_web_host',
 '_web_port',
 'access_control_list_create',
 'access_control_list_delete',

 'access_control_list_read',
 'access_control_list_update',
 'access_control_lists_list',
 'bgp_router_create',
 'bgp_router_delete',

 'bgp_router_read',
 'bgp_router_update',
 'bgp_routers_list',
 'config_root_create',
 'config_root_delete',

 'config_root_read',
 'config_root_update',
 'config_roots_list',
 'customer_attachment_create',
 'customer_attachment_delete',
 'customer_attachment_read',
 'customer_attachment_update',
 'customer_attachments_list',
 'domain_create',
 'domain_delete',

 'domain_read',
 'domain_update',
 'domains_list',
 'fetch_records',
 'floating_ip_create',
 'floating_ip_delete',
 'floating_ip_pool_create',
 'floating_ip_pool_delete',

 'floating_ip_pool_read',
 'floating_ip_pool_update',
 'floating_ip_pools_list',
 'floating_ip_read',
 'floating_ip_update',
 'floating_ips_list',
 'fq_name_to_id',
 'get_auth_token',
 'get_default_access_control_list_id',
 'get_default_bgp_router_id',
 'get_default_config_root_id',
 'get_default_customer_attachment_id',
 'get_default_domain_id',
 'get_default_floating_ip_id',
 'get_default_floating_ip_pool_id',
 'get_default_global_system_config_id',
 'get_default_global_vrouter_config_id',
 'get_default_instance_ip_id',
 'get_default_interface_route_table_id',
 'get_default_loadbalancer_healthmonitor_id',
 'get_default_loadbalancer_member_id',
 'get_default_loadbalancer_pool_id',
 'get_default_logical_interface_id',
 'get_default_logical_router_id',
 'get_default_namespace_id',
 'get_default_network_ipam_id',
 'get_default_network_policy_id',
 'get_default_physical_interface_id',
 'get_default_physical_router_id',
 'get_default_project_id',
 'get_default_provider_attachment_id',
 'get_default_route_table_id',
 'get_default_route_target_id',
 'get_default_routing_instance_id',
 'get_default_security_group_id',
 'get_default_service_instance_id',
 'get_default_service_template_id',
 'get_default_subnet_id',
 'get_default_virtual_DNS_id',
 'get_default_virtual_DNS_record_id',
 'get_default_virtual_ip_id',
 'get_default_virtual_machine_id',
 'get_default_virtual_machine_interface_id',
 'get_default_virtual_network_id',
 'get_default_virtual_router_id',
 'global_system_config_create',
 'global_system_config_delete',

 'global_system_config_read',
 'global_system_config_update',
 'global_system_configs_list',
 'global_vrouter_config_create',
 'global_vrouter_config_delete',

 'global_vrouter_config_read',
 'global_vrouter_config_update',
 'global_vrouter_configs_list',
 'hostname',
 'id_to_fq_name',
 'id_to_fq_name_type',
 'ifmap_to_id',
 'instance_ip_create',
 'instance_ip_delete',

 'instance_ip_read',
 'instance_ip_update',
 'instance_ips_list',
 'interface_route_table_create',
 'interface_route_table_delete',

 'interface_route_table_read',
 'interface_route_table_update',
 'interface_route_tables_list',
 'kv_delete',
 'kv_retrieve',
 'kv_store',
 'loadbalancer_healthmonitor_create',
 'loadbalancer_healthmonitor_delete',

 'loadbalancer_healthmonitor_read',
 'loadbalancer_healthmonitor_update',
 'loadbalancer_healthmonitors_list',
 'loadbalancer_member_create',
 'loadbalancer_member_delete',

 'loadbalancer_member_read',
 'loadbalancer_member_update',
 'loadbalancer_members_list',
 'loadbalancer_pool_create',
 'loadbalancer_pool_delete',

 'loadbalancer_pool_read',
 'loadbalancer_pool_update',
 'loadbalancer_pools_list',
 'logical_interface_create',
 'logical_interface_delete',

 'logical_interface_read',
 'logical_interface_update',
 'logical_interfaces_list',
 'logical_router_create',
 'logical_router_delete',
 'logical_router_read',
 'logical_router_update',
 'logical_routers_list',
 'namespace_create',
 'namespace_delete',
 'namespace_read',
 'namespace_update',
 'namespaces_list',
 'network_ipam_create',
 'network_ipam_delete',

 'network_ipam_read',
 'network_ipam_update',
 'network_ipams_list',
 'network_policy_create',
 'network_policy_delete',

 'network_policy_read',
 'network_policy_update',
 'network_policys_list',
 'obj_to_dict',
 'obj_to_id',
 'obj_to_json',
 'physical_interface_create',
 'physical_interface_delete',
 'physical_interface_read',
 'physical_interface_update',
 'physical_interfaces_list',
 'physical_router_create',
 'physical_router_delete',
 'physical_router_read',
 'physical_router_update',
 'physical_routers_list',
 'project_create',
 'project_delete',
 'project_read',
 'project_update',
 'projects_list',

 'prop_name_to_xsd_type',
 'provider_attachment_create',
 'provider_attachment_delete',
 'provider_attachment_read',
 'provider_attachment_update',
 'provider_attachments_list',
 'ref_update',
 'resource_list',
 'restore_config',
 'route_table_create',
 'route_table_delete',

 'route_table_read',
 'route_table_update',
 'route_tables_list',
 'route_target_create',
 'route_target_delete',

 'route_target_read',
 'route_target_update',
 'route_targets_list',
 'routing_instance_create',
 'routing_instance_delete',

 'routing_instance_read',
 'routing_instance_update',
 'routing_instances_list',
 'security_group_create',
 'security_group_delete',

 'security_group_read',
 'security_group_update',
 'security_groups_list',
 'service_instance_create',
 'service_instance_delete',

 'service_instance_read',
 'service_instance_update',
 'service_instances_list',
 'service_template_create',
 'service_template_delete',
 'service_template_read',
 'service_template_update',
 'service_templates_list',
 'subnet_create',
 'subnet_delete',

 'subnet_read',
 'subnet_update',
 'subnets_list',
 'virtual_DNS_create',
 'virtual_DNS_delete',

 'virtual_DNS_read',
 'virtual_DNS_record_create',
 'virtual_DNS_record_delete',
 'virtual_DNS_record_read',
 'virtual_DNS_record_update',
 'virtual_DNS_records_list',
 'virtual_DNS_update',
 'virtual_DNSs_list',
 'virtual_ip_create',
 'virtual_ip_delete',

 'virtual_ip_read',
 'virtual_ip_update',
 'virtual_ips_list',
 'virtual_machine_create',
 'virtual_machine_delete',

 'virtual_machine_interface_create',
 'virtual_machine_interface_delete',
 'virtual_machine_interface_read',
 'virtual_machine_interface_update',
 'virtual_machine_interfaces_list',
 'virtual_machine_read',
 'virtual_machine_update',
 'virtual_machines_list',
 'virtual_network_create',
 'virtual_network_delete',

 'virtual_network_ip_alloc',
 'virtual_network_ip_free',
 'virtual_network_read',
 'virtual_network_subnet_ip_count',
 'virtual_network_update',
 'virtual_networks_list',
 'virtual_router_create',
 'virtual_router_delete',

 'virtual_router_read',
 'virtual_router_update',
 'virtual_routers_list']
>>>