<commit_before>========
Usage
========

Use from OpenStack CLI
------------------------

Example commands to use by the admin to create a BGPVPN resource:

.. code-block:: console

	openstack bgpvpn create --route-target 64512:1 --project b954279e1e064dc9b8264474cb3e6bd2
	openstack bgpvpn list
	openstack bgpvpn set <bgpvpn-uuid> --name myBGPVPN

Example commands to use by the tenant owning the BGPVPN to associate a Network to it:

.. code-block:: console

	openstack bgpvpn network association create myBGPVPN <net-uuid>
	# returns <net-assoc-uuid>
	openstack bgpvpn network association list myBGPVPN
	openstack bgpvpn network association show <net-assoc-uuid> myBGPVPN

	openstack bgpvpn network association delete <net-assoc-uuid> myBGPVPN

    For more details about BGPVPN CLI, follow this page :

    <https://docs.openstack.org/python-neutronclient/latest/cli/osc/v2/networking-bgpvpn.html>

Use from Horizon
----------------

See :doc:`horizon`.

Use from Heat
-------------

See :doc:`heat`.

Use from Python
---------------

The BGPVPN API is dynamically loaded by Neutron. There is the same behaviour with the Python lib "neutronclient" use.
This allows to programmatically handle BGPVPN resources as well as Network association resources and Router association resources.

Methods
~~~~~~~

BGPVPN Resources
^^^^^^^^^^^^^^^^
<commit_msg>doc: formatting fix for OSC doc link<commit_after>========
Usage
========

Use from OpenStack CLI
------------------------

Example commands to use by the admin to create a BGPVPN resource:

.. code-block:: console

	openstack bgpvpn create --route-target 64512:1 --project b954279e1e064dc9b8264474cb3e6bd2
	openstack bgpvpn list
	openstack bgpvpn set <bgpvpn-uuid> --name myBGPVPN

Example commands to use by the tenant owning the BGPVPN to associate a Network to it:

.. code-block:: console

	openstack bgpvpn network association create myBGPVPN <net-uuid>
	# returns <net-assoc-uuid>
	openstack bgpvpn network association list myBGPVPN
	openstack bgpvpn network association show <net-assoc-uuid> myBGPVPN

	openstack bgpvpn network association delete <net-assoc-uuid> myBGPVPN

There are more details in the `OpenStack Client (OSC) documentation
for BGPVPN <https://docs.openstack.org/python-neutronclient/latest/cli/osc/v2/networking-bgpvpn.html>`_.

Use from Horizon
----------------

See :doc:`horizon`.

Use from Heat
-------------

See :doc:`heat`.

Use from Python
---------------

The BGPVPN API is dynamically loaded by Neutron. There is the same behaviour with the Python lib "neutronclient" use.
This allows to programmatically handle BGPVPN resources as well as Network association resources and Router association resources.

Methods
~~~~~~~

BGPVPN Resources
^^^^^^^^^^^^^^^^

{'fraction_non_alphanumeric': 0.13411078717201166, 'fraction_numerical': 0.02040816326530612, 'mean_word_length': 3.6134453781512605, 'pattern_counts': {'":': 0, '<': 15, '<?xml version=': 0, '>': 15, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2940837', 'n_tokens_mistral': 892, 'n_tokens_neox': 798, 'n_words': 299}