Server IP : 103.119.228.120 / Your IP : 3.15.239.50 Web Server : Apache System : Linux v8.techscape8.com 3.10.0-1160.119.1.el7.tuxcare.els2.x86_64 #1 SMP Mon Jul 15 12:09:18 UTC 2024 x86_64 User : nobody ( 99) PHP Version : 5.6.40 Disable Function : shell_exec,symlink,system,exec,proc_get_status,proc_nice,proc_terminate,define_syslog_variables,syslog,openlog,closelog,escapeshellcmd,passthru,ocinum cols,ini_alter,leak,listen,chgrp,apache_note,apache_setenv,debugger_on,debugger_off,ftp_exec,dl,dll,myshellexec,proc_open,socket_bind,proc_close,escapeshellarg,parse_ini_filepopen,fpassthru,exec,passthru,escapeshellarg,escapeshellcmd,proc_close,proc_open,ini_alter,popen,show_source,proc_nice,proc_terminate,proc_get_status,proc_close,pfsockopen,leak,apache_child_terminate,posix_kill,posix_mkfifo,posix_setpgid,posix_setsid,posix_setuid,dl,symlink,shell_exec,system,dl,passthru,escapeshellarg,escapeshellcmd,myshellexec,c99_buff_prepare,c99_sess_put,fpassthru,getdisfunc,fx29exec,fx29exec2,is_windows,disp_freespace,fx29sh_getupdate,fx29_buff_prepare,fx29_sess_put,fx29shexit,fx29fsearch,fx29ftpbrutecheck,fx29sh_tools,fx29sh_about,milw0rm,imagez,sh_name,myshellexec,checkproxyhost,dosyayicek,c99_buff_prepare,c99_sess_put,c99getsource,c99sh_getupdate,c99fsearch,c99shexit,view_perms,posix_getpwuid,posix_getgrgid,posix_kill,parse_perms,parsesort,view_perms_color,set_encoder_input,ls_setcheckboxall,ls_reverse_all,rsg_read,rsg_glob,selfURL,dispsecinfo,unix2DosTime,addFile,system,get_users,view_size,DirFiles,DirFilesWide,DirPrintHTMLHeaders,GetFilesTotal,GetTitles,GetTimeTotal,GetMatchesCount,GetFileMatchesCount,GetResultFiles,fs_copy_dir,fs_copy_obj,fs_move_dir,fs_move_obj,fs_rmdir,SearchText,getmicrotime MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /lib/mysqlsh/lib/python3.9/site-packages/oci/vn_monitoring/models/ |
Upload File : |
# coding: utf-8 # Copyright (c) 2016, 2024, Oracle and/or its affiliates. All rights reserved. # This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. # NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20160918 from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 from oci.decorators import init_model_state_from_kwargs @init_model_state_from_kwargs class CrossConnectMapping(object): """ For use with Oracle Cloud Infrastructure FastConnect. Each :class:`VirtualCircuit` runs on one or more cross-connects or cross-connect groups. A `CrossConnectMapping` contains the properties for an individual cross-connect or cross-connect group associated with a given virtual circuit. The mapping includes information about the cross-connect or cross-connect group, the VLAN, and the BGP peering session. If you're a customer who is colocated with Oracle, that means you own both the virtual circuit and the physical connection it runs on (cross-connect or cross-connect group), so you specify all the information in the mapping. There's one exception: for a public virtual circuit, Oracle specifies the BGP IPv4 addresses. If you're a provider, then you own the physical connection that the customer's virtual circuit runs on, so you contribute information about the cross-connect or cross-connect group and VLAN. Who specifies the BGP peering information in the case of customer connection via provider? If the BGP session goes from Oracle to the provider's edge router, then the provider also specifies the BGP peering information. If the BGP session instead goes from Oracle to the customer's edge router, then the customer specifies the BGP peering information. There's one exception: for a public virtual circuit, Oracle specifies the BGP IPv4 addresses. Every `CrossConnectMapping` must have BGP IPv4 peering addresses. BGP IPv6 peering addresses are optional. If BGP IPv6 addresses are provided, the customer can exchange IPv6 routes with Oracle. """ def __init__(self, **kwargs): """ Initializes a new CrossConnectMapping object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param bgp_md5_auth_key: The value to assign to the bgp_md5_auth_key property of this CrossConnectMapping. :type bgp_md5_auth_key: str :param cross_connect_or_cross_connect_group_id: The value to assign to the cross_connect_or_cross_connect_group_id property of this CrossConnectMapping. :type cross_connect_or_cross_connect_group_id: str :param customer_bgp_peering_ip: The value to assign to the customer_bgp_peering_ip property of this CrossConnectMapping. :type customer_bgp_peering_ip: str :param oracle_bgp_peering_ip: The value to assign to the oracle_bgp_peering_ip property of this CrossConnectMapping. :type oracle_bgp_peering_ip: str :param customer_bgp_peering_ipv6: The value to assign to the customer_bgp_peering_ipv6 property of this CrossConnectMapping. :type customer_bgp_peering_ipv6: str :param oracle_bgp_peering_ipv6: The value to assign to the oracle_bgp_peering_ipv6 property of this CrossConnectMapping. :type oracle_bgp_peering_ipv6: str :param vlan: The value to assign to the vlan property of this CrossConnectMapping. :type vlan: int """ self.swagger_types = { 'bgp_md5_auth_key': 'str', 'cross_connect_or_cross_connect_group_id': 'str', 'customer_bgp_peering_ip': 'str', 'oracle_bgp_peering_ip': 'str', 'customer_bgp_peering_ipv6': 'str', 'oracle_bgp_peering_ipv6': 'str', 'vlan': 'int' } self.attribute_map = { 'bgp_md5_auth_key': 'bgpMd5AuthKey', 'cross_connect_or_cross_connect_group_id': 'crossConnectOrCrossConnectGroupId', 'customer_bgp_peering_ip': 'customerBgpPeeringIp', 'oracle_bgp_peering_ip': 'oracleBgpPeeringIp', 'customer_bgp_peering_ipv6': 'customerBgpPeeringIpv6', 'oracle_bgp_peering_ipv6': 'oracleBgpPeeringIpv6', 'vlan': 'vlan' } self._bgp_md5_auth_key = None self._cross_connect_or_cross_connect_group_id = None self._customer_bgp_peering_ip = None self._oracle_bgp_peering_ip = None self._customer_bgp_peering_ipv6 = None self._oracle_bgp_peering_ipv6 = None self._vlan = None @property def bgp_md5_auth_key(self): """ Gets the bgp_md5_auth_key of this CrossConnectMapping. The key for BGP MD5 authentication. Only applicable if your system requires MD5 authentication. If empty or not set (null), that means you don't use BGP MD5 authentication. :return: The bgp_md5_auth_key of this CrossConnectMapping. :rtype: str """ return self._bgp_md5_auth_key @bgp_md5_auth_key.setter def bgp_md5_auth_key(self, bgp_md5_auth_key): """ Sets the bgp_md5_auth_key of this CrossConnectMapping. The key for BGP MD5 authentication. Only applicable if your system requires MD5 authentication. If empty or not set (null), that means you don't use BGP MD5 authentication. :param bgp_md5_auth_key: The bgp_md5_auth_key of this CrossConnectMapping. :type: str """ self._bgp_md5_auth_key = bgp_md5_auth_key @property def cross_connect_or_cross_connect_group_id(self): """ Gets the cross_connect_or_cross_connect_group_id of this CrossConnectMapping. The `OCID`__ of the cross-connect or cross-connect group for this mapping. Specified by the owner of the cross-connect or cross-connect group (the customer if the customer is colocated with Oracle, or the provider if the customer is connecting via provider). __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm :return: The cross_connect_or_cross_connect_group_id of this CrossConnectMapping. :rtype: str """ return self._cross_connect_or_cross_connect_group_id @cross_connect_or_cross_connect_group_id.setter def cross_connect_or_cross_connect_group_id(self, cross_connect_or_cross_connect_group_id): """ Sets the cross_connect_or_cross_connect_group_id of this CrossConnectMapping. The `OCID`__ of the cross-connect or cross-connect group for this mapping. Specified by the owner of the cross-connect or cross-connect group (the customer if the customer is colocated with Oracle, or the provider if the customer is connecting via provider). __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm :param cross_connect_or_cross_connect_group_id: The cross_connect_or_cross_connect_group_id of this CrossConnectMapping. :type: str """ self._cross_connect_or_cross_connect_group_id = cross_connect_or_cross_connect_group_id @property def customer_bgp_peering_ip(self): """ Gets the customer_bgp_peering_ip of this CrossConnectMapping. The BGP IPv4 address for the router on the other end of the BGP session from Oracle. Specified by the owner of that router. If the session goes from Oracle to a customer, this is the BGP IPv4 address of the customer's edge router. If the session goes from Oracle to a provider, this is the BGP IPv4 address of the provider's edge router. Must use a subnet mask from /28 to /31. There's one exception: for a public virtual circuit, Oracle specifies the BGP IPv4 addresses. Example: `10.0.0.18/31` :return: The customer_bgp_peering_ip of this CrossConnectMapping. :rtype: str """ return self._customer_bgp_peering_ip @customer_bgp_peering_ip.setter def customer_bgp_peering_ip(self, customer_bgp_peering_ip): """ Sets the customer_bgp_peering_ip of this CrossConnectMapping. The BGP IPv4 address for the router on the other end of the BGP session from Oracle. Specified by the owner of that router. If the session goes from Oracle to a customer, this is the BGP IPv4 address of the customer's edge router. If the session goes from Oracle to a provider, this is the BGP IPv4 address of the provider's edge router. Must use a subnet mask from /28 to /31. There's one exception: for a public virtual circuit, Oracle specifies the BGP IPv4 addresses. Example: `10.0.0.18/31` :param customer_bgp_peering_ip: The customer_bgp_peering_ip of this CrossConnectMapping. :type: str """ self._customer_bgp_peering_ip = customer_bgp_peering_ip @property def oracle_bgp_peering_ip(self): """ Gets the oracle_bgp_peering_ip of this CrossConnectMapping. The IPv4 address for Oracle's end of the BGP session. Must use a subnet mask from /28 to /31. If the session goes from Oracle to a customer's edge router, the customer specifies this information. If the session goes from Oracle to a provider's edge router, the provider specifies this. There's one exception: for a public virtual circuit, Oracle specifies the BGP IPv4 addresses. Example: `10.0.0.19/31` :return: The oracle_bgp_peering_ip of this CrossConnectMapping. :rtype: str """ return self._oracle_bgp_peering_ip @oracle_bgp_peering_ip.setter def oracle_bgp_peering_ip(self, oracle_bgp_peering_ip): """ Sets the oracle_bgp_peering_ip of this CrossConnectMapping. The IPv4 address for Oracle's end of the BGP session. Must use a subnet mask from /28 to /31. If the session goes from Oracle to a customer's edge router, the customer specifies this information. If the session goes from Oracle to a provider's edge router, the provider specifies this. There's one exception: for a public virtual circuit, Oracle specifies the BGP IPv4 addresses. Example: `10.0.0.19/31` :param oracle_bgp_peering_ip: The oracle_bgp_peering_ip of this CrossConnectMapping. :type: str """ self._oracle_bgp_peering_ip = oracle_bgp_peering_ip @property def customer_bgp_peering_ipv6(self): """ Gets the customer_bgp_peering_ipv6 of this CrossConnectMapping. The BGP IPv6 address for the router on the other end of the BGP session from Oracle. Specified by the owner of that router. If the session goes from Oracle to a customer, this is the BGP IPv6 address of the customer's edge router. If the session goes from Oracle to a provider, this is the BGP IPv6 address of the provider's edge router. Only subnet masks from /64 up to /127 are allowed. There's one exception: for a public virtual circuit, Oracle specifies the BGP IPv6 addresses. IPv6 addressing is supported for all commercial and government regions. See `IPv6 Addresses`__. Example: `2001:db8::1/64` __ https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/ipv6.htm :return: The customer_bgp_peering_ipv6 of this CrossConnectMapping. :rtype: str """ return self._customer_bgp_peering_ipv6 @customer_bgp_peering_ipv6.setter def customer_bgp_peering_ipv6(self, customer_bgp_peering_ipv6): """ Sets the customer_bgp_peering_ipv6 of this CrossConnectMapping. The BGP IPv6 address for the router on the other end of the BGP session from Oracle. Specified by the owner of that router. If the session goes from Oracle to a customer, this is the BGP IPv6 address of the customer's edge router. If the session goes from Oracle to a provider, this is the BGP IPv6 address of the provider's edge router. Only subnet masks from /64 up to /127 are allowed. There's one exception: for a public virtual circuit, Oracle specifies the BGP IPv6 addresses. IPv6 addressing is supported for all commercial and government regions. See `IPv6 Addresses`__. Example: `2001:db8::1/64` __ https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/ipv6.htm :param customer_bgp_peering_ipv6: The customer_bgp_peering_ipv6 of this CrossConnectMapping. :type: str """ self._customer_bgp_peering_ipv6 = customer_bgp_peering_ipv6 @property def oracle_bgp_peering_ipv6(self): """ Gets the oracle_bgp_peering_ipv6 of this CrossConnectMapping. The IPv6 address for Oracle's end of the BGP session. Only subnet masks from /64 up to /127 are allowed. If the session goes from Oracle to a customer's edge router, the customer specifies this information. If the session goes from Oracle to a provider's edge router, the provider specifies this. There's one exception: for a public virtual circuit, Oracle specifies the BGP IPv6 addresses. Note that IPv6 addressing is currently supported only in certain regions. See `IPv6 Addresses`__. Example: `2001:db8::2/64` __ https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/ipv6.htm :return: The oracle_bgp_peering_ipv6 of this CrossConnectMapping. :rtype: str """ return self._oracle_bgp_peering_ipv6 @oracle_bgp_peering_ipv6.setter def oracle_bgp_peering_ipv6(self, oracle_bgp_peering_ipv6): """ Sets the oracle_bgp_peering_ipv6 of this CrossConnectMapping. The IPv6 address for Oracle's end of the BGP session. Only subnet masks from /64 up to /127 are allowed. If the session goes from Oracle to a customer's edge router, the customer specifies this information. If the session goes from Oracle to a provider's edge router, the provider specifies this. There's one exception: for a public virtual circuit, Oracle specifies the BGP IPv6 addresses. Note that IPv6 addressing is currently supported only in certain regions. See `IPv6 Addresses`__. Example: `2001:db8::2/64` __ https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/ipv6.htm :param oracle_bgp_peering_ipv6: The oracle_bgp_peering_ipv6 of this CrossConnectMapping. :type: str """ self._oracle_bgp_peering_ipv6 = oracle_bgp_peering_ipv6 @property def vlan(self): """ Gets the vlan of this CrossConnectMapping. The number of the specific VLAN (on the cross-connect or cross-connect group) that is assigned to this virtual circuit. Specified by the owner of the cross-connect or cross-connect group (the customer if the customer is colocated with Oracle, or the provider if the customer is connecting via provider). Example: `200` :return: The vlan of this CrossConnectMapping. :rtype: int """ return self._vlan @vlan.setter def vlan(self, vlan): """ Sets the vlan of this CrossConnectMapping. The number of the specific VLAN (on the cross-connect or cross-connect group) that is assigned to this virtual circuit. Specified by the owner of the cross-connect or cross-connect group (the customer if the customer is colocated with Oracle, or the provider if the customer is connecting via provider). Example: `200` :param vlan: The vlan of this CrossConnectMapping. :type: int """ self._vlan = vlan def __repr__(self): return formatted_flat_dict(self) def __eq__(self, other): if other is None: return False return self.__dict__ == other.__dict__ def __ne__(self, other): return not self == other